15 implements \IteratorAggregate,
103 $this->parent =
null;
117 if (!is_null($this->iterator)) {
An exception for terminatinating execution or to throw for unit testing.
A node is the root class for every element in an iCalendar of vCard object.
jsonSerialize()
This method returns an array, with the representation as it should be encoded in JSON.
const PROFILE_CARDDAV
If this option is set, the validator will operate on the vcards on the assumption that the vcards nee...
getIterator()
Returns the iterator for this object.
const PROFILE_CALDAV
If this option is set, the validator will operate on iCalendar objects on the assumption that the vca...
count()
Returns the number of elements.
setIterator(ElementList $iterator)
Sets the overridden iterator.
offsetUnset($offset)
Sets an item through ArrayAccess.
offsetSet($offset, $value)
Sets an item through ArrayAccess.
serialize()
Serializes the node into a mimedir format.
destroy()
Call this method on a document if you're done using it.
offsetExists($offset)
Checks if an item exists through ArrayAccess.
xmlSerialize(Xml\Writer $writer)
This method serializes the data into XML.
const REPAIR
The following constants are used by the validate() method.
offsetGet($offset)
Gets an item through ArrayAccess.
validate($options=0)
Validates the node for correctness.
iCalendar/vCard/jCal/jCard/xCal/xCard writer object.
Objects implementing XmlSerializable can control how they are represented in Xml.