Changeset 4467

Show
Ignore:
Timestamp:
06/02/08 18:29:58 (13 months ago)
Author:
meus
Message:

added params to getSql so that it wraps getSqlQuery fully and not just somewhat

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/lib/Doctrine/Query/Abstract.php

    r4448 r4467  
    15781578     * getSql 
    15791579     * shortcut for {@link getSqlQuery()}. 
    1580      * 
     1580     *  
     1581     * @param array $params (optional) 
    15811582     * @return string   sql query string 
    15821583     */ 
    1583     public function getSql() 
    1584     { 
    1585         return $this->getSqlQuery(); 
     1584    public function getSql($params = array()) 
     1585    { 
     1586        return $this->getSqlQuery($params); 
    15861587    } 
    15871588