lib/pagination.php
public function setLimit($limit) {
        if(is_numeric($limit))
            $this->items_per_page = $limit;
        $this->setCurrent( self::findCurrentPage($this->routeKey));
    }
public function setLimit($limit) {
        if(is_numeric($limit))
            $this->items_per_page = $limit;
        $this->setCurrent( self::findCurrentPage($this->routeKey));
    }
public function setLimit ( $ limit ) { if ( is_numeric ( $ limit ) ) $ this -> items_per_page = $ limit ; $ this -> setCurrent ( self :: findCurrentPage ( $ this -> routeKey ) ) ; }
set maximum items shown on one page
@param $limit int
set maximum items shown on one page