AnsPress_Query::rewind()
Description #
Rewind the object and reset index.
Source #
File: includes/class-query.php
public function rewind() {
$this->current = -1;
if ( $this->count > 0 ) {
$this->object = $this->objects[0];
}
}
Expand full source code Collapse full source code View on GitHub: includes/class-query.php:194
Add your comment