I found this great db setup example at
http://code.google.com/p/zendframeworkstorefront/

resources.db.adapter = MYSQLI
resources.db.params.host = localhost
resources.db.params.username = root
resources.db.params.password = 
resources.db.params.dbname = gamerszone
resources.db.params.driver_options.1002 = "SET NAMES UTF8;"
resources.db.isDefaultTableAdapter = true

but i want my db queries to return objects, tried things like:
resources.db.params.FetchMode = Zend_Db::FETCH_OBJ;
resources.db.params.setFetchMode = Zend_Db::FETCH_OBJ;
resources.db.params.FetchMode = FETCH_OBJ;
resources.db.params.FetchMode = Zend_Db:FETCH_OBJ;

but nothing works ... does somebody know how to do it?
-- 
View this message in context: 
http://www.nabble.com/zend_application-db-resource-configuration-%3E-tp23371527p23371527.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to