You are here

function pager_example_help in Examples for Developers 7

Implements hook_help().

Related topics

File

pager_example/pager_example.module, line 24
This is an example describing how a module can implement a pager in order to reduce the number of output rows to the screen and allow a user to scroll through multiple screens of output.

Code

function pager_example_help($path, $arg) {
  switch ($path) {
    case 'examples/pager_example':
      return '<p>' . t('The layout here is a themed as a table with a default limit of 10 rows per page. The limit can be changed in the code by changing the limit to some other value.  This can be extended to add a filter form as well so the user can choose how many they would like to see on each screen.') . '</p>';
  }
}