/error/view
A view of the error module, defined in kernel/error/module.php and run by kernel/error/view.php.
Address
/error/view/<Type>/<Number>/<ExtraParameters>Ordered parameters, in this order after the view name: Type, Number, ExtraParameters.
Who may open it
The view names no policy function, so the user needs a policy for the whole module: error/* (every function of the module) in one of the roles assigned to them.
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/error/view/type/1/extraparameters'|ezurl>error/view</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/error/view/type/1/extraparameters' );Related
Generated by ./console exp:help:examples from kernel/error/module.php, kernel/error/view.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.