[ Index ]
 

Code source de IMP H3 (4.1.5)

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/lib/ -> Quota.php (sommaire)

(pas de description)

Poids: 112 lignes (3 kb)
Inclus ou requis: 4 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

IMP_Quota:: (4 méthodes):
  factory()
  singleton()
  IMP_Quota()
  getQuota()


Classe: IMP_Quota  - X-Ref

IMP_Quota:: provides an API for retrieving Quota details from a mail
server.

$Horde: imp/lib/Quota.php,v 1.23.10.9 2007/01/02 13:54:56 jan Exp $

Copyright 2002-2007 Mike Cochrane <mike@graftonhall.co.nz>

See the enclosed file COPYING for license information (GPL). If you
did not receive this file, see http://www.fsf.org/copyleft/gpl.html.

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
  Clicky Web Analytics