NAVI Methods
Creating menus
menu(), submenu(), crumbs()Generating links and URLs
link(), href(), domain(), home(), language(), logout(), redirect()Navigation details
index(), details(), dynamic(), query()
details()
Return backend navigation settings. For a list of all data returned, see our navigation details example.
mixed details([ string field [, int index ]])
Return
Navigation details for one specific field or a list of all details
Parameter
Description
fieldReturn specific field value. If left empty all fields will be returned.
indexMenu-index (0 = return current navi item values)
Return data of current page
$NAVI->details()
Array
(
[name] => details()
[alias] => details
[index] => 85
[intern] => 0
[parent] => 53
[type] => 0
[file] =>
[directory] => /data/public/
[group] => navi_main
[level] => 3
[domain] => developer.opus9.org
[subdir] => api/navi/
[language] => en
[active] => 2
[hidden] =>
[target] =>
[template] => html_page
[views] => Array
(
)[robots] =>
[title] =>
[claim] =>
[description] =>
[keywords] =>
)
Return navigation name field
$NAVI->details('name')
RETURN: 'details()'
Return details of any navigation index
$NAVI->details('name', 7)
RETURN: 'DATA Methods'
Get all details of any navigation-index
$NAVI->details(false, 7)
Array
(
[name] => DATA Methods
[alias] => data
[index] => 7
[intern] => 0
[parent] => 12
[type] => 0
[file] =>
[directory] => /data/public/
[group] => navi_main
[level] => 2
[domain] => developer.opus9.org
[subdir] => api/
[language] => en
[active] => 0
[hidden] =>
[target] =>
[template] => html_page
[views] => Array
(
)[robots] =>
[title] =>
[claim] =>
[description] =>
[keywords] =>
)