PHP Класс Horde_Kolab_Format_Xml_Type_String_Empty_List, horde

Copyright 2012-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.
Автор: Jan Schneider ([email protected])
Наследование: extends Horde_Kolab_Format_Xml_Type_String_Empty
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$default array A default value if required.

Открытые методы

Метод Описание
loadNodeValue ( DOMNode $node, Horde_Kolab_Format_Xml_Helper $helper, array $params = [] ) : mixed | null Load the value of a node.

Защищенные методы

Метод Описание
_escapeString ( string $value ) : string Escapes a string to fit into a comma-separated string.
_unescapeString ( string $value ) : string Unescapes a string from a comma-separated string.
generateWriteValue ( string $name, array $attributes, array $params ) : mixed Generate the value that should be written to the node. Override in the extending classes.

Описание методов

_escapeString() защищенный Метод

Escapes a string to fit into a comma-separated string.
protected _escapeString ( string $value ) : string
$value string The original value.
Результат string The escaped value.

_unescapeString() защищенный Метод

Unescapes a string from a comma-separated string.
protected _unescapeString ( string $value ) : string
$value string The original value.
Результат string The unescaped value.

generateWriteValue() защищенный Метод

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.
Результат mixed The value to be written.

loadNodeValue() публичный Метод

Load the value of a node.
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.
Результат mixed | null The value or null if no value was found.

Описание свойств

$default защищенное свойство

A default value if required.
protected array $default
Результат array