Pager::setOptions

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

Synopsis

require_once 'Pager.php';

array Pager::setOptions ( array $options )

Description

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

Parameter

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

Return value

return PAGER_OK constant on success