fetchAll only returns an array if it is invoked on an instance of Zend_Db_Adapter.
If you're using an instance of Zend_Db_Table, (ie, a model) fetchAll actually returns an object of the type Zend_Db_Table_Rowset. This can, however, be turned into an array by executing its toArray() method.
|