title: Extracting query parts through Zend_Db_Rowset
body: <p>I am building a class that only receive a <code>Zend_Db_Rowset</code> throught its params and from that I can extract the related <code>Zend_Db_Table</code> using the <code>$rowset-&gt;getTable()</code> method.</p>
  
  <p>I was wondering if there is a way to get the <code>order</code> statement back from the table since I can set it (as a private property) through a dump.</p>
  
  <pre><code>object(Application_Model_DbTable_View_Formation)#107 (18) {
  ...
      ["_rows":protected] =&gt; array(4) {
        [0] =&gt; array(3) {
          [0] =&gt; string(7) "0.04095"
          [1] =&gt; string(20) "DESCRIBE `formation`"
          [2] =&gt; NULL
        }
        [1] =&gt; array(3) {
          [0] =&gt; string(7) "0.00047"
          [1] =&gt; string(67) "SELECT `formation`.* FROM `formation` ORDER BY `date` desc LIMIT 30"
          [2] =&gt; NULL
        }
        [2] =&gt; array(3) {
          [0] =&gt; string(7) "0.02031"
          [1] =&gt; string(22) "DESCRIBE `v_formation`"
          [2] =&gt; NULL
        }
        [3] =&gt; array(3) {
          [0] =&gt; string(7) "0.02285"
          [1] =&gt; string(135) "SELECT `v_formation`.* FROM `v_formation` WHERE (date &gt;= '2011-01-01 12:00:00') AND (date &lt;= '2011-12-31 11:59:59') ORDER BY `date` ASC"
          [2] =&gt; NULL
        }
      }
     ...
  }
  </code></pre>