1 | <?php |
||
10 | class IteratorArray extends ArrayIterator implements IteratorInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | protected $defaults = array(); |
||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $replace = array(); |
||
21 | |||
22 | /** |
||
23 | * Get row current |
||
24 | * |
||
25 | * @return array |
||
26 | */ |
||
27 | 1 | public function current() |
|
33 | |||
34 | /** |
||
35 | * Set Fields Defaults |
||
36 | * |
||
37 | * @param array $defaults Defaults |
||
38 | * |
||
39 | * @return void |
||
40 | */ |
||
41 | 1 | public function setDefaults(array $defaults) |
|
46 | |||
47 | /** |
||
48 | * Set Fields Replace |
||
49 | * |
||
50 | * @param array $replace Replaces |
||
51 | * |
||
52 | * @return void |
||
53 | */ |
||
54 | 1 | public function setReplace(array $replace) |
|
59 | } |
||
60 |