• <legend id='zsrCE'><style id='zsrCE'><dir id='zsrCE'><q id='zsrCE'></q></dir></style></legend>
          <bdo id='zsrCE'></bdo><ul id='zsrCE'></ul>

        <small id='zsrCE'></small><noframes id='zsrCE'>

        <i id='zsrCE'><tr id='zsrCE'><dt id='zsrCE'><q id='zsrCE'><span id='zsrCE'><b id='zsrCE'><form id='zsrCE'><ins id='zsrCE'></ins><ul id='zsrCE'></ul><sub id='zsrCE'></sub></form><legend id='zsrCE'></legend><bdo id='zsrCE'><pre id='zsrCE'><center id='zsrCE'></center></pre></bdo></b><th id='zsrCE'></th></span></q></dt></tr></i><div id='zsrCE'><tfoot id='zsrCE'></tfoot><dl id='zsrCE'><fieldset id='zsrCE'></fieldset></dl></div>
      1. <tfoot id='zsrCE'></tfoot>
      2. 如何添加视图助手目录(zend 框架)

        How to add a view helper directory (zend framework)(如何添加视图助手目录(zend 框架))

          • <bdo id='R2vAI'></bdo><ul id='R2vAI'></ul>
            <i id='R2vAI'><tr id='R2vAI'><dt id='R2vAI'><q id='R2vAI'><span id='R2vAI'><b id='R2vAI'><form id='R2vAI'><ins id='R2vAI'></ins><ul id='R2vAI'></ul><sub id='R2vAI'></sub></form><legend id='R2vAI'></legend><bdo id='R2vAI'><pre id='R2vAI'><center id='R2vAI'></center></pre></bdo></b><th id='R2vAI'></th></span></q></dt></tr></i><div id='R2vAI'><tfoot id='R2vAI'></tfoot><dl id='R2vAI'><fieldset id='R2vAI'></fieldset></dl></div>

            <tfoot id='R2vAI'></tfoot>

              <legend id='R2vAI'><style id='R2vAI'><dir id='R2vAI'><q id='R2vAI'></q></dir></style></legend>
                  <tbody id='R2vAI'></tbody>
              • <small id='R2vAI'></small><noframes id='R2vAI'>

                1. 本文介绍了如何添加视图助手目录(zend 框架)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我从 ZF (1.9.7) 开始,我想使用我所有项目之间共享的库中的查看助手.但是我找不到如何将它的目录添加到 helpers 路径.当我将 Herpers 放入应用程序的 helpers 路径时,它们可以正常工作.

                  I begin with ZF (1.9.7), and I want to use View Helpers from a library shared between all my projects. But I can't find how to add it directory to the helpers path. My herpers works fines when I put them in application's helpers path.

                  这是错误,我在这里找到了 ZF 帮助程序的路径和应用程序的路径.

                  Here is the error, where I find the path to ZF helpers, and path to the applications ones.

                  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/viewshelpers/"
                      ["string:private"]=>
                      string(0) ""
                      ["code:protected"]=>
                      int(0)
                      ["file:protected"]=>
                      string(89) "C:Program FilesendendServershareendFrameworklibraryendLoaderPluginLoader.php"
                      ["line:protected"]=>
                      int(401)
                  

                  最好的问候
                  塞德里克

                  Best regards
                  Cédric

                  推荐答案

                  使用视图的内置 Zend_Application 资源可以非常轻松地完成.如果您使用的是 ini 配置,请添加如下一行:

                  It can be done very easily with the built in Zend_Application resource for the view. If you're using ini configs, add a line like this:

                  resources.view.helperPath.My_View_Helper = "My/View/Helper"
                  

                  键的结尾是类名前缀,值是它们所在的路径.

                  The end of the key is the class name prefix, and the value the path where they reside.

                  这篇关于如何添加视图助手目录(zend 框架)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Zend_Controller_Router_Exception: quot;xyzquot; is not specified(Zend_Controller_Router_Exception:“xyz;未指定)
                  Zend_Db_Table subquery(Zend_Db_Table 子查询)
                  pcntl_fork and the MySQL connection is gone(pcntl_fork 和 MySQL 连接消失了)
                  Change layout in the controller of Zend Framework 2.0(在 Zend Framework 2.0 的控制器中更改布局)
                  Zend Mail Gmail SMTP(Zend 邮件 Gmail SMTP)
                  Zend_Form: how to check 2 fields are identical(Zend_Form:如何检查 2 个字段是否相同)

                  <tfoot id='ZnQ5x'></tfoot>
                2. <legend id='ZnQ5x'><style id='ZnQ5x'><dir id='ZnQ5x'><q id='ZnQ5x'></q></dir></style></legend>

                  • <bdo id='ZnQ5x'></bdo><ul id='ZnQ5x'></ul>

                      <tbody id='ZnQ5x'></tbody>
                      <i id='ZnQ5x'><tr id='ZnQ5x'><dt id='ZnQ5x'><q id='ZnQ5x'><span id='ZnQ5x'><b id='ZnQ5x'><form id='ZnQ5x'><ins id='ZnQ5x'></ins><ul id='ZnQ5x'></ul><sub id='ZnQ5x'></sub></form><legend id='ZnQ5x'></legend><bdo id='ZnQ5x'><pre id='ZnQ5x'><center id='ZnQ5x'></center></pre></bdo></b><th id='ZnQ5x'></th></span></q></dt></tr></i><div id='ZnQ5x'><tfoot id='ZnQ5x'></tfoot><dl id='ZnQ5x'><fieldset id='ZnQ5x'></fieldset></dl></div>
                      1. <small id='ZnQ5x'></small><noframes id='ZnQ5x'>