\Horde_Kolab_Server_Structure_Attribute_Value

The base class representing 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
Properties
Constants
__construct()
getObject()
getName()
value()
update()
No public properties found
No constants found
No protected methods found
$name
$object
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : 

The attribute name.

Type

$object

$object : 

The object the attribute belongs to.

Type

Methods

__construct()

__construct(\Horde_Kolab_Server_Object_Interface  $object, string  $name) 

Constructor

Parameters

\Horde_Kolab_Server_Object_Interface $object

The object this attribute belongs to.

string $name

The name of this attribute.

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.