$nodetype
$nodetype :
simple html dom node PaperG - added ability for "find" routine to lowercase the value of the selector.
PaperG - added $tag_start to track the start position of the tag in the total byte index
$children : array<mixed,\simplehtmldom_1_5\simple_html_dom_node>
__construct(\simplehtmldom_1_5\simple_html_dom $dom)
\simplehtmldom_1_5\simple_html_dom | $dom |
find(string $selector, integer|null $idx = null, boolean $lowercase = false) : array<mixed,\simplehtmldom_1_5\simple_html_dom_node>|\simplehtmldom_1_5\simple_html_dom_node|null
find elements by css selector PaperG - added ability for find to lowercase the value of the selector.
string | $selector | |
integer|null | $idx | |
boolean | $lowercase |
get_display_size() : array
Function to try a few tricks to determine the displayed size of an img on the page.
NOTE: This will ONLY work on an IMG tag. Returns FALSE on all other tag types.
an array containing the 'height' and 'width' of the image on the page or -1 if we can't figure it out.