PHP Class Horde_Kolab_Server_Object_Attribute_Decorator, 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.
Show file
Open project: horde/horde
Class Usage Examples
Protected Properties
Property |
Type |
Description |
|
$_attribute |
|
The decorated attribute. |
|
Public Methods
Method |
Description |
|
__construct ( Horde_Kolab_Server_Object_Attribute_Interface $attribute ) |
Constructor |
|
getAttribute ( ) : Horde_Kolab_Server_Structure_Attribute_Interface |
Return the internal attribute adapter. |
|
getName ( ) : string |
Return the name of this attribute. |
|
isEmpty ( array $changes ) : string |
Return if this attribute is undefined in the given data array. |
|
update ( array $changes ) : array |
Return the new internal state for this attribute. |
|
value ( ) : array |
Return the value of this attribute. |
|
Method Details
__construct()
public method
public __construct ( Horde_Kolab_Server_Object_Attribute_Interface $attribute ) |
$attribute |
Horde_Kolab_Server_Object_Attribute_Interface |
The decorated
attribute. |
getAttribute()
public method
Return the internal attribute adapter.
public getAttribute ( ) : Horde_Kolab_Server_Structure_Attribute_Interface |
return |
Horde_Kolab_Server_Structure_Attribute_Interface |
The internal |
Return the name of this attribute.
Return if this attribute is undefined in the given data array.
Return the new internal state for this attribute.
public update ( array $changes ) : array |
$changes |
array |
The object data that should be updated. |
return |
array |
The resulting internal state. |
Return the value of this attribute.
Property Details
$_attribute protected property