Changeset 1911 for trunk/system/libraries/Pagination.php
- Timestamp:
- 02/04/2008 10:13:16 AM (11 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Pagination.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Pagination.php
r1905 r1911 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * Class: Pagination3 * Pagination library. 4 4 * 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 9 11 */ 10 12 class Pagination_Core { … … 34 36 * Constructs the Pagination object. 35 37 * 36 * @param array configuration37 * @return void38 * @param array configuration 39 * @return void 38 40 */ 39 41 public function __construct($config = array()) … … 50 52 * Sets or overwrites (some) config values. 51 53 * 52 * @param array configuration53 * @return void54 * @param array configuration 55 * @return void 54 56 */ 55 57 public function initialize($config = array()) … … 112 114 * Generates the HTML for the chosen pagination style. 113 115 * 114 * @param string pagination style115 * @return string pagination html116 * @param string pagination style 117 * @return string pagination html 116 118 */ 117 119 public function create_links($style = NULL) … … 125 127 * Magically converts pagination object to string. 126 128 * 127 * @return string pagination html129 * @return string pagination html 128 130 */ 129 131 public function __toString() … … 135 137 * Magically gets a pagination variable. 136 138 * 137 * @param string variable key138 * @return mixed variable value if the key is found139 * @return void if the key is not found139 * @param string variable key 140 * @return mixed variable value if the key is found 141 * @return void if the key is not found 140 142 */ 141 143 public function __get($key) … … 148 150 * Gets the SQL offset of the first row to return. Deprecated. 149 151 * 150 * @return integer sql offset152 * @return integer sql offset 151 153 */ 152 154 public function sql_offset() … … 158 160 * Generates the complete SQL LIMIT clause. Deprecated. 159 161 * 160 * @return string sql limit clause162 * @return string sql limit clause 161 163 */ 162 164 public function sql_limit()
