\Horde_Kolab_Server_Structure_Attribute_Interface

The interface describing internal Kolab object attributes.

Copyright 2009-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Constants
getObject()
getName()
value()
update()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getObject()

getObject() : \Horde_Kolab_Server_Object_Interface

Return the internal attribute adapter.

Returns

\Horde_Kolab_Server_Object_Interface

The object the attribute belongs to.

getName()

getName() : string

Return the name of this attribute.

Returns

string —

The name of this attribute.

value()

value() : array

Return the value of this attribute.

Returns

array —

The value of the attribute

update()

update(array  $changes) : array

Return the new internal state for this attribute.

Parameters

array $changes

The object data that should be updated.

Throws

\Horde_Kolab_Server_Exception

If storing the value failed.

Returns

array —

The resulting internal state.