Show
Ignore:
Timestamp:
02/04/2008 10:13:16 AM (11 months ago)
Author:
PugFish
Message:

A load more comments converted.
Fixed escaping error in fr_FR i18n file.
Fixed wrong closing tag in disabled error view.

Files:
1 modified

Legend:

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

    r1905 r1911  
    11<?php defined('SYSPATH') or die('No direct script access.'); 
    22/** 
    3  * Class: Pagination 
     3 * Pagination library. 
    44 * 
    5  * Kohana Source Code: 
    6  *  author    - Kohana Team 
    7  *  copyright - (c) 2007 Kohana Team 
    8  *  license   - <http://kohanaphp.com/license.html> 
     5 * $Id$ 
     6 * 
     7 * @package    Core 
     8 * @author     Kohana Team 
     9 * @copyright  (c) 2007-2008 Kohana Team 
     10 * @license    http://kohanaphp.com/license.html 
    911 */ 
    1012class Pagination_Core { 
     
    3436         * Constructs the Pagination object. 
    3537         * 
    36          * @param  array  configuration 
    37          * @return void 
     38         * @param   array  configuration 
     39         * @return  void 
    3840         */ 
    3941        public function __construct($config = array()) 
     
    5052         * Sets or overwrites (some) config values. 
    5153         * 
    52          * @param  array  configuration 
    53          * @return void 
     54         * @param   array  configuration 
     55         * @return  void 
    5456         */ 
    5557        public function initialize($config = array()) 
     
    112114         * Generates the HTML for the chosen pagination style. 
    113115         * 
    114          * @param  string  pagination style 
    115          * @return string  pagination html 
     116         * @param   string  pagination style 
     117         * @return  string  pagination html 
    116118         */ 
    117119        public function create_links($style = NULL) 
     
    125127         * Magically converts pagination object to string. 
    126128         * 
    127          * @return string  pagination html 
     129         * @return  string  pagination html 
    128130         */ 
    129131        public function __toString() 
     
    135137         * Magically gets a pagination variable. 
    136138         * 
    137          * @param  string  variable key 
    138          * @return mixed   variable value if the key is found 
    139          * @return void    if the key is not found 
     139         * @param   string  variable key 
     140         * @return  mixed   variable value if the key is found 
     141         * @return  void    if the key is not found 
    140142         */ 
    141143        public function __get($key) 
     
    148150         * Gets the SQL offset of the first row to return. Deprecated. 
    149151         * 
    150          * @return integer  sql offset 
     152         * @return  integer  sql offset 
    151153         */ 
    152154        public function sql_offset() 
     
    158160         * Generates the complete SQL LIMIT clause. Deprecated. 
    159161         * 
    160          * @return string  sql limit clause 
     162         * @return  string  sql limit clause 
    161163         */ 
    162164        public function sql_limit()