[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
\defgroup PDb Since LifeType 1.1, ADOdb is no longer part of LifeType and now all database interaction is handled via PDb, a much tighter implementation of a database abstraction layer inspired on ADOdb (PDb is like ADOdb, with the only difference that only those methods from ADOdb that were used by LifeType's code were implemented)
Poids: | 104 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 1 fois |
Nécessite: | 0 fichiers |
PDb:: (5 méthodes):
PDb()
getDriver()
getValidDrivers()
listDrivers()
NewPDbDataDictionary()
PDb() X-Ref |
Constructor of the class |
getDriver( $driver ) X-Ref |
return the right driver type param: driver the driver name. Supported types in LifeType 1.1 are: return: An object of a class extending the PDbDriverBase class that implements the requested |
getValidDrivers() X-Ref |
Returns an array containing the names of the drivers available return: An associative array, where the key is the name of the driver and the |
listDrivers() X-Ref |
Returns an array with only the driver names, which are the only suitable names for the call to PDb::getDriver return: An array with the driver names |
NewPDbDataDictionary( $driver ) X-Ref |
ADOdb compatibility, although this method was renamed to NewLifeTypeDataDictionary() not to collide with ADOdb's own in those system where these two libraries may be loaded at the same time (i.e. when the gallery2 plugin is loaded) param: driver A driver class whose data dictionary class we'd like to get. This method is obsolete |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |