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