Class xPDODriver_mysql

Description

Provides mysql driver abstraction for an xPDO instance.

This is baseline metadata and methods used throughout the framework. xPDODriver class implementations are specific to a PDO driver and this instance is implemented for mysql.

Located in /xpdo/om/mysql/xpdodriver.class.php (line 43)

xPDODriver
   |
   --xPDODriver_mysql
Variable Summary
Method Summary
 xPDODriver_mysql __construct ( &$xpdo, object $xpdo)
Variables
mixed $_currentDates = array (
'CURDATE()',
'CURRENT_DATE',
'CURRENT_DATE()'
)
(line 54)
  • access: public

Redefinition of:
xPDODriver::$_currentDates
An array of DB constants/functions that represent date values.
mixed $_currentTimes = array (
'CURTIME()',
'CURRENT_TIME',
'CURRENT_TIME()'
)
(line 59)
  • access: public

Redefinition of:
xPDODriver::$_currentTimes
An array of DB constants/functions that represent time values.
mixed $_currentTimestamps = array (
'CURRENT_TIMESTAMP',
'CURRENT_TIMESTAMP()',
'NOW()',
'LOCALTIME',
'LOCALTIME()',
'LOCALTIMESTAMP',
'LOCALTIMESTAMP()',
'SYSDATE()'
)
(line 44)
  • access: public

Redefinition of:
xPDODriver::$_currentTimestamps
An array of DB constants/functions that represent timestamp values.

Inherited Variables

Inherited from xPDODriver

xPDODriver::$dbtypes
xPDODriver::$xpdo
Methods
Constructor __construct (line 70)

Get a mysql xPDODriver instance.

xPDODriver_mysql __construct ( &$xpdo, object $xpdo)
  • object $xpdo: A reference to a specific xPDO instance.
  • &$xpdo

Redefinition of:
xPDODriver::__construct()
Get an xPDODriver instance.

Inherited Methods

Inherited From xPDODriver

 xPDODriver::__construct()
 xPDODriver::getPhpType()

Documentation generated on Fri, 17 Jun 2011 10:04:06 -0600 by phpDocumentor 1.4.3