ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SupportedCollationSet.php
Go to the documentation of this file.
1<?php
2
4
7
19
39 function xmlSerialize(Writer $writer) {
40
41 foreach (['i;ascii-casemap', 'i;octet', 'i;unicode-casemap'] as $coll) {
42 $writer->writeElement('{urn:ietf:params:xml:ns:carddav}supported-collation', $coll);
43 }
44
45 }
46
47}
An exception for terminatinating execution or to throw for unit testing.
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.