Hii...
开发者_运维百科I would like to read protected database values from config file in datagrid file, plz help how can I do that...thanx in advance.
$db = Zend_Registry::get('db');
Usually what this code does is get at the DB variable in your registry. This code does not access the config file.
If you want to get at the config file use,
Zend_Registry::get('config')->YOUR->KEY->GOES->HERE
精彩评论