original_string: public function toArray()
      {
          // @todo This works only if we have iterated through
          // the result set once to instantiate the rows.
          foreach ($this->_rows as $i => $row) {
              $this->_data[$i] = $row->toArray();
          }
          return $this->_data;
      }
code: public function toArray()
      {
          // @todo This works only if we have iterated through
          // the result set once to instantiate the rows.
          foreach ($this->_rows as $i => $row) {
              $this->_data[$i] = $row->toArray();
          }
          return $this->_data;
      }
code_tokens: public function toArray ( ) { // @todo This works only if we have iterated through // the result set once to instantiate the rows. foreach ( $ this -> _rows as $ i => $ row ) { $ this -> _data [ $ i ] = $ row -> toArray ( ) ; } return $ this -> _data ; }
docstring: Returns all data as an array.
  
  Updates the $_data property with current row object values.
  
  @return array
docstring_tokens: Returns all data as an array .