PHP 클래스 Horde_Kolab_Storage_Object_Writer_Format, horde
Copyright 2011-2014 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.
파일 보기
프로젝트 열기: horde/horde
1 사용 예제들
공개 메소드들
메소드 |
설명 |
|
__construct ( Horde_Kolab_Format_Factory $factory, array $params = [] ) |
Condtructor. |
|
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 ) : string |
Return the object data in a form that it can be stored in the backend. |
|
비공개 메소드들
메소드 상세
public __construct ( Horde_Kolab_Format_Factory $factory, array $params = [] ) |
$factory |
Horde_Kolab_Format_Factory |
The parser factory. |
$params |
array |
Additional parameters for the format parsers. |
Convert the object content into a data structure and update the object
accordingly.
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. |
Return the object data in a form that it can be stored in the backend.
public save ( Horde_Kolab_Storage_Object $object ) : string |
$object |
Horde_Kolab_Storage_Object |
The object that should receive the parsed data. |
리턴 |
string |
The encoded object data, ready to be written into the
backend. |