ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SupportedCollationSet.php
Go to the documentation of this file.
1<?php
2
4
8
23
43 function xmlSerialize(Writer $writer) {
44
45 $collations = [
46 'i;ascii-casemap',
47 'i;octet',
48 'i;unicode-casemap'
49 ];
50
51 foreach ($collations as $collation) {
52 $writer->writeElement('{' . Plugin::NS_CALDAV . '}supported-collation', $collation);
53 }
54
55 }
56
57}
An exception for terminatinating execution or to throw for unit testing.
CalDAV plugin.
Definition: Plugin.php:28
const NS_CALDAV
This is the official CalDAV namespace.
Definition: Plugin.php:33
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
The XML Writer class.
Definition: Writer.php:31
writeElement($name, $content=null)
Write a full element tag and it's contents.
Definition: Writer.php:189
Objects implementing XmlSerializable can control how they are represented in Xml.