PHP 클래스 Horde_Kolab_Format_Xml_Type_Root, horde

Copyright 2011-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_Format_Xml_Type_Composite
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$merge boolean Should the velues be merged into the parent attributes?
$value integer Indicate which value type is expected.

공개 메소드들

메소드 설명
load ( string $name, &$attributes, DOMNode $parent_node, Horde_Kolab_Format_Xml_Helper $helper, array $params = [] ) : DOMNode | boolean Load the node value from the Kolab object.
save ( string $name, array $attributes, DOMNode $parent_node, Horde_Kolab_Format_Xml_Helper $helper, array $params = [] ) : DOMNode | boolean Update the specified attribute.

비공개 메소드들

메소드 설명
_prepareCompositeParameters ( &$params, string $version ) : null Prepare the parameters for the parent composite handler.

메소드 상세

load() 공개 메소드

Load the node value from the Kolab object.
public load ( string $name, &$attributes, DOMNode $parent_node, Horde_Kolab_Format_Xml_Helper $helper, array $params = [] ) : DOMNode | boolean
$name string The name of the the attribute to be fetched.
$parent_node DOMNode The parent node of the node to be loaded.
$helper Horde_Kolab_Format_Xml_Helper A XML helper instance.
$params array Additiona parameters for this parse operation.
리턴 DOMNode | boolean The named DOMNode or false if no node value was found.

save() 공개 메소드

Update the specified attribute.
public save ( string $name, array $attributes, DOMNode $parent_node, Horde_Kolab_Format_Xml_Helper $helper, array $params = [] ) : DOMNode | boolean
$name string The name of the the attribute to be updated.
$attributes array The data array that holds all attribute values.
$parent_node DOMNode The parent node of the node that should be updated.
$helper Horde_Kolab_Format_Xml_Helper A XML helper instance.
$params array Additional parameters for this write operation.
리턴 DOMNode | boolean The new/updated child node or false if this failed.

프로퍼티 상세

$merge 보호되어 있는 프로퍼티

Should the velues be merged into the parent attributes?
protected bool $merge
리턴 boolean

$value 보호되어 있는 프로퍼티

Indicate which value type is expected.
protected int $value
리턴 integer