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 }
Objects implementing XmlSerializable can control how they are represented in Xml. ...
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
const NS_CALDAV
This is the official CalDAV namespace.
Definition: Plugin.php:33
writeElement($name, $content=null)
Write a full element tag and it&#39;s contents.
Definition: Writer.php:189
The XML Writer class.
Definition: Writer.php:31