Show
Ignore:
Timestamp:
11/25/2007 04:09:46 AM (12 months ago)
Author:
Geert
Message:

Fixing bugs #236, #237 and #239.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Pagination.php

    r1230 r1258  
    145145 
    146146        /** 
    147          * Method: url 
    148          *  Gets the base_url with the specified page number. 
    149          * 
    150          * Parameters: 
    151          *  page - page number 
    152          * 
    153          * Returns: 
    154          *  Base URL with specified page number. 
    155          */ 
    156         public function url($page = NULL) 
    157         { 
    158                 $page = (int) (isset($page)) ? $page : $this->current_page; 
    159  
    160                 return str_replace('{page}', $page, $this->base_url); 
    161         } 
    162  
    163         /** 
    164147         * Method: sql_offset 
    165148         *  Gets the SQL offset of the first row to return.