/secrets/list
A view of the secrets module, defined in kernel/secrets/module.php and run by kernel/secrets/list.php.
Address
/secrets/list/(scope)/<Scope>Unordered parameters, in any order as /(name)/value: (scope) sets Scope.
Who may open it
The user needs this policy function:
A policy on secrets/* (every function) also grants it; limitations of the policy (section, subtree, class ...) still apply where the view checks them.
Details
| Key | Value |
|---|---|
| Navigation part | ezsetupnavigationpart |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/secrets/list'|ezurl>secrets/list</a>
<a href=concat( '/secrets/list/(scope)/', 1 )|ezurl>secrets/list</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/secrets/list' );Related
Generated by ./console exp:help:examples from kernel/secrets/module.php, kernel/secrets/list.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.