I have a Zend Framework application with a custom library which is namespaced (PHP 5.3).
I want to register a view helpers but I'm unable to do this due the namespace I use in the view helper.
Currently I in my bootstrap I have the following to register the Helper path:
protected function _initView()
{
$view = new Zend_View();
$view->addHelperPath(
APPLICATION_PATH . "/../library/App/View/Helper",
"App\View\Helper"
);
}
The error that I get:
Zend_Loader_PluginLoader_Exception: Plugin by name 'IsActive' was not found in the registry; used paths: App\View\Helper_:
Does anybody has an idea how to register view helpers that are namespaced?