@@ 1778-1785 (lines=8) @@ | ||
1775 | $items = $this->data['items']; |
|
1776 | } |
|
1777 | // Slice the data as desired |
|
1778 | if ($end === 0) |
|
1779 | { |
|
1780 | return array_slice($items, $start); |
|
1781 | } |
|
1782 | else |
|
1783 | { |
|
1784 | return array_slice($items, $start, $end); |
|
1785 | } |
|
1786 | } |
|
1787 | else |
|
1788 | { |
|
@@ 1867-1874 (lines=8) @@ | ||
1864 | { |
|
1865 | usort($items, array(get_class($urls[0]), 'sort_items')); |
|
1866 | } |
|
1867 | if ($end === 0) |
|
1868 | { |
|
1869 | return array_slice($items, $start); |
|
1870 | } |
|
1871 | else |
|
1872 | { |
|
1873 | return array_slice($items, $start, $end); |
|
1874 | } |
|
1875 | } |
|
1876 | else |
|
1877 | { |