98 switch ($this->type) {
113 $writer->endElement();
127 switch ($this->type) {
144 if ($this->description) {
145 $writer->
writeElement($cs .
'description', $this->description);
151 $writer->endElement();
An exception for terminatinating execution or to throw for unit testing.
const NS_CALENDARSERVER
This is the namespace for the proprietary calendarserver extensions.
SystemStatus notification.
getId()
Returns a unique id for this notification.
__construct($id, $etag, $type=self::TYPE_HIGH, $description=null, $href=null)
Creates the notification.
xmlSerialize(Writer $writer)
The serialize method is called during xml writing.
getETag()
Returns the ETag for this notification.
xmlSerializeFull(Writer $writer)
This method serializes the entire notification, as it is used in the response body.
writeAttribute($name, $value)
Writes a new attribute.
writeElement($name, $content=null)
Write a full element tag and it's contents.
startElement($name)
Opens a new element.
This interface reflects a single notification type.