You are here

function pager_example_menu in Examples for Developers 7

Implements hook_menu().

Related topics

File

pager_example/pager_example.module, line 34
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_menu() {
  $items['examples/pager_example'] = array(
    'title' => 'Pager example',
    'description' => 'Show a page with a long list across multiple pages',
    'page callback' => 'pager_example_page',
    'access callback' => TRUE,
  );
  return $items;
}