xPDOManagerProvides 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 should include this base class in order to extend it.
Located in /om/xpdomanager.class.php (line 40)
| Class | Description |
|---|---|
xPDOManager_mysql
|
Provides MySQL data source management for an xPDO instance. |
xPDOManager_sqlite
|
Provides SQLite data source management for an xPDO instance. |
xPDOManager_sqlsrv
|
Provides sqlsrv data source management for an xPDO instance. |
boolean
createSourceContainer
([array $dsnArray = null], [string $username = null], [string $password = null], [array $containerOptions = array ()])
boolean
removeSourceContainer
([ $dsnArray = null], [string $username = null], [string $password = null], string $dsn)
xPDOGenerator
$generator
= null (line 50)
xPDOTransport
$transport
= null (line 54)
xPDO
$xpdo
= null (line 45)
Constructor __construct (line 61)
Get a xPDOManager instance.
createObjectContainer (line 96)
Creates the container for a persistent data object.
A source container is a synonym for a database table.
createSourceContainer (line 76)
Creates the physical data container represented by a data source.
getGenerator (line 111)
Gets an XML schema parser / generator for this manager instance.
getTransport (line 128)
Gets a data transport mechanism for this xPDOManager instance.
removeObjectContainer (line 104)
Drops a table, if it exists.
removeSourceContainer (line 86)
Drops a physical data container, if it exists.
Documentation generated on Mon, 27 Dec 2010 11:08:29 -0700 by phpDocumentor 1.4.3