PHP 트레잇 FluentDOM\Node\ParentNode\Implementation

파일 보기 프로젝트 열기: fluentdom/fluentdom

공개 메소드들

메소드 설명
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

메소드 상세

append() 공개 메소드

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

appendChild() 추상적인 공개 메소드

abstract public appendChild ( DOMNode $newChild )
$newChild DOMNode

getFirstElementChild() 공개 메소드

Returns the first element child node
public getFirstElementChild ( ) : Element | null
리턴 FluentDOM\Element | null

getLastElementChild() 공개 메소드

Returns the last element child node
public getLastElementChild ( ) : Element | null
리턴 FluentDOM\Element | null

insertBefore() 추상적인 공개 메소드

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

prepend() 공개 메소드

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