Public Member Functions | |
| __construct (array $elements=NULL) | |
| Create a new ODD Document. | |
| getVersion () | |
| Return the version of ODD being used. | |
| getNumElements () | |
| Returns the number of elements. | |
| addElement (ODD $element) | |
| Add an element. | |
| addElements (array $elements) | |
| Add multiple elements at once. | |
| getElements () | |
| Return all elements. | |
| setWrapperFactory (ODDWrapperFactory $factory) | |
| Set an optional wrapper factory to optionally embed the ODD document in another format. | |
| __toString () | |
| Magic function to generate valid ODD XML for this item. | |
| rewind () | |
| Iterator interface. | |
| current () | |
| Iterator interface. | |
| key () | |
| Iterator interface. | |
| next () | |
| Iterator interface. | |
| valid () | |
| Iterator interface. | |
Definition at line 8 of file ODDDocument.php.
| ODDDocument::__construct | ( | array $ | elements = NULL |
) |
Create a new ODD Document.
| array | $elements Elements to add |
Definition at line 33 of file ODDDocument.php.
| ODDDocument::__toString | ( | ) |
Magic function to generate valid ODD XML for this item.
Definition at line 115 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 84 of file ODDDocument.php.
| ODDDocument::current | ( | ) |
Iterator interface.
Definition at line 166 of file ODDDocument.php.
| ODDDocument::getElements | ( | ) |
| ODDDocument::getNumElements | ( | ) |
| ODDDocument::getVersion | ( | ) |
| ODDDocument::key | ( | ) |
Iterator interface.
Definition at line 177 of file ODDDocument.php.
| ODDDocument::next | ( | ) |
Iterator interface.
Definition at line 188 of file ODDDocument.php.
| ODDDocument::rewind | ( | ) |
Iterator interface.
Definition at line 155 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 106 of file ODDDocument.php.
| ODDDocument::valid | ( | ) |
Iterator interface.
Definition at line 199 of file ODDDocument.php.
1.6.3