| @@ 978-982 (lines=5) @@ | ||
| 975 | $query->join($join); |
|
| 976 | } |
|
| 977 | static::$relJoins = []; |
|
| 978 | if (!empty($options['limit'])) { |
|
| 979 | $limit = (int) $options['limit']; |
|
| 980 | } else { |
|
| 981 | $limit = 0; |
|
| 982 | } |
|
| 983 | if (!empty($options['start'])) { |
|
| 984 | $start = (int) $options['start']; |
|
| 985 | } else { |
|
| @@ 1283-1287 (lines=5) @@ | ||
| 1280 | if (!empty($options['order'])) { |
|
| 1281 | $query->order($options['order']); |
|
| 1282 | } |
|
| 1283 | if (!empty($options['limit'])) { |
|
| 1284 | $limit = (int) $options['limit']; |
|
| 1285 | } else { |
|
| 1286 | $limit = 0; |
|
| 1287 | } |
|
| 1288 | if (!empty($options['start'])) { |
|
| 1289 | $start = (int) $options['start']; |
|
| 1290 | } else { |
|