Hello,
I'm working with 1.6 version of Zend.
I have been using the json helper like this with no problem:
$this->_helper->json($j->get_object());
I just added some custom action helpers and registered them with the HelperBroker like this in the Abtract Controllers init method:
Zend_Controller_Action_HelperBroker::addPath(APPLICATION_PATH . '/app/controllers/Helpers/','Helper');
My custom helpers are working fine, but now the call to the json helper is complaining that it can't find the json helper file...the built in one that worked beautifully before. It appears to be looking in the path where my custom helpers are and not the zend library. Any ideas on how to fix this would be helpful?
Thanks,
Dehru
没有评论:
发表评论