/state/groups
A view of the state module, defined in kernel/state/module.php and run by kernel/state/groups.php.
Address
/state/groups/(offset)/<Offset>Unordered parameters, in any order as /(name)/value: (offset) sets Offset.
Who may open it
The user needs this policy function:
A policy on state/* (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 |
| Single POST actions | CreateButton: Create, RemoveButton: Remove |
| POST action parameters | Remove (RemoveIDList: RemoveIDList) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/state/groups'|ezurl>state/groups</a>
<a href=concat( '/state/groups/(offset)/', 1 )|ezurl>state/groups</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/state/groups' );Related
Generated by ./console exp:help:examples from kernel/state/module.php, kernel/state/groups.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.