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