1 | <?php |
||
28 | class InnerResultArray extends InnerResultIterator |
||
29 | { |
||
30 | /** |
||
31 | * The list of results already fetched. |
||
32 | * |
||
33 | * @var AbstractTDBMObject[] |
||
34 | */ |
||
35 | private $results = []; |
||
36 | |||
37 | /** |
||
38 | * Whether a offset exists. |
||
39 | * |
||
40 | * @link http://php.net/manual/en/arrayaccess.offsetexists.php |
||
41 | * |
||
42 | * @param mixed $offset <p> |
||
43 | * An offset to check for. |
||
44 | * </p> |
||
45 | * |
||
46 | * @return bool 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 | * |
||
51 | * @since 5.0.0 |
||
52 | */ |
||
53 | public function offsetExists($offset) |
||
63 | |||
64 | /** |
||
65 | * Offset to retrieve. |
||
66 | * |
||
67 | * @link http://php.net/manual/en/arrayaccess.offsetget.php |
||
68 | * |
||
69 | * @param mixed $offset <p> |
||
70 | * The offset to retrieve. |
||
71 | * </p> |
||
72 | * |
||
73 | * @return mixed Can return all value types |
||
74 | * |
||
75 | * @since 5.0.0 |
||
76 | */ |
||
77 | public function offsetGet($offset) |
||
83 | |||
84 | private function toIndex($offset) |
||
99 | |||
100 | public function next() |
||
113 | |||
114 | /** |
||
115 | * Overloads the rewind implementation. |
||
116 | * Do not reexecute the query. |
||
117 | */ |
||
118 | public function rewind() |
||
126 | } |
||
127 |