[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
\defgroup Config The Config package is the central place where all configuration settings are stored in pLog.
Poids: | 110 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 37 fois |
Nécessite: | 0 fichiers |
Config:: (1 méthode):
getConfig()
getConfig( $storage = DEFAULT_STORAGE_BACKEND, $params = null ) X-Ref |
Makes sure that there is <b>only one</b> instance of this class for everybody, instead of creating a new instance every time we need to load some configuration. This will save some resources if we keep in mind that for example the database backend will load the entire table into memory every time a new instance is created. param: storage One of the storage methods implemented. Available ones are param: params An array containing storage backend specific parameters. In the case return: Returns an instance of the Config class, be it a new one if this is the first |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |