propel.classPrefix and propel.basePrefix support in propel.ini

Requests for new symfony features.

Moderators: dwhittle, Ian

propel.classPrefix and propel.basePrefix support in propel.ini

Postby felixdv » Thu Dec 27, 2007 3:53 pm

Hi all!

First of all: I'm just looking into symfony so I might have overlooked something regarding the following request :)~ :-)~ :smile:

Having used propel before and just starting out to explore symfony, I was wondering if it's possible to add additional propel options to the configuration in config/propel.ini. The ones I'm talking about (that are useful to me ;)~ ;-)~ :wink: ) are:
- propel.classPrefix and
- propel.basePrefix

Having looked into symfony's vendor/propel-generator/classes/propel/engine/builder/DataMo delBuilder.php code, I noticed much of the methods like 'prefixClassName' and 'prefixTableName' that are in standard propel aren't available in symfony.

Now I was wondering if there's a specific reason to have those methods and functionalities absent in the symfony codebase or if those could be implemented?

As I said before, I don't know much about symfony (yet) so I might be missing out on something.
felixdv
Junior Member
 
Posts: 1
Joined: Thu Dec 27, 2007 3:45 pm

Re: propel.classPrefix and propel.basePrefix support in propel.ini

Postby paradox2 » Thu Jan 03, 2008 9:34 pm

I've been trying to do something similar. I've been able to set the basePrefix and redefine propel.targetPackage to a different lib.[xxxx] so as to generate objects into a different directory, but the propel.classPrefix portion doesn't seem to work (basePrefix does).

If someone has some good input on this it would be greatly appreciated.

Thanks,
-D
paradox2
Junior Member
 
Posts: 5
Joined: Sun Jul 08, 2007 12:26 am


Return to Feature requests

Who is online

Users browsing this forum: No registered users and 0 guests