Changeset 10259 for temp/trunk/data/class/SC_Query.php
- Timestamp:
- 2006/12/06 09:22:14 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/class/SC_Query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_Query.php
r7999 r10259 121 121 } 122 122 123 function setlimitoffset($limit, $offset = 0 ) {123 function setlimitoffset($limit, $offset = 0, $return = false) { 124 124 if (is_numeric($limit) && is_numeric($offset)){ 125 $this->option.= " LIMIT " . $limit; 126 $this->option.= " OFFSET " . $offset; 125 126 $option.= " LIMIT " . $limit; 127 $option.= " OFFSET " . $offset; 128 129 if($return){ 130 return $option; 131 }else{ 132 $this->option.= $option; 133 } 127 134 } 128 135 }
Note: See TracChangeset
for help on using the changeset viewer.
