- property-read int $length
- property-read string[] $outertext
- property-read string[] $plaintext
- extends \IteratorAggregate<int, SimpleHtmlDomInterface>
AbstractInterface
- Implements
IteratorAggregate Stringable Traversable
Methods |
public abstract __get( $name)
|
public abstract __invoke( $selector, $idx = NULL)
|
public abstract __toString() : string
|
public abstract count() Get the number of items in this dom node.
|
public abstract find(string $selector, $idx = NULL) Find list of nodes with a CSS selector.
|
public abstract findMulti(string $selector) : self 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 innerHtml() : array Get html of elements.
|
public abstract innertext() alias for "$this->innerHtml()" (added for compatibly-reasons with v1.x)
|
public abstract outertext() alias for "$this->innerHtml()" (added for compatibly-reasons with v1.x)
|
public abstract text() : array Get plain text.
|