Login | Register
My pages Projects Community openCollabNet

Reply to message

* = Required fields
* Subject
* Body
Send reply to
Author (directly in email)
Please type the letters in the image above.

Original message

Author Pedram Nimreezi <zenstyle@gmail.com>
Full name Pedram Nimreezi <zenstyle@gmail.com>
Date 2006-07-21 09:30:52 PDT
Message Are you generating c++ classes to be used as php pecl's? I could maybe help
with that
targetPlatform could effectively be ignored with Zend Engine Version
detection in that regard...

On 7/21/06, Roel Vanhout <roel dot vanhout at gmail dot com> wrote:
> Hi,
> I'm trying to get propel to generate c++ classes. I've progressed
> nicely, but to do things neatly, I need a way to specify which
> OMBuilder to use (I need to override build() and getClassFilePath()).
> However I haven't yet found a way; is there a clean way to specify
> that the factory should instantiate my CPP_OMBuilder and not OMBuilder
> like there is for the other classes (like the other classes can be set
> in the properties file)? If not, would you be willing to make it
> configurable? In that case, I'd like to see that file
> (generator\classes​propel\engine\bui​lder\om\OMBuilder.​php) moved to
> the php5/ subdirectoy, so that I could keep all language-specific
> things in a separate directory.
> Also, I noticed the following line in the default.properties:
> propel.targetPlatform = php5
> Can I leverage this to make generating c++ classes easier? What is it
> used for? Thanks.
> cheers,
> roel
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
> For additional commands, e-mail: dev-help at propel dot tigris dot org

Pedram Nimreezi -- Senior Engineer
Major Computing, Inc

Not by age, but by knowledge is wisdom acquired.