Method: getLinks([$refresh])

Returns an array of nav links. Each array item will be an InvNavLink object. If $refresh=true, the method refreshes the nav object's internal cache from the database first.

Arguments:

Array of Link Objects

Returns:

ARRAY of InvLink OBJECTs

Example:

$nav->getLinks()

if($nav = $this->getNav(2)){
	foreach($nav->getLinks() as $link){
		echo $link->getTitle();
	}
}

Contact Us

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