/mailpreferences/settings
A view of the mailpreferences module, defined in kernel/mailpreferences/module.php and run by kernel/mailpreferences/settings.php.
Address
/mailpreferences/settingsWho may open it
Listed in settings/site.ini [RoleSettings] PolicyOmitList[]: no policy is checked, everyone may open it.
The view names no policy function, so the user needs a policy for the whole module: mailpreferences/* (every function of the module) in one of the roles assigned to them.
Details
| Key | Value |
|---|---|
| Navigation part | ezmynavigationpart |
| Single POST actions | StoreButton: Store, AllOffButton: AllOff, AllOnButton: AllOn |
| POST action parameters | Store (Category: Category, Frequency: Frequency, Master: Master) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/mailpreferences/settings'|ezurl>mailpreferences/settings</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/mailpreferences/settings' );Related
Generated by ./console exp:help:examples from kernel/mailpreferences/module.php, kernel/mailpreferences/settings.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.