1. <legend id='h6OSC'><style id='h6OSC'><dir id='h6OSC'><q id='h6OSC'></q></dir></style></legend>

    2. <small id='h6OSC'></small><noframes id='h6OSC'>

        <tfoot id='h6OSC'></tfoot>

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

      1. Doctrine_Core::getTable()->findAll() 如何指定顺序?

        Doctrine_Core::getTable()-gt;findAll() how to specify order?(Doctrine_Core::getTable()-findAll() 如何指定顺序?)

        1. <small id='pN2Kt'></small><noframes id='pN2Kt'>

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

                    <tbody id='pN2Kt'></tbody>

                  本文介绍了Doctrine_Core::getTable()->findAll() 如何指定顺序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  当使用 Doctrine_Table 对象时,是否可以在使用 findAll()findByWhatever() 时指定返回集合的顺序?

                  When using a Doctrine_Table object, is it possible to specify the order of the returned collection when using findAll() or findByWhatever()?

                  在 doc's 我看到了一些关于 getOrderByStatement()processOrderBy() 但不清楚如何使用它们...

                  In the doc's I see some stuff about getOrderByStatement() and processOrderBy() but it isn't clear on how to use them...

                  推荐答案

                  第一个数组也可以留空

                    $em->getRepository('BackendDestinyBundle:Destiny')->findBy(array(), array('title'=>'asc'));
                  

                  这篇关于Doctrine_Core::getTable()->findAll() 如何指定顺序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Converting between timezones in PHP(在 PHP 中的时区之间转换)
                  PHP - strtotime, specify timezone(PHP - strtotime,指定时区)
                  Get current date, given a timezone in PHP?(获取当前日期,给定 PHP 中的时区?)
                  List of US Time Zones for PHP to use?(PHP 使用的美国时区列表?)
                  How to detect Ambiguous and Invalid DateTime in PHP?(如何在 PHP 中检测不明确和无效的 DateTime?)
                  How to update timezonedb in PHP (updating timezones info)?(如何在 PHP 中更新 timezonedb(更新时区信息)?)
                  1. <legend id='3WqmT'><style id='3WqmT'><dir id='3WqmT'><q id='3WqmT'></q></dir></style></legend>

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