http://www.doctrine-project.org/upgrade/1_2#New%20Class/File%20Prefix... After researching, it's been claimed that this is fixed in 1.2. It is
not...or at least I'm not doing it right.
my code:
$cli = new Doctrine_Cli( array(
'data_fixtures_path' => APPLICATION_PATH . '/../build/data/fixtures',
'models_path' => APPLICATION_PATH . '/models',
'migrations_path' => APPLICATION_PATH . '/../build/data/migrations',
'sql_path' => APPLICATION_PATH . '/../build/data/sql',
'yaml_schema_path' => APPLICATION_PATH . '/../build/schema.yml',
'generate_models_options' => array(
'generateTableClasses' => true,
'baseClassPrefix' => 'Base_',
'classPrefixFiles' => false,
'baseClassPrefixFiles' => false,
'baseClassesDirectory' => 'Base'
),
) );
It generates the classes correctly, and the class names correctly, but
I end up with base file names like:
models/Base/Base_User.php
models/Base/Base_Client.php
I want:
models/Base/User.php
--
A.J. Brown
web | http://ajbrown.org
phone | (937) 660-3969