我从ZF (1.9.7)开始,并希望使用一个在我所有项目之间共享的库中的视图助手。但我找不到如何将其目录添加到助手路径中。当我将它们放在应用程序的助手路径中时,我的助手可以正常工作。
这是错误消息,其中我可以找到ZF助手的路径和应用程序助手的路径。
object(ArrayObject)#71 (3) {
["exception"]=>
object(Zend_Loader_PluginLoader_Exception)#70 (6) {
["message:protected"]=>
string(151) "Plugin by name 'Voo' was not found in the registry; used paths:
Zend_View_Helper_: Zend/View/Helper/;C:/ZendStd/www/applis/VOO4_PROJECTX/views\helpers/"
["string:private"]=>
string(0) ""
["code:protected"]=>
int(0)
["file:protected"]=>
string(89) "C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Loader\PluginLoader.php"
["line:protected"]=>
int(401)
祝一切顺利
Cédric