get_parent
get_parent($level=1); - get the interface of the parent DOM element (available from version 4.6.41)
the input Function accepts parameters:
$level – parent level (int). (available from version 7.0.38)
After testing, the function returns the result of its work to the script :
DOM element interface – an object that allows you to quickly perform any operations with the found element, the return value type XHEInterface