Changeset 3957

Show
Ignore:
Timestamp:
03/10/08 06:28:03 (16 months ago)
Author:
jwage
Message:

Added some functions which were in 0.9 to maintain BC.

Files:
1 modified

Legend:

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

    r3952 r3957  
    772772 
    773773    /** 
     774     * generateSqlFromArray 
     775     * 
     776     * @param string $array  
     777     * @return void 
     778     */ 
     779    public static function generateSqlFromArray($array) 
     780    { 
     781        return Doctrine_Manager::connection()->export->exportClassesSql($array); 
     782    } 
     783 
     784    /** 
    774785     * generateSqlFromModels 
    775786     * 
     
    10781089        return Doctrine_Lib::isValidClassName($className); 
    10791090    } 
     1091 
     1092    /** 
     1093     * makeDirectories 
     1094     * 
     1095     * Makes the directories for a path recursively 
     1096     * 
     1097     * @param string $path 
     1098     * @return void 
     1099     */ 
     1100    public static function makeDirectories($path, $mode = 0777) 
     1101    { 
     1102        return Doctrine_Lib::makeDirectories($path, $mode); 
     1103    } 
     1104 
     1105    /** 
     1106     * removeDirectories 
     1107     * 
     1108     * @param string $folderPath 
     1109     * @return void 
     1110     */ 
     1111    public static function removeDirectories($folderPath) 
     1112    { 
     1113        return Doctrine_Lib::removeDirectories($folderPath); 
     1114    } 
    10801115}