Crawler::nextAll()

Crawler nextAll() Returns the next siblings nodes of the current selection. Return Value Crawler A Crawler instance with the next sibling nodes Exceptions InvalidArgumentException When current node is empty

Crawler::links()

Link[] links() Returns an array of Link objects for the nodes in the list. Return Value Link[] An array of Link instances Exceptions InvalidArgumentException If the current node list contains non-DOMElement instances

Crawler::link()

Link link(string $method = 'get') Returns a Link object for the first node in the list. Parameters string $method The method for the link (get by default) Return Value Link A Link instance Exceptions InvalidArgumentException If the current node list is empty or the selected node is not instance of DOMElement

Crawler::last()

Crawler last() Returns the last node of the current selection. Return Value Crawler A Crawler instance with the last selected node

Crawler::images()

Image[] images() Returns an array of Image objects for the nodes in the list. Return Value Image[] An array of Image instances

Crawler::image()

Image image() Returns an Image object for the first node in the list. Return Value Image An Image instance Exceptions InvalidArgumentException If the current node list is empty

Crawler::html()

string html() Returns the first node of the list as HTML. Return Value string The node html Exceptions InvalidArgumentException When current node is empty

Crawler::getUri()

string getUri() Returns the current URI. Return Value string

Crawler::getNode()

DOMElement|null getNode(int $position) Parameters int $position Return Value DOMElement|null

Crawler::getIterator()

ArrayIterator getIterator() Return Value ArrayIterator