1 | <?php |
||
31 | class InnerResultArray extends InnerResultIterator { |
||
32 | |||
33 | /** |
||
34 | * The list of results already fetched. |
||
35 | * |
||
36 | * @var AbstractTDBMObject[] |
||
37 | */ |
||
38 | private $results = []; |
||
39 | |||
40 | /** |
||
41 | * Whether a offset exists |
||
42 | * @link http://php.net/manual/en/arrayaccess.offsetexists.php |
||
43 | * @param mixed $offset <p> |
||
44 | * An offset to check for. |
||
45 | * </p> |
||
46 | * @return boolean true on success or false on failure. |
||
47 | * </p> |
||
48 | * <p> |
||
49 | * The return value will be casted to boolean if non-boolean was returned. |
||
50 | * @since 5.0.0 |
||
51 | */ |
||
52 | public function offsetExists($offset) |
||
62 | |||
63 | /** |
||
64 | * Offset to retrieve |
||
65 | * @link http://php.net/manual/en/arrayaccess.offsetget.php |
||
66 | * @param mixed $offset <p> |
||
67 | * The offset to retrieve. |
||
68 | * </p> |
||
69 | * @return mixed Can return all value types. |
||
70 | * @since 5.0.0 |
||
71 | */ |
||
72 | public function offsetGet($offset) |
||
77 | |||
78 | |||
79 | private function toIndex($offset) { |
||
93 | |||
94 | public function next() { |
||
106 | |||
107 | /** |
||
108 | * Overloads the rewind implementation. |
||
109 | * Do not reexecute the query. |
||
110 | */ |
||
111 | public function rewind() |
||
119 | } |
||
120 |