/user/unactivated
A view of the user module, defined in kernel/user/module.php and run by kernel/user/unactivated.php.
Address
/user/unactivated/<SortField>/<SortOrder>/(offset)/<Offset>/(q)/<Query>Ordered parameters, in this order after the view name: SortField, SortOrder.
Unordered parameters, in any order as /(name)/value: (offset) sets Offset, (q) sets Query.
Who may open it
The user needs this policy function:
A policy on user/* (every function) also grants it; limitations of the policy (section, subtree, class ...) still apply where the view checks them.
Details
| Key | Value |
|---|---|
| Navigation part | ezusernavigationpart |
| UI context | administration |
| Single POST actions | ActivateButton: ActivateUsers, RemoveButton: RemoveUsers, ResendButton: ResendActivation, RemoveAllButton: RemoveAllUsers |
| POST action parameters | ActivateUsers (UserIDs: DeleteIDArray), RemoveUsers (UserIDs: DeleteIDArray), ResendActivation (UserIDs: DeleteIDArray) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/user/unactivated/sortfield/sortorder'|ezurl>user/unactivated</a>
<a href=concat( '/user/unactivated/sortfield/sortorder/(offset)/', 1 )|ezurl>user/unactivated</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/user/unactivated/sortfield/sortorder' );Related
Generated by ./console exp:help:examples from kernel/user/module.php, kernel/user/unactivated.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.