I am in the process of learning Zend Framework and I am trying to understand how to set up connections to databases.
I understand a few way to do it, but I would like to understand how the quickstart application in the zend tutorial passes the database parameters in the application.ini file into the code. The page in question is here: http://framework.zend.com/manual/en/learning.quickstart.create-model.html.
I can see no explicit call to get the parameters and I am assuming it is something to do with how the following class works.
class Application_Model_DbTable_Guestbook extends Zend_Db_Table_Abstract
Could someone tell me how this application is getting the details for the database from the application.ini file?
Many thanks
Zend_Application_Resource_Db.