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


Public Member Functions | |
| __construct ($element=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getCustom () | |
| getCustomByName ($name=null) | |
| setCustom ($custom) | |
| addCustom ($custom) | |
| removeCustom ($index) | |
| removeCustomByName ($name) | |
Protected Member Functions | |
| takeChildFromDOM ($child) | |
Protected Attributes | |
| $_entryClassName = 'Zend_Gdata_Spreadsheets_ListEntry' | |
| $_custom = array() | |
| $_customByName = array() | |
Definition at line 43 of file ListEntry.php.
| __construct | ( | $ | element = null | ) |
Constructs a new Zend_Gdata_Spreadsheets_ListEntry object.
| DOMElement | $element | An existing XML element on which to base this new object. |
Reimplemented from Zend_Gdata_Entry.
Definition at line 66 of file ListEntry.php.

| addCustom | ( | $ | custom | ) |
Add an individual custom row element to this list entry.
| Zend_Gdata_Spreadsheets_Extension_Custom | $custom | The custom element to be added. |
Definition at line 152 of file ListEntry.php.

| getCustom | ( | ) |
Gets the row elements contained by this list entry.
Definition at line 101 of file ListEntry.php.
| getCustomByName | ( | $ | name = null | ) |
Gets a single row element contained by this list entry using its name.
| string | $name | The name of a custom element to return. If null or not defined, an array containing all custom elements indexed by name will be returned. |
Definition at line 117 of file ListEntry.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_Entry.
Definition at line 72 of file ListEntry.php.
| removeCustom | ( | $ | index | ) |
Remove an individual row element from this list entry by index. This will cause the array to be re-indexed.
| int | $index | The index of the custom element to be deleted. |
| Zend_Gdata_App_InvalidArgumentException |
Definition at line 166 of file ListEntry.php.
| removeCustomByName | ( | $ | name | ) |
Remove an individual row element from this list entry by name.
| string | $name | The name of the custom element to be deleted. |
| Zend_Gdata_App_InvalidArgumentException |
Definition at line 191 of file ListEntry.php.
| setCustom | ( | $ | custom | ) |
Sets the row elements contained by this list entry. If any custom row elements were previously stored, they will be overwritten.
| array | $custom | The custom row elements to be contained in this list entry. |
Definition at line 137 of file ListEntry.php.

| takeChildFromDOM | ( | $ | child | ) | [protected] |
Given a child DOMNode, tries to determine how to map the data into object instance members. If no mapping is defined, Extension_Element objects are created and stored in an array.
| DOMNode | $child | The DOMNode needed to be handled |
Reimplemented from Zend_Gdata_Entry.
Definition at line 83 of file ListEntry.php.

$_custom = array() [protected] |
Definition at line 53 of file ListEntry.php.
$_customByName = array() [protected] |
Definition at line 60 of file ListEntry.php.
$_entryClassName = 'Zend_Gdata_Spreadsheets_ListEntry' [protected] |
Reimplemented from Zend_Gdata_Entry.
Definition at line 46 of file ListEntry.php.