/settings/view
A view of the settings module, defined in kernel/settings/module.php and run by kernel/settings/view.php.
Address
/settings/view/<SiteAccess>/<INIFile>/(q)/<Query>/(scope)/<Scope>/(changed)/<Changed>/(compare)/<Compare>Ordered parameters, in this order after the view name: SiteAccess, INIFile.
Unordered parameters, in any order as /(name)/value: (q) sets Query, (scope) sets Scope, (changed) sets Changed, (compare) sets Compare.
Who may open it
The view names no policy function, so the user needs a policy for the whole module: settings/* (every function of the module) in one of the roles assigned to them.
Details
| Key | Value |
|---|---|
| Navigation part | ezsetupnavigationpart |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/settings/view/siteaccess/inifile'|ezurl>settings/view</a>
<a href=concat( '/settings/view/siteaccess/inifile/(q)/', 1 )|ezurl>settings/view</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/settings/view/siteaccess/inifile' );Related
Generated by ./console exp:help:examples from kernel/settings/module.php, kernel/settings/view.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.