Changeset 2029
- Timestamp:
- 02/11/2008 10:11:22 AM (8 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Pagination.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Pagination.php
r1911 r2029 148 148 149 149 /** 150 * Gets the SQL offset of the first row to return. Deprecated.150 * So that users can use $pagination->total_pages() or $pagination->total_pages. 151 151 * 152 * @return integer sql offset 152 * @param string function name 153 * @return string 153 154 */ 154 public function sql_offset()155 public function __call($func, $args = FALSE) 155 156 { 156 return $this->sql_offset; 157 } 158 159 /** 160 * Generates the complete SQL LIMIT clause. Deprecated. 161 * 162 * @return string sql limit clause 163 */ 164 public function sql_limit() 165 { 166 return $this->sql_limit; 157 return $this->__get($func); 167 158 } 168 159
