Pager::setOptions() – Set or change option after the Pager object has been constructed


require_once 'Pager.php';

array Pager::setOptions ( array $options )


Remember to call build() after this method to regenerate the data and the links.


  • integer $index - an associative array of options. See Pager::factory() for the full list of options.

Return value

return PAGER_OK constant on success

Creates a pager instance (Previous) Generate or refresh the links and paged data after a call to setOptions (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.