Documentation

Horde_Kolab_Storage_Object_Writer
in package

Handles the conversion of Kolab MIME part contents to data arrays.

Copyright 2011-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.

Tags
category

Kolab

author

Gunnar Wrobel wrobel@pardus.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

load()  : mixed
Convert the object content into a data structure and update the object accordingly.
save()  : resource
Return the object data in a form that it can be stored in the backend.

Methods

load()

Convert the object content into a data structure and update the object accordingly.

public abstract load(resource $content, Horde_Kolab_Storage_Object $object) : mixed
Parameters
$content : resource

The raw content from the object.

$object : Horde_Kolab_Storage_Object

The object that should receive the parsed data.

Return values
mixed

save()

Return the object data in a form that it can be stored in the backend.

public abstract save(Horde_Kolab_Storage_Object $object) : resource
Parameters
$object : Horde_Kolab_Storage_Object

The object that should receive the parsed data.

Return values
resource

The encoded object data, ready to be written into the backend.

Search results