| @@ 2946-2953 (lines=8) @@ | ||
| 2943 | } |
|
| 2944 | ||
| 2945 | // Slice the data as desired |
|
| 2946 | if ($end === 0) |
|
| 2947 | { |
|
| 2948 | return array_slice($items, $start); |
|
| 2949 | } |
|
| 2950 | else |
|
| 2951 | { |
|
| 2952 | return array_slice($items, $start, $end); |
|
| 2953 | } |
|
| 2954 | } |
|
| 2955 | else |
|
| 2956 | { |
|
| @@ 3078-3085 (lines=8) @@ | ||
| 3075 | usort($items, array(get_class($urls[0]), 'sort_items')); |
|
| 3076 | } |
|
| 3077 | ||
| 3078 | if ($end === 0) |
|
| 3079 | { |
|
| 3080 | return array_slice($items, $start); |
|
| 3081 | } |
|
| 3082 | else |
|
| 3083 | { |
|
| 3084 | return array_slice($items, $start, $end); |
|
| 3085 | } |
|
| 3086 | } |
|
| 3087 | else |
|
| 3088 | { |
|