I understand how the ~/protected/config/main.php work like
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=test_blog',
'emulatePrepare' => true,
'username' => 'gusdecool',
'password' => 'gusdecool',
'charset' => 'utf8',
'tablePrefix'=> 'tbl_'
)
the DB reference is locate here, i understand the array key represent public properties of that class.
Where is the reference location on Yii Website for Configuration of ~/protected/config/main.php?
I need to know this, for understand all of the configuration we can make, also if i didn’t define that configuration. What is the config it will take.
Please inform if my question is unclear 🙂
I believe you are looking for the docs for the CWebApplication class: http://www.yiiframework.com/doc/api/1.1/CWebApplication the various components in the config/main.php file map to the public properties of this class. Similarly,
config/console.phpmaps to CConsoleApplication.