$_handler
$_handler : \Horde_Kolab_Format
The decorated Kolab format handler.
Determines how much time is spent while loading/saving the Kolab objects.
Copyright 2010-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
$_handler : \Horde_Kolab_Format
The decorated Kolab format handler.
__construct(\Horde_Kolab_Format $handler, \Horde_Support_Timer $timer, mixed $logger = null)
Constructor.
\Horde_Kolab_Format | $handler | The handler to be decorated. |
\Horde_Support_Timer | $timer | The timer. |
mixed | $logger | The optional logger. If set this needs to provide a debug() method. |
getHandler() : \Horde_Kolab_Format
Return the decorated handler.
The handler.
load(resource $xml, array $options = array()) : array
Load an object based on the given XML stream.
resource | $xml | The XML stream of the message. |
array | $options | Additional options when parsing the XML. This decorator provides no additional options. |
The data array representing the object.
save(array $object, array $options = array()) : resource
Convert the data to a XML stream.
array | $object | The data array representing the object. |
array | $options | Additional options when writing the XML. This decorator provides no additional options. |
The data as XML stream.