ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\Xml\XmlSerializable Interface Reference

Objects implementing XmlSerializable can control how they are represented in Xml. More...

+ Inheritance diagram for Sabre\Xml\XmlSerializable:
+ Collaboration diagram for Sabre\Xml\XmlSerializable:

Public Member Functions

 xmlSerialize (Writer $writer)
 The xmlSerialize method is called during xml writing. More...
 

Detailed Description

Objects implementing XmlSerializable can control how they are represented in Xml.

Author
Evert Pot (http://evertpot.com/) http://sabre.io/license/ Modified BSD License

Definition at line 13 of file XmlSerializable.php.

Member Function Documentation

◆ xmlSerialize()

Sabre\Xml\XmlSerializable::xmlSerialize ( Writer  $writer)

The xmlSerialize method is called during xml writing.

Use the $writer argument to write its own xml serialization.

An important note: do not create a parent element. Any element implementing XmlSerializble should only ever write what's considered its 'inner xml'.

The parent of the current element is responsible for writing a containing element.

This allows serializers to be re-used for different element names.

If you are opening new elements, you must also close them again.

Parameters
Writer$writer
Returns
void

Implemented in Sabre\CalDAV\Xml\Notification\Invite, Sabre\CalDAV\Xml\Notification\InviteReply, Sabre\DAV\Xml\Element\Sharee, Sabre\DAV\Xml\Element\Response, Sabre\DAV\Xml\Property\SupportedReportSet, Sabre\DAVACL\Xml\Property\Principal, Sabre\DAVACL\Xml\Property\Acl, Sabre\CalDAV\Xml\Notification\SystemStatus, Sabre\DAV\Xml\Property\Href, Sabre\DAV\Xml\Property\SupportedMethodSet, Sabre\DAV\Xml\Response\MultiStatus, Sabre\CalDAV\Xml\Property\ScheduleCalendarTransp, Sabre\DAV\Xml\Property\ShareAccess, Sabre\CalDAV\Xml\Property\SupportedCalendarComponentSet, Sabre\DAV\Xml\Property\GetLastModified, Sabre\CalDAV\Xml\Property\AllowedSharingModes, Sabre\DAVACL\Xml\Property\SupportedPrivilegeSet, Sabre\CalDAV\Xml\Property\Invite, Sabre\CalDAV\Xml\Property\EmailAddressSet, Sabre\DAV\Xml\Property\LockDiscovery, Sabre\DAV\Xml\Property\Invite, Sabre\DAVACL\Xml\Property\CurrentUserPrivilegeSet, Sabre\Xml\Element\XmlFragment, Sabre\DAV\Xml\Request\PropPatch, Sabre\CalDAV\Xml\Property\SupportedCalendarData, Sabre\CalDAV\Xml\Property\SupportedCollationSet, Sabre\DAV\Xml\Property\SupportedLock, Sabre\CardDAV\Xml\Property\SupportedCollationSet, and Sabre\DAVACL\Xml\Property\AclRestrictions.


The documentation for this interface was generated from the following file: