2014-08-30

Get config in zf 1

From controller:
$config = $this->getInvokeArg('bootstrap')->getOptions();
then $config is associative array
From other places:
$config = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getOptions();

No comments:

Post a Comment