Changeset 3935

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

fixes #830

Files:
1 modified

Legend:

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

    r3884 r3935  
    3636           $requiredArguments    =   array('yaml_schema_path'   =>  'Specify the complete directory path to your yaml schema files.', 
    3737                                           'models_path'        =>  'Specify complete path to your Doctrine_Record definitions.'), 
    38            $optionalArguments    =   array(); 
     38           $optionalArguments    =   array('generate_models_options'    =>  'Array of options for generating models'); 
    3939     
    4040    public function execute() 
    4141    { 
    42         Doctrine::generateModelsFromYaml($this->getArgument('yaml_schema_path'), $this->getArgument('models_path')); 
     42        Doctrine::generateModelsFromYaml($this->getArgument('yaml_schema_path'), $this->getArgument('models_path'), $this->getArgument('generate_models_options', array())); 
    4343         
    4444        $this->notify('Generated models successfully from YAML schema');