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