/datatable/rows
A view of the datatable module, defined in kernel/datatable/module.php and run by kernel/datatable/rows.php.
Address
/datatable/rows/<ClassName>/(offset)/<Offset>Ordered parameters, in this order after the view name: ClassName.
Unordered parameters, in any order as /(name)/value: (offset) sets Offset.
Who may open it
The user needs this policy function:
A policy on datatable/* (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 |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/datatable/rows/classname'|ezurl>datatable/rows</a>
<a href=concat( '/datatable/rows/classname/(offset)/', 1 )|ezurl>datatable/rows</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/datatable/rows/classname' );Related
Generated by ./console exp:help:examples from kernel/datatable/module.php, kernel/datatable/rows.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.