Changeset 4834

Show
Ignore:
Timestamp:
08/27/08 04:20:02 (5 months ago)
Author:
jwage
Message:

fixes #1355 - You can now set an array of options to be passed to the Doctrine_Import_Builder for the builderOptions option key.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Record/Generator.php

    r4411 r4834  
    3838     * @var array $_options     an array of plugin specific options 
    3939     */ 
    40     protected $_options = array('generateFiles' => false, 
    41                                 'generatePath'  => false, 
    42                                 'identifier'    => false, 
    43                                 'table'         => false, 
    44                                 'pluginTable'   => false, 
    45                                 'children'      => array()); 
     40    protected $_options = array('generateFiles'  => false, 
     41                                'generatePath'   => false, 
     42                                'builderOptions' => array(), 
     43                                'identifier'     => false, 
     44                                'table'          => false, 
     45                                'pluginTable'    => false, 
     46                                'children'       => array()); 
    4647 
    4748    /** 
     
    355356            if (isset($this->_options['generatePath']) && $this->_options['generatePath']) { 
    356357                $builder->setTargetPath($this->_options['generatePath']); 
    357  
     358                $builder->setOptions($this->_options['builderOptions']); 
    358359                $builder->buildRecord($definition); 
    359360            } else {