PHP 클래스 Horde_Kolab_Storage_Base, horde

Copyright 2004-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.
상속: implements Horde_Kolab_Storage
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_cache Horde_Kolab_Storage_Cache The cache.
$_data array Data instances.
$_factory Horde_Kolab_Storage_Factory The factory for generating additional resources.
$_lists array List instances.
$_logger Horde_Log_Logger A logger.
$_master Horde_Kolab_Storage_Driver The master Kolab storage system.
$_params array Additional parameters.
$_query_set Horde_Kolab_Storage_QuerySet The query handler.

공개 메소드들

메소드 설명
__construct ( Horde_Kolab_Storage_Driver $master, Horde_Kolab_Storage_QuerySet $query_set, Horde_Kolab_Storage_Factory $factory, Horde_Kolab_Storage_Cache $cache, Horde_Log_Logger $logger, array $params = [] ) Constructor.
getData ( mixed $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_Driver $driver = null ) : 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.

보호된 메소드들

메소드 설명
_createData ( mixed $folder, Horde_Kolab_Storage_Driver $master, Horde_Kolab_Storage_Factory $factory, string $object_type = null, integer $data_version = 1 ) : Horde_Kolab_Data Return a data handler for accessing data in the specified folder.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Horde_Kolab_Storage_Driver $master, Horde_Kolab_Storage_QuerySet $query_set, Horde_Kolab_Storage_Factory $factory, Horde_Kolab_Storage_Cache $cache, Horde_Log_Logger $logger, array $params = [] )
$master Horde_Kolab_Storage_Driver The primary connection driver.
$query_set Horde_Kolab_Storage_QuerySet The query handler.
$factory Horde_Kolab_Storage_Factory The factory.
$cache Horde_Kolab_Storage_Cache The cache.
$logger Horde_Log_Logger A logger.
$params array Additional parameters.

_createData() 추상적인 보호된 메소드

Return a data handler for accessing data in the specified folder.
abstract protected _createData ( mixed $folder, Horde_Kolab_Storage_Driver $master, Horde_Kolab_Storage_Factory $factory, string $object_type = null, integer $data_version = 1 ) : Horde_Kolab_Data
$folder mixed The name of the folder or an instance representing the folder.
$master Horde_Kolab_Storage_Driver The primary connection driver.
$factory Horde_Kolab_Storage_Factory The factory.
$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_Data The data object.

getData() 공개 메소드

Return a data handler for accessing data in the specified folder.
public getData ( mixed $folder, string $object_type = null, integer $data_version = 1 ) : Horde_Kolab_Storage_Data
$folder mixed The name of the folder or an instance representing 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_Driver $driver = null ) : Horde_Kolab_Storage_List
$driver Horde_Kolab_Storage_Driver
리턴 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.

프로퍼티 상세

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

The cache.
protected Horde_Kolab_Storage_Cache $_cache
리턴 Horde_Kolab_Storage_Cache

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

Data instances.
protected array $_data
리턴 array

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

The factory for generating additional resources.
protected Horde_Kolab_Storage_Factory $_factory
리턴 Horde_Kolab_Storage_Factory

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

List instances.
protected array $_lists
리턴 array

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

A logger.
protected Horde_Log_Logger $_logger
리턴 Horde_Log_Logger

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

The master Kolab storage system.
protected Horde_Kolab_Storage_Driver $_master
리턴 Horde_Kolab_Storage_Driver

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

Additional parameters.
protected array $_params
리턴 array

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

The query handler.
protected Horde_Kolab_Storage_QuerySet $_query_set
리턴 Horde_Kolab_Storage_QuerySet