Changeset 4114

Show
Ignore:
Timestamp:
03/24/08 20:10:40 (2 years ago)
Author:
jwage
Message:

Small refactorings.

Location:
branches/0.10/lib/Doctrine
Files:
3 added
1 removed
3 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/lib/Doctrine/Connection.php

    r4061 r4114  
    15051505    public function modifyLimitQuery($query, $limit = false, $offset = false, $isManip = false) 
    15061506    { 
    1507       return $query; 
     1507        return $query; 
    15081508    } 
    15091509 
  • branches/0.10/lib/Doctrine/Connection/Db2.php

    r3884 r4114  
    4141     * @return string               the modified query 
    4242     */ 
    43     public function modifyLimitQuery($query, $limit, $offset) 
     43    public function modifyLimitQuery($query, $limit = false, $offset = false, $isManip = false) 
    4444    { 
    4545        if ($limit <= 0) 
  • branches/0.10/lib/Doctrine/Parser/Yml.php

    r3884 r4114  
    11<?php 
    2 require_once('spyc.php'); 
    3  
    42/* 
    53 *  $Id: Yml.php 1080 2007-02-10 18:17:08Z jwage $ 
     
    4745    public function dumpData($array, $path = null) 
    4846    { 
    49         $spyc = new Doctrine_Spyc(); 
     47        $spyc = new Doctrine_Parser_Spyc(); 
    5048         
    5149        $data = $spyc->dump($array, false, false); 
     
    6664        $contents = $this->doLoad($path); 
    6765 
    68         $spyc = new Doctrine_Spyc(); 
     66        $spyc = new Doctrine_Parser_Spyc(); 
    6967         
    7068        $array = $spyc->load($contents);