Methods to Implement
Methods to Implement
Configuration
Configuration
- final public function getPageSize() — Get the configured page size.
- final public function setPageSize($size) — Configure the page size. Note that implementations may ignore this.
Iterator Implementation
Iterator Implementation
- final public function rewind()
- final public function valid()
- final public function current()
- public function key() — By default, the iterator assigns a "natural" key (0, 1, 2, ...) to each result. This method is intentionally nonfinal so you can substitute a different behavior by overriding it if you prefer.
- final public function next()
Other Methods
Other Methods
- public function setExampleData($data)
- private function query($cursor, $limit)