Administration

Block core/ini/router_links

class B_core__ini__router_links extends B_core__ini__router

Description

Extract links from router's config file and build menu from them. Useful
when website navigation is not finished yet. Works well with core/out/menu.

Inputs

InputDefault valueDefault connectionComment
confignullConfiguration or filename where configuration is.
flat_listfalseBuild flat listing instead of tree structure
title_key'title'Key used for title in menu item
title_fmt'{title}'Format of title (use any variable set in routes)
link_key'link'Key used for link in menu item
link_fmt'{ROUTE}'Format of title (use any variable set in routes)
children_key'children_key'Key used for nesting children items
enable_keynullThis value must be set to show the item

Outputs

OutputComment
links
done

Cascade