NAVI Methods
Creating menus
menu(), submenu(), crumbs()Generating links and URLs
link(), href(), domain(), home(), language(), logout(), redirect()Navigation details
index(), details(), dynamic(), query()
dynamic()
This method returns a list of the current sub-pages in a dynamic template setup. For further details please see our dynamic template example. The current page template needs to be dynamic for this function to work.
mixed dynamic([ int subpage = -1 ])
Return
Will return the name of one specific sub-page or a list of all sub-pages.
Parameter
Description
subpage-1 = all sub-pages
0 = current alias
>0 = this specific sub-page
0 = current alias
>0 = this specific sub-page
Get dynamic parameters
$NAVI->dynamic()
RETURN: ARRAY [0]