AbstractInterface
Methods |
public abstract find(string $selector, $idx = NULL) Find list of nodes with a CSS selector.
|
public abstract findMulti(string $selector) Find nodes with a CSS selector.
|
public abstract findMultiOrFalse(string $selector) Find nodes with a CSS selector or false, if no element is found.
|
public abstract findOne(string $selector) Find one node with a CSS selector.
|
public abstract findOneOrFalse(string $selector) Find one node with a CSS selector or false, if no element is found.
|
public abstract fixHtmlOutput(string $content, bool $multiDecodeNewHtmlEntity = false, bool $putBrokenReplacedBack = true) : string
|
public abstract getDocument() : DOMDocument
|
public abstract getElementByClass(string $class) Return elements by ".class".
|
public abstract getElementById(string $id) Return element by #id.
|
public abstract getElementByTagName(string $name) Return element by tag name.
|
public abstract getElementsById(string $id, $idx = NULL) Returns elements by "#id".
|
public abstract getElementsByTagName(string $name, $idx = NULL) Returns elements by tag name.
|
public abstract html(bool $multiDecodeNewHtmlEntity = false, bool $putBrokenReplacedBack = true) : string Get dom node's outer html.
|
public abstract innerHtml(bool $multiDecodeNewHtmlEntity = false, bool $putBrokenReplacedBack = true) : string Get dom node's inner html.
|
public abstract innerXml(bool $multiDecodeNewHtmlEntity = false) : string Get dom node's inner xml.
|
public abstract loadHtml(string $html, $libXMLExtraOptions = NULL) : self Load HTML from string.
|
public abstract loadHtmlFile(string $filePath, $libXMLExtraOptions = NULL) : self Load HTML from file.
|
public abstract save(string $filepath = '') : string Save the html-dom as string.
|
public abstract set_callback( $functionName)
|
public abstract text(bool $multiDecodeNewHtmlEntity = false) : string Get dom node's plain text.
|
public abstract xml(bool $multiDecodeNewHtmlEntity = false, bool $htmlToXml = true, bool $removeXmlHeader = true, int $options = 4LIBXML_NOEMPTYTAG) : string Get the HTML as XML or plain XML if needed.
|