PHP 클래스 Horde_Kolab_Storage_Decorator_Log, horde

Copyright 2004-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.
사용 중단:
저자: Gunnar Wrobel ([email protected])
상속: implements Horde_Kolab_Storage
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_logger Horde_Log_Logger A log handler.
$_storage Horde_Kolab_Storage The decorated storage handler.

공개 메소드들

메소드 설명
__construct ( Horde_Kolab_Storage $storage, mixed $logger ) Constructor.
getData ( string $folder, string $object_type = null, integer $data_version = 1 ) : Horde_Kolab_Storage_Data Return a data handler for accessing data in the specified folder.
getFolder ( string $folder ) : Horde_Kolab_Storage_Folder Get a Folder object.
getList ( ) : Horde_Kolab_Storage_List Get the folder list object.
getSystemList ( string $type ) : Horde_Kolab_Storage_List Get a folder list object for a "system" user.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Horde_Kolab_Storage $storage, mixed $logger )
$storage Horde_Kolab_Storage The storage handler.
$logger mixed The log handler. This instance must provide the debug() method.

getData() 공개 메소드

Return a data handler for accessing data in the specified folder.
public getData ( string $folder, string $object_type = null, integer $data_version = 1 ) : Horde_Kolab_Storage_Data
$folder string The name of the folder.
$object_type string The type of data we want to access in the folder.
$data_version integer Format version of the object data.
리턴 Horde_Kolab_Storage_Data The data object.

getFolder() 공개 메소드

Get a Folder object.
public getFolder ( string $folder ) : Horde_Kolab_Storage_Folder
$folder string The folder name.
리턴 Horde_Kolab_Storage_Folder The Kolab folder object.

getList() 공개 메소드

Get the folder list object.
public getList ( ) : Horde_Kolab_Storage_List
리턴 Horde_Kolab_Storage_List The handler for the list of folders present in the Kolab backend.

getSystemList() 공개 메소드

Get a folder list object for a "system" user.
public getSystemList ( string $type ) : Horde_Kolab_Storage_List
$type string The type of system user.
리턴 Horde_Kolab_Storage_List The handler for the list of folders present in the Kolab backend.

프로퍼티 상세

$_logger 보호되어 있는 프로퍼티

A log handler.
protected Horde_Log_Logger $_logger
리턴 Horde_Log_Logger

$_storage 보호되어 있는 프로퍼티

The decorated storage handler.
protected Horde_Kolab_Storage $_storage
리턴 Horde_Kolab_Storage