PHP Class Horde_Kolab_Server_Object_Attribute_Value, 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_Base
ファイルを表示 Open project: horde/horde Class Usage Examples

Public Methods

Method Description
consume ( array &$changes ) : null Indicate that a value will be saved by deleting it from the original data array.
update ( array $changes ) : array Return the new internal state for this attribute.
value ( ) : array Return the value of this attribute.

Method Details

consume() public method

Indicate that a value will be saved by deleting it from the original data array.
public consume ( array &$changes ) : null
$changes array
return null

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.