get_numbers_child
get_numbers_child($element_type="",$include_subchildren=false); - get the numbers of elements that are children of this element in the DOM model.
The function accepts parameters as input:
$element_type = "" - type of element to work with. Can be anchor, div, element, etc. If the parameter is not specified, the function works with all DOM elements of the page tree.
$include_subchildren - search also in all child subelements. (available since version 7.0.23)
After testing, the function returns the result of its work to the script :
element numbers – a string with the numbers of child elements separated by <br> (or the empty string if the element contains no child elements), the type of the return value stringfalse to find this element failed (e.g. no items that meet the specified criteria or not this frame)