Created
July 7, 2012 20:19
-
-
Save maxmanders/3067971 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function _initActionHelpers() | |
{ | |
$this->_initDoctrine(); | |
Zend_Controller_Action_HelperBroker::addPath( | |
APPLICATION_PATH . '/controllers/helpers' | |
); | |
$registry = Zend_Registry::getInstance(); | |
$entityManager = $registry['entitymanager']; | |
Zend_Controller_Action_HelperBroker::addHelper( | |
new Zend_Controller_Action_Helper_ServiceLocator($entityManager) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment