API docs     >     Pages and Sites     >     Templates

Templates->getNavisFromFile

Description

getNavisFromFile ( $templateId )
Gets all Navigations from a Template file

Parameters

$templateId
int
Template Id

Returns

array|false
Array of Navigations or FALSE in case of an error
  1. array(
  2.     [0] => array(
  3.         ['CODE'] => 'menu_main'
  4.     )
  5.     ...
  6. )