PHP Класс eZ\Publish\Core\REST\Common\Input\Handler\Xml

Наследование: extends eZ\Publish\Core\REST\Common\Input\Handler
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$fieldTypeHashElements
$forceList array The key defines the item in which a list is formed. A list is then formed for every value in the value array.

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

Метод Описание
convert ( string $string ) : array Converts the given string to an array structure.

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

Метод Описание
castScalarValue ( string $stringValue ) : mixed Attempts to cast the given $stringValue into a sensible scalar type.
convertDom ( DOMNode $node ) : array Converts DOM nodes to array structures.
parseFieldTypeHash ( DOMElement $domElement ) : array | string | null
parseFieldTypeValues ( DOMNodeList $valueNodes ) : array | string Parses a node list of elements.

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

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

Attempts to cast the given $stringValue into a sensible scalar type.
protected castScalarValue ( string $stringValue ) : mixed
$stringValue string
Результат mixed

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

Converts the given string to an array structure.
public convert ( string $string ) : array
$string string
Результат array

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

Converts DOM nodes to array structures.
protected convertDom ( DOMNode $node ) : array
$node DOMNode
Результат array

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

protected parseFieldTypeHash ( DOMElement $domElement ) : array | string | null
$domElement DOMElement
Результат array | string | null

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

Parses a node list of elements.
protected parseFieldTypeValues ( DOMNodeList $valueNodes ) : array | string
$valueNodes DOMNodeList
Результат array | string

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

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

protected $fieldTypeHashElements

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

The key defines the item in which a list is formed. A list is then formed for every value in the value array.
protected array $forceList
Результат array