NAVI Methods
Creating menus
menu(), submenu(), crumbs()Generating links and URLs
link(), href(), domain(), home(), language(), logout(), redirect()Navigation details
index(), details(), dynamic(), query()
href()
Create link reference from backend navi-index. When called in a multi-domain environment and if the navi-index belongs to a domain other than the current domain, the link will include the domain name.
string href([ int index [, array dyn_link [, array qry_para [, string anchor ]]]])
Return
HREF link attribute.
Parameter
Description
indexBackend's navigation index (0 = current page)
dyn_linkDynamic template parameters. Please see the section about Dynamic Templates for further details.
qry_paraQuery parameters (i.e. ?parameter=value&test=true)
anchor#anchor
Return link reference
$NAVI->href(7)
RETURN: '/api/data'