| @@ 743-747 (lines=5) @@ | ||
| 740 | } |
|
| 741 | static::$needJoin = []; |
|
| 742 | ||
| 743 | if (!empty($options['limit'])) |
|
| 744 | $limit = (int) $options['limit']; |
|
| 745 | else { |
|
| 746 | $limit = 0; |
|
| 747 | } |
|
| 748 | if (!empty($options['start'])) |
|
| 749 | $start = (int) $options['start']; |
|
| 750 | else { |
|
| @@ 1012-1016 (lines=5) @@ | ||
| 1009 | if (!empty($options['order'])) { |
|
| 1010 | App::$cur->db->order($options['order']); |
|
| 1011 | } |
|
| 1012 | if (!empty($options['limit'])) |
|
| 1013 | $limit = (int) $options['limit']; |
|
| 1014 | else { |
|
| 1015 | $limit = 0; |
|
| 1016 | } |
|
| 1017 | if (!empty($options['start'])) |
|
| 1018 | $start = (int) $options['start']; |
|
| 1019 | else { |
|