public function initialize($limit, $total, $qry_url = '?')
    {
        $this->limit = $limit;
        $this->total = $total;
        $this->page = !isset($_GET["page"]) ? 1 : (int) ($_GET["page"]);
        $this->startpoint = ($this->page * $this->limit) - $this->limit;
    }
public function initialize($limit, $total, $qry_url = '?')
    {
        $this->limit = $limit;
        $this->total = $total;
        $this->page = !isset($_GET["page"]) ? 1 : (int) ($_GET["page"]);
        $this->startpoint = ($this->page * $this->limit) - $this->limit;
    }
public function initialize ( $ limit , $ total , $ qry_url = '?' ) { $ this -> limit = $ limit ; $ this -> total = $ total ; $ this -> page = ! isset ( $ _GET [ "page" ] ) ? 1 : ( int ) ( $ _GET [ "page" ] ) ; $ this -> startpoint = ( $ this -> page * $ this -> limit ) - $ this -> limit ; }
Initialize Pagination instance.

@param  int  $limit
@param  int  $total
@return void
Initialize Pagination instance .