public function fetch()
    {
        $dataSet = new DataSet($this);
        $this->_fetch4countQuery = null;
        $resultSet = $this->_run_search($this->queryLimit);  // regular search or page search
        if ($resultSet !== null) {
            $i = 0;
            while ($recArray = $this->_fetch_record($resultSet)) {
                $dataSet[$i++] = $recArray;
            }
        } else {
            return null;
        }
        return $dataSet;
    }
public function fetch()
    {
        $dataSet = new DataSet($this);
        $this->_fetch4countQuery = null;
        $resultSet = $this->_run_search($this->queryLimit);  // regular search or page search
        if ($resultSet !== null) {
            $i = 0;
            while ($recArray = $this->_fetch_record($resultSet)) {
                $dataSet[$i++] = $recArray;
            }
        } else {
            return null;
        }
        return $dataSet;
    }
public function fetch ( ) { $ dataSet = new DataSet ( $ this ) ; $ this -> _fetch4countQuery = null ; $ resultSet = $ this -> _run_search ( $ this -> queryLimit ) ; // regular search or page search if ( $ resultSet !== null ) { $ i = 0 ; while ( $ recArray = $ this -> _fetch_record ( $ resultSet ) ) { $ dataSet [ $ i ++ ] = $ recArray ; } } else { return null ; } return $ dataSet ; }
Fetches SQL result rows as a sequential array according the query rules set before.

@return DataSet array of records
Fetches SQL result rows as a sequential array according the query rules set before .