是否有用于获取对Zend_Application
配置资源的引用的辅助方法/对象/方法?
我知道我可以做类似的事情
$config = new Zend_Config_Ini($file, $environment);
但这将重新加载/解析配置文件。我正在寻找一种方法来查看运行中的给定配置值Zend_Application
。
我要解决的更大问题是我希望Zend_Queue
使用与我的默认数据库资源相同的数据库设置。如果除了“获取对配置的引用,读取资源值”之外还有更多“Zend Like”的方式来实现这一点,请随时分享!