If the current document is a child of the URL path $path, this method will return true.
$path (STRING)
BOOL
$this->document->isChildOfPath('/home/news/');
Address: 22a Fishergate York, YO10 4AB · Tel: 01904 636677 · Email: info@dotadmin.com