NAVI Methods

link()

Create link using backend navi index.

string link([ int index [, array attr [, string label [, array dyn_link [, array qry_para [, string anchor ]]]]]])

Return

HTML code.

Parameter
Description
indexBackend's navigation index (0 = current page)
attr Link-Tag attributes (i.e. 'class' => 'classname')
labelIf no label is passed the name entered in backend will be used.
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

Create link

$NAVI->link(7)
RETURN: '<a class="alias lev2 idx7" data-index="7" href="/api/data"><span>DATA Methods</span></a>'