Method | Description | |
---|---|---|
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. | |
loadNodeValue ( DOMNode $node, Horde_Kolab_Format_Xml_Helper $helper, array $params = [] ) : mixed | null | Load the value of a node. | |
save ( string $name, array $attributes, DOMNode $parent_node, Horde_Kolab_Format_Xml_Helper $helper, array $params = [] ) : DOMNode | boolean | Update the specified attribute. |
Method | Description | |
---|---|---|
generateWriteValue ( string $name, array $attributes, array $params ) : mixed | Generate the value that should be written to the node. Override in the extending classes. |
protected generateWriteValue ( string $name, array $attributes, array $params ) : mixed | ||
$name | string | The name of the the attribute to be updated. |
$attributes | array | The data array that holds all attribute values. |
$params | array | The parameters for this write operation. |
return | mixed | The value to be written. |
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. |
return | DOMNode | boolean | The named DOMNode or false if no node value was found. |
public loadNodeValue ( DOMNode $node, Horde_Kolab_Format_Xml_Helper $helper, array $params = [] ) : mixed | null | ||
$node | DOMNode | Retrieve value for this node. |
$helper | Horde_Kolab_Format_Xml_Helper | A XML helper instance. |
$params | array | Additiona parameters for this parse operation. |
return | mixed | null | The value or null if no value was found. |
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. |
return | DOMNode | boolean | The new/updated child node or false if this failed. |