Login | Register
My pages Projects Community openCollabNet

Discussions > dev > BaseObject __construct: small non-BC change

propel
Discussion topic

Back to topic list

BaseObject __construct: small non-BC change

Reply

Author Ron Rademaker <r dot rademaker at virtualbuilding dot nl>
Full name Ron Rademaker <r dot rademaker at virtualbuilding dot nl>
Date 2008-07-17 00:41:43 PDT
Message Hi all,

I just committed a change to allow people to use a custom constructor
for a custom baseClass (ie. the baseClass attribute in schema).
There's a small chance this change breaks your propel code. If you use a
custom baseClass, that custom baseClass does NOT extend from BaseObject
and your custom baseClass (and none of its parents) does not have a
constructor, you'll likely see an error after your next update and
build. You can easily fix the problem by adding an empty public function
__construct to your base class or one of its parents.

Ron

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

BaseObject __construct: small non-BC change Ron Rademaker <r dot rademaker at virtualbuilding dot nl> Ron Rademaker <r dot rademaker at virtualbuilding dot nl> 2008-07-17 00:41:43 PDT
Messages per page: