View Single Post
  #2 (permalink)  
Old 05-16-2008, 12:56 AM
jasonw jasonw is offline
Junior Member
 
Join Date: May 2008
Posts: 12
Default

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.
Reply With Quote