Hi!

When I use the fetchAll-method inside a modelclass (MessageThreads) like this:
$this->fetchAll();
I get a Zend_Db_Table_Rowset Object

But if I do this:
$this->getAdapter()->query("SELECT * FROM messageThreads")->fetchAll();
I just get an associative Array (but with the same data)

Can I get them to return the same?

If I set the examples to a view-object I can loop both,
but the second gives me an error "Trying to get property of non-object",
when getting the values.


regards
Anders

Reply via email to