PHP Class Horde_Kolab_Server_Object_Attribute_Default, 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: extends Horde_Kolab_Server_Object_Attribute_Decorator
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
__construct ( Horde_Kolab_Server_Object_Attribute $attribute, mixed $default ) Constructor
update ( array $changes ) : array Return the new internal state for this attribute.

Method Details

__construct() public method

Constructor
public __construct ( Horde_Kolab_Server_Object_Attribute $attribute, mixed $default )
$attribute Horde_Kolab_Server_Object_Attribute The decorated attribute.
$default mixed The default value.

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.