78 foreach ($this->components as $component) {
82 $writer->endElement();
111 $elems =
$reader->parseInnerTree();
115 foreach ((array)$elems as $elem) {
122 throw new ParseException(
'supported-calendar-component-set must have at least one CALDAV:comp element');
An exception for terminatinating execution or to throw for unit testing.
const NS_CALDAV
This is the official CalDAV namespace.
SupportedCalendarComponentSet property.
getValue()
Returns the list of supported components.
static xmlDeserialize(Reader $reader)
The deserialize method is called during xml parsing.
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
__construct(array $components)
Creates the property.
Exception thrown by Reader if an invalid object was attempted to be parsed.
This is a base exception for any exception related to parsing xml files.
The Reader class expands upon PHP's built-in XMLReader.
startElement($name)
Opens a new element.
writeAttributes(array $attributes)
Writes a list of attributes.
This is the XML element interface.