wm3DB
public class wm3DB
Constructor Summary | |
---|---|
wm3DB(mixed db_server, mixed db_user, mixed db_password, mixed db_name, mixed db_prefix) |
Method Summary | |
---|---|
static void | checkConnection(mixed server, mixed user, mixed password, mixed name) |
static void | checkDatabaseServerVersion(mixed server, mixed user, mixed password) |
void | close(void ) Close the current database connection |
void | connect(void ) Connect to the database (die if fail) |
void | |
void | |
void | countTable(mixed table, mixed where) |
void | existValue(mixed table, mixed field, mixed value, mixed id_name, mixed id_value) |
static void | |
void | existsTable(mixed table) |
void | fetch(mixed result, mixed object) |
void | fieldFlags(mixed result, mixed i) |
void | fieldLenght(mixed result, mixed i) |
void | fieldName(mixed result, mixed i) |
void | fieldType(mixed result, mixed i) |
void | |
void | |
void | |
void | getFirstRowField(mixed table, mixed field) |
void | |
void | getNextAutoIncrementID(mixed table) |
void | |
void | getRSPosition(mixed rs, mixed field, mixed id_value) |
void | listFields(mixed table) |
void | |
Resource | query(wm3DBQuery/String query) Execute a query with the current connection (die if fail) |
void | resultToArray(mixed result, mixed object) |
void | saveAllTableFields(mixed tb, mixed _F, mixed _R) |
static void | serverInformations(mixed server, mixed user, mixed password) |
void | tableName(mixed result, mixed i) |
void | totalFields(mixed result) |
void | totalRows(mixed result) |
void |
public wm3DB(mixed db_server, mixed db_user, mixed db_password, mixed db_name, mixed db_prefix)
public static void checkConnection(mixed server, mixed user, mixed password, mixed name)
public static void checkDatabaseServerVersion(mixed server, mixed user, mixed password)
public void close(void )
Close the current database connection
public void connect(void )
Connect to the database (die if fail)
public void countDBTables()
public void countDBUsedSpace()
public void countTable(mixed table, mixed where)
public void existValue(mixed table, mixed field, mixed value, mixed id_name, mixed id_value)
public static void existsDatabase()
public void existsTable(mixed table)
public void fetch(mixed result, mixed object)
public void fieldFlags(mixed result, mixed i)
public void fieldLenght(mixed result, mixed i)
public void fieldName(mixed result, mixed i)
public void fieldType(mixed result, mixed i)
public void getCharset()
public void getConnection()
public void getDBVersion()
public void getFirstRowField(mixed table, mixed field)
public void getLastInsertID()
public void getNextAutoIncrementID(mixed table)
public void getQueriesAffected()
public void getRSPosition(mixed rs, mixed field, mixed id_value)
public void listFields(mixed table)
public void listTables()
public Resource query(wm3DBQuery/String query)
Execute a query with the current connection (die if fail)
public void resultToArray(mixed result, mixed object)
public void saveAllTableFields(mixed tb, mixed _F, mixed _R)
public static void serverInformations(mixed server, mixed user, mixed password)
public void tableName(mixed result, mixed i)
public void totalFields(mixed result)
public void totalRows(mixed result)
public void useCharset()