/**
  * The threshold parameter can be used to determine how far ahead the pager
  * should fetch results.
  *
  * If set to 1 which is the minimal value the pager will generate a link to the next page
  * If set to 2 the pager will generate links to the next two pages
  * If set to 3 the pager will generate links to the next three pages
  * etc.
  *
  * @param int $maxPerPage Number of records to display per page
  * @param int $threshold
  */
 public function __construct($maxPerPage = 10, $threshold = 1)
 {
     parent::__construct($maxPerPage);
     $this->setThreshold($threshold);
 }