| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | protected function setOrderPaginatedList() |
||
| 48 | { |
||
| 49 | $request = $this->getRequest(); |
||
| 50 | $orders = $this->data()->getOrderList(); |
||
| 51 | $start = ($request->getVar('start')) ? (int)$request->getVar('start') : 0; |
||
| 52 | $records = PaginatedList::create($orders, $request); |
||
| 53 | $records->setPageStart($start); |
||
| 54 | $records->setPageLength($this->data()->PerPage); |
||
| 55 | |||
| 56 | $this->extend('updateOrderPaginatedList', $records); |
||
| 57 | |||
| 58 | $this->order_paginated_list = $records; |
||
| 59 | |||
| 60 | return $this; |
||
| 61 | } |
||
| 75 |