PHP Класс Horde_Kolab_Server_Object_Base, 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.
Автор: Gunnar Wrobel ([email protected])
Наследование: implements Horde_Kolab_Server_Object_Interface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$guid string GUID of this object on the Kolab server.

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

Метод Описание
__construct ( Horde_Kolab_Server_Composite $composite, string $guid = null ) Initialize the Kolab Object. Provide either the GUID
delete ( ) : null Delete this object.
exists ( ) : boolean Does the object exist?
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.
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.

Защищенные методы

Метод Описание
getNewInternal ( array $info ) : null Transform the given data array into the new internal dataset.

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

__construct() публичный Метод

Initialize the Kolab Object. Provide either the GUID
public __construct ( Horde_Kolab_Server_Composite $composite, string $guid = null )
$composite Horde_Kolab_Server_Composite The link to the Kolab server.
$guid string GUID of the object.

delete() публичный Метод

Delete this object.
public delete ( ) : null
Результат null

exists() публичный Метод

Does the object exist?
public exists ( ) : boolean
Результат boolean True if the object exists, false otherwise.

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.

getNewInternal() защищенный Метод

Transform the given data array into the new internal dataset.
protected getNewInternal ( array $info ) : null
$info array The information about the object.
Результат 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

Описание свойств

$guid защищенное свойство

GUID of this object on the Kolab server.
protected string $guid
Результат string