PHP Class eZ\Publish\Core\FieldType\RichText\Converter\Render\Template

Inheritance: extends eZ\Publish\Core\FieldType\RichText\Converter\Render, implements eZ\Publish\Core\FieldType\RichText\Converter
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
convert ( DOMDocument $document ) : DOMDocument Injects rendered payloads into template tag elements.

Méthodes protégées

Méthode Description
getNodeDepth ( DomNode $node ) : integer Returns depth of given $node in a DOMDocument.
isWrapped ( DomNode $node ) : boolean Returns if the given $node is wrapped inside another template node.
processTag ( DOMDocument $document, DOMElement $tag ) Processes given template $tag in a given $document.
saveNodeXML ( DOMNode $node ) : string Returns XML fragment string for given $node.

Method Details

convert() public méthode

Injects rendered payloads into template tag elements.
public convert ( DOMDocument $document ) : DOMDocument
$document DOMDocument
Résultat DOMDocument

getNodeDepth() protected méthode

Returns depth of given $node in a DOMDocument.
protected getNodeDepth ( DomNode $node ) : integer
$node DomNode
Résultat integer

isWrapped() protected méthode

Returns if the given $node is wrapped inside another template node.
protected isWrapped ( DomNode $node ) : boolean
$node DomNode
Résultat boolean

processTag() protected méthode

Processes given template $tag in a given $document.
protected processTag ( DOMDocument $document, DOMElement $tag )
$document DOMDocument
$tag DOMElement

saveNodeXML() protected méthode

Returns XML fragment string for given $node.
protected saveNodeXML ( DOMNode $node ) : string
$node DOMNode
Résultat string