1 | <?php |
||
8 | class JsonIterator extends GenericIterator |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var array |
||
13 | */ |
||
14 | private $jsonObject; |
||
15 | |||
16 | /** |
||
17 | * Enter description here... |
||
18 | * |
||
19 | * @var int |
||
20 | */ |
||
21 | private $current = 0; |
||
22 | |||
23 | 7 | public function __construct($jsonObject, $path = "", $throwErr = false) |
|
55 | |||
56 | 6 | public function count() |
|
60 | |||
61 | /** |
||
62 | * @access public |
||
63 | * @return bool |
||
64 | */ |
||
65 | 5 | public function hasNext() |
|
73 | |||
74 | /** |
||
75 | * @access public |
||
76 | * @return SingleRow |
||
77 | * @throws IteratorException |
||
78 | */ |
||
79 | 4 | public function moveNext() |
|
87 | |||
88 | public function key() |
||
92 | } |
||
93 |