Show
Ignore:
Timestamp:
11/02/07 16:07:11 (14 months ago)
Author:
meus
Message:

added a convenience method and new coverage stuff

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/Doctrine.php

    r3055 r3066  
    652652 
    653653    /** 
     654     * createTablesFromArray 
     655     * 
     656     * Creates database tables for the models in the supplied array 
     657     * 
     658     * @param array $array An array of models to be exported 
     659     * @return void 
     660     */ 
     661    public static function createTablesFromArray($array) 
     662    { 
     663        return Doctrine_Manager::connection()->export->exportClasses($array); 
     664    } 
     665 
     666    /** 
    654667     * generateSqlFromModels 
    655668     *