Ferreteria/v0.5/@cls/cNav/choicematches
< Ferreteria | v0.5 | @cls | cNav
Jump to navigation
Jump to search
menu\cNav::ChoiceMatches(cLocal $oi) |
- file: menu/nav.php
- RULES: Every request-target must have a unique key by which it identifies the URL-part targeting it. This key is called the "choice key".
- INPUT: $oi is the Collection representing the request data.
Scenarios
1.
- REQUEST is page:wfproj
- TARGET DROPIN ITEM has
- name: wfproj
- choice key: page
2.
- REQUEST is
page:wfproj/id:12/do:edit
- TARGET DROPIN ITEM has
- name: wfproj
- choice key: page
- TARGET MENU ITEM has
- choice key: do
- choice val: edit