/collaboration/view
A view of the collaboration module, defined in kernel/collaboration/module.php and run by kernel/collaboration/view.php.
Address
/collaboration/view/<ViewMode>/(language)/<Language>/(offset)/<Offset>/(status)/<Status>/(role)/<Role>/(type)/<Type>/(group)/<Group>Ordered parameters, in this order after the view name: ViewMode.
Unordered parameters, in any order as /(name)/value: (language) sets Language, (offset) sets Offset, (status) sets Status, (role) sets Role, (type) sets Type, (group) sets Group.
Who may open it
The view names no policy function, so the user needs a policy for the whole module: collaboration/* (every function of the module) in one of the roles assigned to them.
Details
| Key | Value |
|---|---|
| Navigation part | ezmynavigationpart |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/collaboration/view/viewmode'|ezurl>collaboration/view</a>
<a href=concat( '/collaboration/view/viewmode/(language)/', 1 )|ezurl>collaboration/view</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/collaboration/view/viewmode' );Related
Generated by ./console exp:help:examples from kernel/collaboration/module.php, kernel/collaboration/view.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.