Closed e1himself closed 11 years ago
Generator falls with error when generating admin module for model with namespaces defined. It should use getClassName() instead of getPhpName() in this case:
getClassName()
getPhpName()
Sample schema.yml:
schema.yml
propel: _attributes: package: lib.model.Acme.Model namespace: Acme\Model article: id: ~ title: varchar
$map->getClassName(); // \Acme\Model\Article $map->getPhpName(); // Article
thanks!
Generator falls with error when generating admin module for model with namespaces defined. It should use
getClassName()
instead ofgetPhpName()
in this case:Sample
schema.yml
: