- property string $outertext
- property string $outerhtml
- property string $innertext
- property string $innerhtml
- property string $plaintext
- property-read string $tag
- property-read string $attr
- property-read string $text
- property-read string $html
- extends \IteratorAggregate<int,\DOMNode>
- Implements
IteratorAggregate Stringable Traversable
Methods |
public abstract __call( $name, $arguments)
|
public abstract __get( $name)
|
public abstract __invoke( $selector, $idx = NULL)
|
public abstract __isset( $name)
|
public abstract __toString() : string
|
public abstract childNodes(int $idx = -1) Returns children of node.
|
public abstract find(string $selector, $idx = NULL) Find list of nodes with a CSS or xPath selector.
|
public abstract findMulti(string $selector) : voku Find nodes with a CSS or xPath selector.
|
public abstract findMultiOrFalse(string $selector) Find nodes with a CSS or xPath selector or false, if no element is found.
|
public abstract findOne(string $selector) : self Find one node with a CSS or xPath selector.
|
public abstract findOneOrFalse(string $selector) Find one node with a CSS or xPath selector or false, if no element is found.
|
public abstract firstChild() Returns the first child of node.
|
public abstract getAllAttributes() Returns an array of attributes.
|
public abstract getAttribute(string $name) : string Return attribute value.
|
public abstract getElementByClass(string $class) Return elements by ".class".
|
public abstract getElementById(string $id) : self Return element by "#id".
|
public abstract getElementByTagName(string $name) : self 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 getIterator() : voku Retrieve an external iterator.
|
public abstract getNode() : DOMNode
|
public abstract getXmlDomParser() : voku Create a new "XmlDomParser"-object from the current context.
|
public abstract hasAttribute(string $name) : bool Determine if an attribute exists on the element.
|
public abstract hasAttributes() : bool
|
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 html.
|
public abstract isRemoved() : bool Nodes can get partially destroyed in which they're still an
actual DOM node (such as \DOMElement) but almost their entire
body is gone, including the
|
public abstract lastChild() Returns the last child of node.
|
public abstract nextNonWhitespaceSibling() Returns the next sibling of node.
|
public abstract nextSibling() Returns the next sibling of node.
|
public abstract parentNode() : self Returns the parent of node.
|
public abstract previousNonWhitespaceSibling() Returns the previous sibling of node.
|
public abstract previousSibling() Returns the previous sibling of node.
|
public abstract removeAttribute(string $name) : self Remove attribute.
|
public abstract setAttribute(string $name, $value = NULL, bool $strictEmptyValueCheck = false) : self Set attribute value.
|
public abstract text() : string Get dom node's plain text.
|
public abstract val( $value = NULL)
|
public abstract xml(bool $multiDecodeNewHtmlEntity = false) : string Get dom node's outer html.
|