Elgg
Version 1.11
|
Public Member Functions | |
__construct (array $elements=null) | |
Create a new ODD Document. More... | |
getVersion () | |
Return the version of ODD being used. More... | |
getNumElements () | |
Returns the number of elements. More... | |
addElement (ODD $element) | |
Add an element. More... | |
addElements (array $elements) | |
Add multiple elements at once. More... | |
getElements () | |
Return all elements. More... | |
setWrapperFactory (\ODDWrapperFactory $factory) | |
Set an optional wrapper factory to optionally embed the ODD document in another format. More... | |
__toString () | |
Magic function to generate valid ODD XML for this item. More... | |
rewind () | |
Iterator interface. More... | |
current () | |
Iterator interface. More... | |
key () | |
Iterator interface. More... | |
next () | |
Iterator interface. More... | |
valid () | |
Iterator interface. More... | |
Definition at line 9 of file ODDDocument.php.
ODDDocument::__construct | ( | array | $elements = null | ) |
Create a new ODD Document.
array | $elements | Elements to add |
Definition at line 34 of file ODDDocument.php.
ODDDocument::__toString | ( | ) |
Magic function to generate valid ODD XML for this item.
Definition at line 116 of file ODDDocument.php.
ODDDocument::addElement | ( | ODD | $element | ) |
ODDDocument::addElements | ( | array | $elements | ) |
Add multiple elements at once.
array | $elements | Array of ODD elements |
Definition at line 85 of file ODDDocument.php.
ODDDocument::current | ( | ) |
Iterator interface.
Definition at line 167 of file ODDDocument.php.
ODDDocument::getElements | ( | ) |
ODDDocument::getNumElements | ( | ) |
ODDDocument::getVersion | ( | ) |
ODDDocument::key | ( | ) |
Iterator interface.
Definition at line 178 of file ODDDocument.php.
ODDDocument::next | ( | ) |
Iterator interface.
Definition at line 189 of file ODDDocument.php.
ODDDocument::rewind | ( | ) |
Iterator interface.
Definition at line 156 of file ODDDocument.php.
ODDDocument::setWrapperFactory | ( | \ODDWrapperFactory | $factory | ) |
Set an optional wrapper factory to optionally embed the ODD document in another format.
\ODDWrapperFactory | $factory | The factory |
Definition at line 107 of file ODDDocument.php.
ODDDocument::valid | ( | ) |
Iterator interface.
Definition at line 200 of file ODDDocument.php.