PHP Interface Horde_Kolab_Server_Object_Interface, 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.
Afficher le fichier Open project: horde/horde Interface Usage Examples

Méthodes publiques

Méthode Description
delete ( ) : null Delete this object.
exists ( ) : boolean 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.
prepareObjectInformation ( array &$info ) : NULL. Distill the server side object information to save.
readInternal ( ) : array Read the object into the cache
save ( array $info ) : null Saves object information. This may either create a new entry or modify an existing entry.

Method Details

delete() public méthode

Delete this object.
public delete ( ) : null
Résultat null

exists() public méthode

Does the object exist?
public exists ( ) : boolean
Résultat boolean True if the object exists, false otherwise.

generateId() public méthode

Generates an ID for the given information.
public generateId ( array &$info ) : string
$info array
Résultat string The ID.

getActions() public méthode

Returns the set of actions supported by this object type.
public getActions ( ) : array
Résultat array An array of supported actions.

getExternal() public méthode

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

getExternalAttributes() public méthode

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

getGuid() public méthode

Get the GUID of this object
public getGuid ( ) : string
Résultat string the GUID of this object

getInternal() public méthode

Get the specified internal attributes.
public getInternal ( array $attributes ) : array
$attributes array The internal attribute.
Résultat array The value(s) of these attribute

getInternalAttributes() public méthode

Get the internal attributes supported by this object.
public getInternalAttributes ( ) : array
Résultat array The internal attributes supported by this object.

prepareObjectInformation() public méthode

Distill the server side object information to save.
public prepareObjectInformation ( array &$info ) : NULL.
$info array
Résultat NULL.

readInternal() public méthode

Read the object into the cache
public readInternal ( ) : array
Résultat array The read data.

save() public méthode

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.
Résultat null