Doctrine 1
  1. Doctrine 1
  2. DC-1065

http://www.doctrine-project.org/jira/browse/DC-98

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: Import/Export
    • Environment:
      Linux, PHP

      Description

      Doctrine 1.2.4 does not respect the variable baseClassPrefixFiles when generating models.
      Generated base files will always have the prefix specified in the baseClassPrefix variable.

      Example PHP Code:
      		Doctrine_Core::generateModelsFromDb(
      			BASEDIR.'/application/models',
      			array('doctrine'),
      			array(	
      				'generateTableClasses'	=> true, 
      				'baseClassPrefix'		=> 'Generated_',
      				'baseClassesDirectory'	=> 'Generated',
      				'baseClassPrefixFiles'	=> false,
      				'classPrefixFiles'		=> false
      			)
      		);
      

      A patched version of ./Doctrine/Import/Builder.php is attached

        Issue Links

          Activity

          Show
          BizLogic added a comment - http://www.doctrine-project.org/jira/browse/DC-98?focusedCommentId=23753&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-23753

            People

            • Assignee:
              Jonathan H. Wage
              Reporter:
              BizLogic
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: