- property-read phpDocumentor
\Reflection $length <p>The list items count.</p>\Types \Integer - property-read phpDocumentor
\Reflection $outertext <p>Get dom node's outer html.</p>\Types \Array_ - property-read phpDocumentor
\Reflection $plaintext <p>Get dom node's plain text.</p>\Types \Array_ - extends \IteratorAggregate<int, SimpleXmlDomInterface>
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 or xPath selector.
|
public abstract findMulti(string $selector) : self Find nodes with a CSS or xPath selector.
|
public abstract findMultiOrFalse(string $selector) Find nodes with a CSS or xPath selector.
|
public abstract findOne(string $selector) 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 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. |