[ Index ] |
|
Code source de IMP H3 (4.1.5) |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 112 lignes (3 kb) |
Inclus ou requis: | 4 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
factory($driver, $params = array() X-Ref |
Attempts to return a concrete Quota instance based on $driver. param: string $driver The type of concrete Quota subclass to return. param: array $params A hash containing any additional configuration or return: mixed The newly created concrete Quota instance, or false |
singleton($driver, $params = array() X-Ref |
Attempts to return a reference to a concrete Quota instance based on $driver. It will only create a new instance if no Quota instance with the same parameters currently exists. This should be used if multiple quota sources are required. This method must be invoked as: $var = &Quota::singleton() param: string $driver The type of concrete Quota subclass to return. param: array $params A hash containing any additional configuration or return: mixed The created concrete Quota instance, or false on error. |
IMP_Quota($params = array() X-Ref |
Constructor. param: array $params Hash containing connection parameters. |
getQuota() X-Ref |
Get quota information (used/allocated), in bytes. return: mixed An associative array. |
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |