<tfoot id='76wSN'></tfoot>
    <bdo id='76wSN'></bdo><ul id='76wSN'></ul>
  • <small id='76wSN'></small><noframes id='76wSN'>

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

      <legend id='76wSN'><style id='76wSN'><dir id='76wSN'><q id='76wSN'></q></dir></style></legend>

      1. Zend Framework 1.9 和 Doctrine 集成

        Zend Framework 1.9 and Doctrine Integration(Zend Framework 1.9 和 Doctrine 集成)

        <legend id='JdjGi'><style id='JdjGi'><dir id='JdjGi'><q id='JdjGi'></q></dir></style></legend>

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

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

                <tfoot id='JdjGi'></tfoot>
                • <bdo id='JdjGi'></bdo><ul id='JdjGi'></ul>
                    <tbody id='JdjGi'></tbody>
                  本文介绍了Zend Framework 1.9 和 Doctrine 集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试设置 Zend Framework 和 Doctrine.

                  I'm trying to setup Zend Framework and Doctrine.

                  之前有关于 ZF 1.8 的讨论

                  There is this previous discussion with ZF 1.8

                  • 将 Doctrine 与 Zend Framework 1.8 应用程序集成

                  该讨论没有考虑 AutoLoader/Bootstrap 系统.

                  That discussion doesn't take into account the AutoLoader / Bootstrap System.

                  如果我使用 ./zh.sh 生成一个应用程序框架,我将如何集成 Doctrine.

                  If I generate an application skeleton with ./zh.sh how would I go about integrating Doctrine.

                  推荐答案

                  找到解决方案

                  http://pastie.org/481635http://pastie.org/481633

                  在 application/configs/application.ini 中设置自动加载器和插件路径:

                  Setup autoloader and plugin path in application/configs/application.ini:

                  autoloadernamespaces.0 = "Doctrine"
                  
                  pluginpaths.ZendX_Doctrine_Application_Resource= "ZendX/Doctrine/Application/Resource"
                  

                  在 public/index.php 中添加模型和生成模型的路径

                  Add paths to models and generated models in public/index.php

                  set_include_path(implode(PATH_SEPARATOR, array(
                      realpath(APPLICATION_PATH . '/../library'),
                      realpath(APPLICATION_PATH . '/models'),
                      realpath(APPLICATION_PATH . '/models/generated'),
                      get_include_path(),
                  )));
                  

                  将 http://pastie.org/481633 保存到 library/ZendX/Doctrine/Application/Resource/Doctrine.php

                  Save http://pastie.org/481633 to library/ZendX/Doctrine/Application/Resource/Doctrine.php

                  这篇关于Zend Framework 1.9 和 Doctrine 集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 个字段是否相同)

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

                      <bdo id='DUiIG'></bdo><ul id='DUiIG'></ul>
                      1. <small id='DUiIG'></small><noframes id='DUiIG'>

                            <tbody id='DUiIG'></tbody>
                          <tfoot id='DUiIG'></tfoot>