title: Zend Framework Quickstart Application - Database connection parameters. How are they passed?
body: <p>I am in the process of learning Zend Framework and I am trying to understand how to set up connections to databases.</p>
  
  <p>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:
  <a href="http://framework.zend.com/manual/en/learning.quickstart.create-model.html" rel="nofollow">http://framework.zend.com/manual/en/learning.quickstart.create-model.html</a>.</p>
  
  <p>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.</p>
  
  <pre><code>class Application_Model_DbTable_Guestbook extends Zend_Db_Table_Abstract
  </code></pre>
  
  <p>Could someone tell me how this application is getting the details for the database from the application.ini file?</p>
  
  <p>Many thanks</p>