PHP 클래스 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.
상속: extends Horde_Kolab_Server_Object_Attribute_Decorator
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__construct ( Horde_Kolab_Server_Object_Attribute $attribute, mixed $default ) Constructor
update ( array $changes ) : array Return the new internal state for this attribute.

메소드 상세

__construct() 공개 메소드

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() 공개 메소드

Return the new internal state for this attribute.
public update ( array $changes ) : array
$changes array The object data that should be updated.
리턴 array The resulting internal state.