| @@ 724-728 (lines=5) @@ | ||
| 721 | } |
|
| 722 | static::$needJoin = []; |
|
| 723 | ||
| 724 | if (!empty($options['limit'])) |
|
| 725 | $limit = (int) $options['limit']; |
|
| 726 | else { |
|
| 727 | $limit = 0; |
|
| 728 | } |
|
| 729 | if (!empty($options['start'])) |
|
| 730 | $start = (int) $options['start']; |
|
| 731 | else { |
|
| @@ 993-997 (lines=5) @@ | ||
| 990 | if (!empty($options['order'])) { |
|
| 991 | App::$cur->db->order($options['order']); |
|
| 992 | } |
|
| 993 | if (!empty($options['limit'])) |
|
| 994 | $limit = (int) $options['limit']; |
|
| 995 | else { |
|
| 996 | $limit = 0; |
|
| 997 | } |
|
| 998 | if (!empty($options['start'])) |
|
| 999 | $start = (int) $options['start']; |
|
| 1000 | else { |
|