library/Garp/Db/Table/Rowset/Iterator.php
protected function _afterWalk() {
        // return the pointer of a Rowset to 0
        if ($this->_result instanceof Garp_Db_Table_Rowset) {
            $this->_result->rewind();
        } else {
            // also, return results to the original format if it was no Rowset to begin with.
            $this->_result = $this->_result[0];
        }
    }
protected function _afterWalk() {
        // return the pointer of a Rowset to 0
        if ($this->_result instanceof Garp_Db_Table_Rowset) {
            $this->_result->rewind();
        } else {
            // also, return results to the original format if it was no Rowset to begin with.
            $this->_result = $this->_result[0];
        }
    }
protected function _afterWalk ( ) { // return the pointer of a Rowset to 0 if ( $ this -> _result instanceof Garp_Db_Table_Rowset ) { $ this -> _result -> rewind ( ) ; } else { // also, return results to the original format if it was no Rowset to begin with. $ this -> _result = $ this -> _result [ 0 ] ; } }
Callback after walking over the results.
Returns everything to its original state.
@return Void
Callback after walking over the results . Returns everything to its original state .