Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2.0-ALPHA2
-
Fix Version/s: 1.2.0-ALPHA3
-
Component/s: None
-
Labels:None
Description
Currently its not possible to generate base classes that are compatible with the PEAR file/class naming conventions
user -> user.php
base_user -> base/user.php
The following settings do not give the desired results
baseClassPrefix: "base_"
baseClassesDirectory: "base"
This seems like a very surprising, yet critical omission, which forces a symfony style autoloader instead of the Doctrine native autoloader.
I got it to work using the following options
baseClassPrefix = "Base_"
baseClassesDirectory =
baseClassName = "Default_Model_Base_Abstract"
classPrefix = "Default_Model_"
classPrefixFiles = FALSE
pearStyle = TRUE
However, I have not been able to generate tables from the models generated.