Method: getNodeNavByPath($path , [$params])

Returns an InvNodeNav object for node whose index document_path is $path, or null on error.

$params may contain an array of conditions by which to filter the nav results. Functionally identical to the $params argument passed to getNodeNav()

Arguments:

$path (STRING)
$params (ARRAY) optional - defaults to NULL

Returns:

OBJECT

Example:

$this->getNodeNavByPath('/news');

Example 2:

$this->getNodeNavByPath('/news' , array( 'tags'=>array('tag1,'tag2'),'documenttype_id'=>array(1,2) ) );

Contact Us

Address: 22a Fishergate York, YO10 4AB · Tel: 01904 636677 · Email: info@dotadmin.com