2009年8月7日星期五

Re: [fw-mvc] Creating action helper in zend frameworl 1.9

Matthew, thank you. Till I waited the reply, I already added a resource method:

protected function _initHelpers()
{
Zend_Controller_Action_HelperBroker::addHelper(
new Joo_Controller_Action_Helper_Session()
);
}

I like your generic solution, however, I don't know how to add the
individual helpers after I specified the path, since there's no much
benefit to do so if I still need to add the helpers the way I did
above :)

So, after creating my generic helper path resurce method, can I
somehow add the actual helpers in application.ini?


Thanks,
Ádám

没有评论: