get_all_child_by_inner_text
get_all_child_by_inner_text($inner_text,$exactly=false,$include_subchildren=false); - get all child interfaces of the DOM element with the specified internal text (available from version 4.9.34)
the input Function accepts parameters:
$inner_text – internal text (string). $exactly – exact match of the internal text when searching for elements (boolean), by default true - the internal text of the elements must completely match the passed parameter ($inner_text). if this parameter is set as false, all elements containing the specified string will be found in the internal text ($inner_text).$include_subchildren – also search for all child subelements. (available from version 7.0.23)
After testing, the function returns the result of its work to the script :
list of DOM interfaces of elements – an object that allows you to quickly perform any operations with all found elements (in fact, an array of interfaces to DOM elements that allows you to perform all operations together, which can be performed separately), the return value type XHEInterfaces