| @@ 787-791 (lines=5) @@ | ||
| 784 | } |
|
| 785 | static::$needJoin = []; |
|
| 786 | ||
| 787 | if (!empty($options['limit'])) |
|
| 788 | $limit = (int) $options['limit']; |
|
| 789 | else { |
|
| 790 | $limit = 0; |
|
| 791 | } |
|
| 792 | if (!empty($options['start'])) |
|
| 793 | $start = (int) $options['start']; |
|
| 794 | else { |
|
| @@ 1068-1072 (lines=5) @@ | ||
| 1065 | if (!empty($options['order'])) { |
|
| 1066 | $query->order($options['order']); |
|
| 1067 | } |
|
| 1068 | if (!empty($options['limit'])) |
|
| 1069 | $limit = (int) $options['limit']; |
|
| 1070 | else { |
|
| 1071 | $limit = 0; |
|
| 1072 | } |
|
| 1073 | if (!empty($options['start'])) |
|
| 1074 | $start = (int) $options['start']; |
|
| 1075 | else { |
|