Location: PHPKode > projects > SteelBot > steelbot/include/interfaces/isteelbotdb.interface.php
<?php

/**
 * ISteelBotDB interface for SteelBot
 * 
 * http://steelbot.net
 * 
 * @author N3x^0r
 * @version 2.0
 *
 * 
 */

interface ISteelBotDB {
    public static function GetDBInfo();
    
    public function Connect();
    public function Disconnect();
    
    public function CreateUser($user, $access = null);
    public function DeleteUser($user);
    public function UserExists($user);
    public function GetUserAccess($user);
    public function SetUserAccess($user, $access);
    
    public function GetCmdAccess($plugin, $command); 
    public function SetCmdAccess($plugin, $command, $newlevel);
    
    public function Flush();

}
Return current item: SteelBot