Zend Framework help
You will get useful hints for developing your application with Zend Framework
How to change Zend DB fetchAll() result Array to Object
For that we need to use the setFetchMode function.
Ex: $stmt = $db->query('SELECT * FROM user');
$stmt->setFetchMode(Zend_Db::FETCH_OBJ);
$objs = $stmt->fetchAll();
Newer Post
Older Post
Home