|
Moodle
2.2.1
http://www.collinsharper.com
|


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 | |
| __construct | ( | $ | limit = null | ) |
Constructs a new Zend_Gdata_Gapps_Extension_Quota object.
| string | $limit | (optional) The limit, in bytes, for this quota. |
Definition at line 64 of file Quota.php.

| __toString | ( | ) |
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.

| 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.
| DOMDocument | $doc | The DOMDocument used to construct DOMElements |
Reimplemented from Zend_Gdata_App_Base.
| getLimit | ( | ) |
| 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.
| string | $value | The desired value for this attribute. |
| 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.
| DOMNode | $attribute | The DOMNode attribute needed to be handled |
Reimplemented from Zend_Gdata_App_Base.
$_rootElement = 'quota' [protected] |
Reimplemented from Zend_Gdata_App_Base.
$_rootNamespace = 'apps' [protected] |
Reimplemented from Zend_Gdata_Extension.