PHP Class eZ\Publish\Core\REST\Common\Input\Handler\Xml

Inheritance: extends eZ\Publish\Core\REST\Common\Input\Handler
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
convert ( string $string ) : array Converts the given string to an array structure.

Méthodes protégées

Méthode Description
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.

Method Details

castScalarValue() protected méthode

Attempts to cast the given $stringValue into a sensible scalar type.
protected castScalarValue ( string $stringValue ) : mixed
$stringValue string
Résultat mixed

convert() public méthode

Converts the given string to an array structure.
public convert ( string $string ) : array
$string string
Résultat array

convertDom() protected méthode

Converts DOM nodes to array structures.
protected convertDom ( DOMNode $node ) : array
$node DOMNode
Résultat array

parseFieldTypeHash() protected méthode

protected parseFieldTypeHash ( DOMElement $domElement ) : array | string | null
$domElement DOMElement
Résultat array | string | null

parseFieldTypeValues() protected méthode

Parses a node list of elements.
protected parseFieldTypeValues ( DOMNodeList $valueNodes ) : array | string
$valueNodes DOMNodeList
Résultat array | string

Property Details

$fieldTypeHashElements protected_oe property

protected $fieldTypeHashElements

$forceList protected_oe property

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
Résultat array