Structures_DataGrid
[ class tree: Structures_DataGrid ] [ index: Structures_DataGrid ] [ all elements ]

Source for file fill-pager.php

Documentation is available at fill-pager.php

  1. <?php
  2.  
  3. require_once 'Pager/Pager.php';
  4.  
  5. // Create a Pager object with your own options
  6. $pager =Pager::factory($options);
  7.  
  8. // fill() sets the $pager object up, according to your data and settings
  9. $datagrid->fill($pager);
  10.  
  11. // Render the paging links 
  12. echo $pager->links;
  13.  
  14. // Or a select field if you like that
  15. echo $pager->getpageselectbox();
  16.  
  17. ?>

Documentation generated on Mon, 11 Mar 2019 15:47:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.