Show
Ignore:
Timestamp:
07/23/08 22:21:13 (6 months ago)
Author:
guilhermeblanco
Message:

Fixes #1268 and fixes #1260. Fixed test case of #1250. Updated documentation to support changes. Remove BC break of fetchTree and also Pager is now aware of Hydration mode defined in Query object.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/lib/Doctrine/Pager/Layout.php

    r4252 r4706  
    124124     * 
    125125     * @param $params               Optional parameters to Doctrine_Query::execute 
    126      * @param $hydrationMode        Hydration Mode of Doctrine_Query::execute  
    127      *                              returned ResultSet. Doctrine::Default is FETCH_RECORD 
     126     * @param $hydrationMode        Hydration Mode of Doctrine_Query::execute returned ResultSet. 
    128127     * @return Doctrine_Collection  The root collection 
    129128     */ 
    130     public function execute($params = array(), $hydrationMode = Doctrine::FETCH_RECORD) 
     129    public function execute($params = array(), $hydrationMode = null) 
    131130    { 
    132131        return $this->getPager()->execute($params, $hydrationMode);