PHP Interface Horde_Kolab_Server_Object_Attribute_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.
Show file Open project: horde/horde

Public Methods

Method Description
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

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

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.

update() public method

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.

value() public method

Return the value of this attribute.
public value ( ) : array
return array The value(s) of this attribute.