rcube_mdb2Database independent query interface
This is a wrapper for the PEAR::MDB2 class
Located in /rcube_mdb2.php (line 36)
Constructor __construct (line 59)
Object constructor
affected_rows (line 332)
Get number of affected rows for the last query
array2list (line 552)
Return list of elements for use with SQL's IN clause
concat (line 628)
Abstract SQL statement for value concatenation
db_connect (line 123)
Connect to appropiate database depending on the operation
debug_handler (line 794)
Debug handler for the MDB2
decode (line 682)
Decodes encoded UTF-8 string/object/array (recursive)
encode (line 658)
Encodes non-UTF-8 characters in string/array/object (recursive)
escapeSimple (line 516)
Escapes a string
fetch_array (line 392)
Get an index array for one row If no query handle is specified, the last query will be taken as reference
fetch_assoc (line 377)
Get an associative array for one row If no query handle is specified, the last query will be taken as reference
fromunixtime (line 597)
Return SQL statement to convert from a unix timestamp
ilike (line 611)
Return SQL statement for case insensitive LIKE
insert_id (line 349)
Get last inserted record ID For Postgres databases, a sequence name is required
is_connected (line 186)
Connection state checker
is_error (line 174)
Getter for error state
is_replicated (line 196)
Is database replication configured?
This returns true if dsnw != dsnr
limitquery (line 233)
Execute a SQL query with limits
list_cols (line 444)
Wrapper for SHOW COLUMNS command
list_tables (line 423)
Wrapper for the SHOW TABLES command
now (line 531)
Return SQL function for current time and date
num_rows (line 313)
Get number of rows for a SQL query If no query handle is specified, the last query will be taken as reference
query (line 210)
Execute a SQL query
quote (line 463)
Formats input so it can be safely used in a query
quoteIdentifier (line 486)
Quotes a string so it can be safely used as a table or column name
quote_identifier (line 499)
Quotes a string so it can be safely used as a table or column name
set_debug (line 158)
Activate/deactivate debug mode
unixtimestamp (line 574)
Return SQL statement to convert a field value into a unix timestamp
This method is deprecated and should not be used anymore due to limitations of timestamp functions in Mysql (year 2038 problem)
Documentation generated on Tue, 04 Oct 2011 22:55:25 +0200 by phpDocumentor 1.4.3