Class IMP_Quota_mdaemon

Description

Implementation of the Quota API for MDaemon servers.

Parameters required: 'app_location' -- TODO

$Horde: imp/lib/Quota/mdaemon.php,v 1.11.10.12 2009/01/06 15:24:11 jan Exp $

Copyright 2002-2009 The Horde Project (http://www.horde.org/)

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

Located in /lib/Quota/mdaemon.php (line 18)

IMP_Quota
   |
   --IMP_Quota_mdaemon
Method Summary
 mixed getQuota ()
 mixed _getUserDetails (string $user, string $realm)
Variables

Inherited Variables

Inherited from IMP_Quota

IMP_Quota::$_params
Methods
getQuota (line 28)

Get quota information (used/allocated), in bytes.

  • return: An associative array. 'limit' = Maximum quota allowed 'usage' = Currently used portion of quota (in bytes) Returns PEAR_Error on failure.
mixed getQuota ()

Redefinition of:
IMP_Quota::getQuota()
Get quota information (used/allocated), in bytes.
_getUserDetails (line 93)

Retrieve relevant line from userlist.dat.

  • return: Line from userlist.dat (string) or false (boolean).
mixed _getUserDetails (string $user, string $realm)
  • string $user: The username for which to retrieve detals.
  • string $realm: The realm (domain) for the user.

Inherited Methods

Inherited From IMP_Quota

 IMP_Quota::IMP_Quota()
 IMP_Quota::factory()
 IMP_Quota::getMessages()
 IMP_Quota::getQuota()
 IMP_Quota::singleton()

Documentation generated on Sun, 30 Jan 2011 05:28:14 +0000 by phpDocumentor 1.4.3