Can I access my action helpers from my models? What am avoiding is creating new models and calling the functions everytime I need some functionality.
Any tips?
if helper not registered you can get as $helper = new Library_Helper_Helper();
What about:
Zend_Controller_Action_HelperBroker::getStaticHelper('helpername')->doStuff();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With