public function reset()
    {
        if (!empty($this->aData)) {
            reset($this->aData);
        } elseif ($this->oSource instanceof \PDOStatement) {
            //  unsupported
        } elseif ($this->oSource instanceof \CI_DB_mysqli_result) {
            $this->oSource->data_seek(0);
        }
    }
public function reset()
    {
        if (!empty($this->aData)) {
            reset($this->aData);
        } elseif ($this->oSource instanceof \PDOStatement) {
            //  unsupported
        } elseif ($this->oSource instanceof \CI_DB_mysqli_result) {
            $this->oSource->data_seek(0);
        }
    }
public function reset ( ) { if ( ! empty ( $ this -> aData ) ) { reset ( $ this -> aData ) ; } elseif ( $ this -> oSource instanceof \ PDOStatement ) { //  unsupported } elseif ( $ this -> oSource instanceof \ CI_DB_mysqli_result ) { $ this -> oSource -> data_seek ( 0 ) ; } }
Resets the pointer in the data set to the beginning
Resets the pointer in the data set to the beginning