/collaboration/action
A view of the collaboration module, defined in kernel/collaboration/module.php and run by kernel/collaboration/action.php.
Address
/collaboration/actionWho 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 |
| POST action parameters | Custom (TypeIdentifer: CollaborationTypeIdentifier, ItemID: CollaborationItemID) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/collaboration/action'|ezurl>collaboration/action</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/collaboration/action' );Related
Generated by ./console exp:help:examples from kernel/collaboration/module.php, kernel/collaboration/action.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.