| 1 | <?php |
||
| 8 | class DbEmptyIterator extends DbRowIterator { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Return the current element |
||
| 12 | * @link http://php.net/manual/en/iterator.current.php |
||
| 13 | * @return mixed Can return any type. |
||
| 14 | * @since 5.0.0 |
||
| 15 | */ |
||
| 16 | public function current() { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Move forward to next element |
||
| 22 | * @link http://php.net/manual/en/iterator.next.php |
||
| 23 | * @return void Any returned value is ignored. |
||
| 24 | * @since 5.0.0 |
||
| 25 | */ |
||
| 26 | public function next() { |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Return the key of the current element |
||
| 32 | * @link http://php.net/manual/en/iterator.key.php |
||
| 33 | * @return mixed scalar on success, or null on failure. |
||
| 34 | * @since 5.0.0 |
||
| 35 | */ |
||
| 36 | public function key() { |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Checks if current position is valid |
||
| 42 | * @link http://php.net/manual/en/iterator.valid.php |
||
| 43 | * @return boolean The return value will be casted to boolean and then evaluated. |
||
| 44 | * Returns true on success or false on failure. |
||
| 45 | * @since 5.0.0 |
||
| 46 | */ |
||
| 47 | public function valid() { |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Rewind the Iterator to the first element |
||
| 53 | * @link http://php.net/manual/en/iterator.rewind.php |
||
| 54 | * @return void Any returned value is ignored. |
||
| 55 | * @since 5.0.0 |
||
| 56 | */ |
||
| 57 | public function rewind() { |
||
| 60 | } |