library/Garp/Model/Db.php
public function fetchAll($where = null, $order = null, $count = null, $offset = null) {
        if (!($where instanceof Zend_Db_Table_Select)) {
            $select = $this->createSelect($where, $order, $count, $offset);
        } else {
            $select = $where;
        }
        return $this->_improvedFetch($select, 'fetchAll');
    }
public function fetchAll($where = null, $order = null, $count = null, $offset = null) {
        if (!($where instanceof Zend_Db_Table_Select)) {
            $select = $this->createSelect($where, $order, $count, $offset);
        } else {
            $select = $where;
        }
        return $this->_improvedFetch($select, 'fetchAll');
    }
public function fetchAll ( $ where = null , $ order = null , $ count = null , $ offset = null ) { if ( ! ( $ where instanceof Zend_Db_Table_Select ) ) { $ select = $ this -> createSelect ( $ where , $ order , $ count , $ offset ) ; } else { $ select = $ where ; } return $ this -> _improvedFetch ( $ select , 'fetchAll' ) ; }
Fetches all rows.
Honors the Zend_Db_Adapter fetch mode.

@param string|array|Zend_Db_Table_Select $where  OPTIONAL An SQL WHERE clause or
Zend_Db_Table_Select object.
@param string|array                      $order  OPTIONAL An SQL ORDER clause.
@param int                               $count  OPTIONAL An SQL LIMIT count.
@param int                               $offset OPTIONAL An SQL LIMIT offset.
@return Zend_Db_Table_Rowset_Abstract The row results per the Zend_Db_Adapter fetch mode.
Fetches all rows . Honors the Zend_Db_Adapter fetch mode .