Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_Gapps_Extension_Quota Class Reference
Inheritance diagram for Zend_Gdata_Gapps_Extension_Quota:
Collaboration diagram for Zend_Gdata_Gapps_Extension_Quota:

Public Member Functions

 __construct ($limit=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getLimit ()
 setLimit ($value)
 __toString ()

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootNamespace = 'apps'
 $_rootElement = 'quota'
 $_limit = null

Detailed Description

Definition at line 46 of file Quota.php.


Constructor & Destructor Documentation

__construct ( limit = null)

Constructs a new Zend_Gdata_Gapps_Extension_Quota object.

Parameters:
string$limit(optional) The limit, in bytes, for this quota.

Definition at line 64 of file Quota.php.

Here is the call graph for this function:


Member Function Documentation

Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0

Reimplemented from Zend_Gdata_App_Base.

Definition at line 137 of file Quota.php.

Here is the call graph for this function:

getDOM ( doc = null,
majorVersion = 1,
minorVersion = null 
)

Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.

Parameters:
DOMDocument$docThe DOMDocument used to construct DOMElements
Returns:
DOMElement The DOMElement representing this element and all child properties.

Reimplemented from Zend_Gdata_App_Base.

Definition at line 81 of file Quota.php.

getLimit ( )

Get the value for this element's limit attribute.

See also:
setLimit
Returns:
string The requested attribute.

Definition at line 114 of file Quota.php.

Here is the caller graph for this function:

setLimit ( value)

Set the value for this element's limit attribute. This is the amount of storage space, in bytes, that should be made available to the associated user.

Parameters:
string$valueThe desired value for this attribute.
Returns:
Zend_Gdata_Gapps_Extension_Quota Provides a fluent interface.

Definition at line 127 of file Quota.php.

takeAttributeFromDOM ( attribute) [protected]

Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.

Parameters:
DOMNode$attributeThe DOMNode attribute needed to be handled

Reimplemented from Zend_Gdata_App_Base.

Definition at line 97 of file Quota.php.


Field Documentation

$_limit = null [protected]

Definition at line 57 of file Quota.php.

$_rootElement = 'quota' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 50 of file Quota.php.

$_rootNamespace = 'apps' [protected]

Reimplemented from Zend_Gdata_Extension.

Definition at line 49 of file Quota.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations