PHP Class Horde_Kolab_Server_Object_Attribute_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.
Inheritance: implements Horde_Kolab_Server_Object_Attribute_Interface
Exibir arquivo Open project: horde/horde

Protected Properties

Property Type Description
$attribute The internal attribute adapter.
$name The attribute name.

Public Methods

Method Description
__construct ( Horde_Kolab_Server_Structure_Attribute_Interface $attribute, string $name ) 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.

Method Details

__construct() public method

Constructor
public __construct ( Horde_Kolab_Server_Structure_Attribute_Interface $attribute, string $name )
$attribute Horde_Kolab_Server_Structure_Attribute_Interface The internal attribute adapter.
$name string The name of this 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 attribute.

getName() public method

Return the name of this attribute.
public getName ( ) : string
return string The name of this attribute.

isEmpty() public method

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

Property Details

$attribute protected_oe property

The internal attribute adapter.
protected $attribute

$name protected_oe property

The attribute name.
protected $name