PHP Class PHPHtmlParser\Dom\MockNode

This object is not to be used for any other reason.
Inheritance: extends InnerNode
Mostra file Open project: paquettg/php-html-parser Class Usage Examples

Public Methods

Method Description
innerHtml ( ) Mock of innner html.
outerHtml ( ) Mock of outer html.
text ( ) Mock of text.

Protected Methods

Method Description
clear ( ) Clear content of this node
getIteratorArray ( ) : array Returns all children of this html node.

Method Details

clear() protected method

Clear content of this node
protected clear ( )

getIteratorArray() protected method

Returns all children of this html node.
protected getIteratorArray ( ) : array
return array

innerHtml() public method

Mock of innner html.
public innerHtml ( )

outerHtml() public method

Mock of outer html.
public outerHtml ( )

text() public method

Mock of text.
public text ( )