Class xPDOManager_mysql

Description

Provides MySQL data source management for an xPDO instance.

These are utility functions that only need to be loaded under special circumstances, such as creating tables, adding indexes, altering table structures, etc. xPDOManager class implementations are specific to a database driver and this instance is implemented for MySQL.

Located in /xpdo/om/mysql/xpdomanager.class.php (line 44)

xPDOManager
   |
   --xPDOManager_mysql
Method Summary
 void createObjectContainer ( $className)
 void createSourceContainer ([ $dsnArray = null], [ $username = null], [ $password = null], [ $containerOptions = array ()])
 void removeObjectContainer ( $className)
 void removeSourceContainer ([ $dsnArray = null], [ $username = null], [ $password = null])
Variables
Methods
createObjectContainer (line 113)
  • access: public
void createObjectContainer ( $className)
  • $className

Redefinition of:
xPDOManager::createObjectContainer()
Creates the container for a persistent data object.
createSourceContainer (line 45)
  • access: public
void createSourceContainer ([ $dsnArray = null], [ $username = null], [ $password = null], [ $containerOptions = array ()])
  • $dsnArray
  • $username
  • $password
  • $containerOptions

Redefinition of:
xPDOManager::createSourceContainer()
Creates the physical data container represented by a data source.
removeObjectContainer (line 97)
  • access: public
void removeObjectContainer ( $className)
  • $className

Redefinition of:
xPDOManager::removeObjectContainer()
Drops a table, if it exists.
removeSourceContainer (line 73)
  • access: public
void removeSourceContainer ([ $dsnArray = null], [ $username = null], [ $password = null])
  • $dsnArray
  • $username
  • $password

Redefinition of:
xPDOManager::removeSourceContainer()
Drops a physical data container, if it exists.

Inherited Methods

Inherited From xPDOManager

 xPDOManager::__construct()
 xPDOManager::createObjectContainer()
 xPDOManager::createSourceContainer()
 xPDOManager::getGenerator()
 xPDOManager::getTransport()
 xPDOManager::removeObjectContainer()
 xPDOManager::removeSourceContainer()

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