1 | <?php |
||
15 | class DataProviderReader implements ReaderInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var ActiveDataProvider|null |
||
19 | */ |
||
20 | protected $dataProvider = null; |
||
21 | |||
22 | /** |
||
23 | * @var \yii\data\Pagination|boolean|null |
||
24 | */ |
||
25 | protected $pagination = null; |
||
26 | |||
27 | /** |
||
28 | * @var Model[]|null |
||
29 | */ |
||
30 | protected $models = null; |
||
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | * |
||
35 | * @param ActiveDataProvider $dataProvider |
||
36 | */ |
||
37 | 1 | public function __construct(ActiveDataProvider $dataProvider = null) |
|
45 | |||
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | 1 | public function rewind() |
|
57 | |||
58 | /** |
||
59 | * @inheritdoc |
||
60 | */ |
||
61 | 1 | public function next() |
|
71 | |||
72 | /** |
||
73 | * @inheritdoc |
||
74 | */ |
||
75 | 1 | public function valid() |
|
79 | |||
80 | /** |
||
81 | * @inheritdoc |
||
82 | */ |
||
83 | 1 | public function current() |
|
87 | |||
88 | /** |
||
89 | * @inheritdoc |
||
90 | */ |
||
91 | public function key() |
||
99 | } |
||
100 |