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