PHP 클래스 Horde_Kolab_Server_Object_Mcached, horde

Copyright 2008-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_Server_Object_Interface
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_actions array A cache for the list of actions this object supports.
$_attributes_ext array The external attributes supported by this class.
$_attributes_int array The internal attributes required for this class.

공개 메소드들

메소드 설명
__construct ( Horde_Kolab_Server_Object $object ) Initialize the Kolab Object. Provide either the GUID
delete ( ) : null Delete this object.
exists ( ) : null Does the object exist?
generateId ( array &$info ) : string Generates an ID for the given information.
getActions ( ) : array Returns the set of actions supported by this object type.
getExternal ( string $attr ) : mixed Get the specified attribute of this object.
getExternalAttributes ( ) : array Get the external attributes supported by this object.
getGuid ( ) : string Get the GUID of this object
getInternal ( array $attributes ) : array Get the specified internal attributes.
getInternalAttributes ( ) : array Get the internal attributes supported by this object.
getSingle ( string $attr ) : mixed Get the specified attribute of this object and ensure that only a single value is being returned.
prepareObjectInformation ( array &$info ) : NULL. Distill the server side object information to save.
readInternal ( ) : array Read the object data.
save ( array $info ) : null Saves object information. This may either create a new entry or modify an existing entry.
setInternalData ( array $data ) : null Set the internal data of this object.
toHash ( array $attrs = [], boolean $single = true ) : array | PEAR_Error Convert the object attributes to a hash.

메소드 상세

__construct() 공개 메소드

Initialize the Kolab Object. Provide either the GUID
public __construct ( Horde_Kolab_Server_Object $object )
$object Horde_Kolab_Server_Object

delete() 공개 메소드

Delete this object.
public delete ( ) : null
리턴 null

exists() 공개 메소드

Does the object exist?
public exists ( ) : null
리턴 null

generateId() 공개 메소드

Generates an ID for the given information.
public generateId ( array &$info ) : string
$info array
리턴 string The ID.

getActions() 공개 메소드

Returns the set of actions supported by this object type.
public getActions ( ) : array
리턴 array An array of supported actions.

getExternal() 공개 메소드

Get the specified attribute of this object.
public getExternal ( string $attr ) : mixed
$attr string The attribute to read.
리턴 mixed The value of this attribute.

getExternalAttributes() 공개 메소드

Get the external attributes supported by this object.
public getExternalAttributes ( ) : array
리턴 array The external attributes supported by this object. This is a list of abbreviated attribute class names.

getGuid() 공개 메소드

Get the GUID of this object
public getGuid ( ) : string
리턴 string the GUID of this object

getInternal() 공개 메소드

Get the specified internal attributes.
public getInternal ( array $attributes ) : array
$attributes array The internal attribute.
리턴 array The value(s) of these attribute

getInternalAttributes() 공개 메소드

Get the internal attributes supported by this object.
public getInternalAttributes ( ) : array
리턴 array The internal attributes supported by this object. This is an association of internal attribute names an the correspodning attribute class names.

getSingle() 공개 메소드

Get the specified attribute of this object and ensure that only a single value is being returned.
public getSingle ( string $attr ) : mixed
$attr string The attribute to read.
리턴 mixed The value of this attribute.

prepareObjectInformation() 공개 메소드

Distill the server side object information to save.
public prepareObjectInformation ( array &$info ) : NULL.
$info array
리턴 NULL.

readInternal() 공개 메소드

Read the object data.
public readInternal ( ) : array
리턴 array The read data.

save() 공개 메소드

Please note that fields with multiple allowed values require the callee to provide the full set of values for the field. Any old values that are not resubmitted will be considered to be deleted.
public save ( array $info ) : null
$info array The information about the object.
리턴 null

setInternalData() 공개 메소드

Set the internal data of this object.
public setInternalData ( array $data ) : null
$data array A data array for the object.
리턴 null

toHash() 공개 메소드

Convert the object attributes to a hash.
public toHash ( array $attrs = [], boolean $single = true ) : array | PEAR_Error
$attrs array The attributes to return.
$single boolean Should only a single attribute be returned?
리턴 array | PEAR_Error The hash representing this object.

프로퍼티 상세

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

A cache for the list of actions this object supports.
protected array $_actions
리턴 array

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

The external attributes supported by this class.
protected array $_attributes_ext
리턴 array

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

The internal attributes required for this class.
protected array $_attributes_int
리턴 array