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.
Inheritance: implements Horde_Kolab_Server_Object_Attribute_Interface
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_attribute The decorated attribute.

Méthodes publiques

Méthode 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 méthode

Constructor
public __construct ( Horde_Kolab_Server_Object_Attribute_Interface $attribute )
$attribute Horde_Kolab_Server_Object_Attribute_Interface The decorated attribute.

getAttribute() public méthode

Return the internal attribute adapter.
public getAttribute ( ) : Horde_Kolab_Server_Structure_Attribute_Interface
Résultat Horde_Kolab_Server_Structure_Attribute_Interface The internal

getName() public méthode

Return the name of this attribute.
public getName ( ) : string
Résultat string The name of this attribute.

isEmpty() public méthode

Return if this attribute is undefined in the given data array.
public isEmpty ( array $changes ) : string
$changes array The data array to test.
Résultat string The name of this object.

update() public méthode

Return the new internal state for this attribute.
public update ( array $changes ) : array
$changes array The object data that should be updated.
Résultat array The resulting internal state.

value() public méthode

Return the value of this attribute.
public value ( ) : array
Résultat array The value(s) of this attribute.

Property Details

$_attribute protected_oe property

The decorated attribute.
protected $_attribute