PHP Trait FluentDOM\Node\ParentNode\Implementation

Afficher le fichier Open project: fluentdom/fluentdom

Méthodes publiques

Méthode Description
append ( mixed $nodes ) Append nodes as children to the node itself
appendChild ( DOMNode $newChild )
getFirstElementChild ( ) : Element | null Returns the first element child node
getLastElementChild ( ) : Element | null Returns the last element child node
insertBefore ( DOMNode $newChild, DOMNode $refChild = NULL )
prepend ( mixed $nodes ) Insert nodes before the first child node

Method Details

append() public méthode

Append nodes as children to the node itself
public append ( mixed $nodes )
$nodes mixed

appendChild() abstract public méthode

abstract public appendChild ( DOMNode $newChild )
$newChild DOMNode

getFirstElementChild() public méthode

Returns the first element child node
public getFirstElementChild ( ) : Element | null
Résultat FluentDOM\Element | null

getLastElementChild() public méthode

Returns the last element child node
public getLastElementChild ( ) : Element | null
Résultat FluentDOM\Element | null

insertBefore() abstract public méthode

abstract public insertBefore ( DOMNode $newChild, DOMNode $refChild = NULL )
$newChild DOMNode
$refChild DOMNode

prepend() public méthode

Insert nodes before the first child node
public prepend ( mixed $nodes )
$nodes mixed