PHP Класс Horde_Kolab_Storage_Object_Writer, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
load ( resource $content, Horde_Kolab_Storage_Object $object ) Convert the object content into a data structure and update the object accordingly.
save ( Horde_Kolab_Storage_Object $object ) : resource Return the object data in a form that it can be stored in the backend.

Описание методов

load() абстрактный публичный Метод

Convert the object content into a data structure and update the object accordingly.
abstract public load ( resource $content, Horde_Kolab_Storage_Object $object )
$content resource The raw content from the object.
$object Horde_Kolab_Storage_Object The object that should receive the parsed data.

save() абстрактный публичный Метод

Return the object data in a form that it can be stored in the backend.
abstract public save ( Horde_Kolab_Storage_Object $object ) : resource
$object Horde_Kolab_Storage_Object The object that should receive the parsed data.
Результат resource The encoded object data, ready to be written into the backend.