The Red Matrix
 All Classes Namespaces Files Functions Variables Pages
dba_mysql Class Reference
Inheritance diagram for dba_mysql:
dba_driver

Public Member Functions

 connect ($server, $port, $user, $pass, $db)
 
 q ($sql)
 
 escape ($str)
 
 close ()
 
- Public Member Functions inherited from dba_driver
 connect ($server, $port, $user, $pass, $db)
 Connect to the database. More...
 
 q ($sql)
 Perform a DB query with the SQL statement $sql. More...
 
 escape ($str)
 Escape a string before being passed to a DB query. More...
 
 close ()
 Close the database connection. More...
 
 __construct ($server, $port, $user, $pass, $db, $install=false)
 
 get_null_date ()
 
 get_install_script ()
 
 utcnow ()
 
 install ($server, $user, $pass, $db)
 
 dbg ($dbg)
 Sets the database driver's debugging state. More...
 
 __destruct ()
 
 quote_interval ($txt)
 
 optimize_table ($table)
 
 concat ($fld, $sep)
 
 escapebin ($str)
 
 unescapebin ($str)
 

Additional Inherited Members

- Public Attributes inherited from dba_driver
const INSTALL_SCRIPT ='install/schema_mysql.sql'
 
const NULL_DATE = '0000-00-00 00:00:00'
 
const UTC_NOW = 'UTC_TIMESTAMP()'
 
 $connected = false
 
 $error = false
 
- Protected Attributes inherited from dba_driver
 $debug = 0
 
 $db
 

Member Function Documentation

dba_mysql::close ( )
dba_mysql::connect (   $server,
  $port,
  $user,
  $pass,
  $db 
)
dba_mysql::escape (   $str)
dba_mysql::q (   $sql)

The documentation for this class was generated from the following file: