Property | Type | Description | |
---|---|---|---|
$_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. |
Method | Description | |
---|---|---|
__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. |
public __construct ( Horde_Kolab_Server_Object $object ) | ||
$object | Horde_Kolab_Server_Object |
public generateId ( array &$info ) : string | ||
$info | array | |
return | string | The ID. |
public getActions ( ) : array | ||
return | array | An array of supported actions. |
public getExternal ( string $attr ) : mixed | ||
$attr | string | The attribute to read. |
return | mixed | The value of this attribute. |
public getExternalAttributes ( ) : array | ||
return | array | The external attributes supported by this object. This is a list of abbreviated attribute class names. |
public getInternal ( array $attributes ) : array | ||
$attributes | array | The internal attribute. |
return | array | The value(s) of these attribute |
public getInternalAttributes ( ) : array | ||
return | array | The internal attributes supported by this object. This is an association of internal attribute names an the correspodning attribute class names. |
public prepareObjectInformation ( array &$info ) : NULL. | ||
$info | array | |
return | NULL. |
public readInternal ( ) : array | ||
return | array | The read data. |
public setInternalData ( array $data ) : null | ||
$data | array | A data array for the object. |
return | null |
protected array $_actions | ||
return | array |
protected array $_attributes_ext | ||
return | array |
protected array $_attributes_int | ||
return | array |