Well, i don't know doctrine, but look like you forgot to call the
parent constructor.

parent::__construct() ...

Thomas

On Fri, May 9, 2008 at 2:33 PM, Leo Barrientos C.
<[EMAIL PROTECTED]> wrote:
>
> If you put in MyClass extends BaseMyClass a construct - and make the
> call ($myObject = new MyClass() ) symfony says ... *
>
> Fatal error*: Call to a member function getRelations() on a non-object
> in *[...] /plugins/sfDoctrine/lib/sfDoctrineRecord.class.php* on line *96
>
> *
>
> Thomas Rabaix escribió:
>> Hello,
>>
>> what you mean by "use" ? if you add a __construct method, it will be
>> call when doing new Model. however the model will be empty, as propel
>> use hydrate method to populate object value.
>>
>> Thomas
>>
>> On Fri, May 9, 2008 at 9:39 AM, Leo Barrientos C.
>> <[EMAIL PROTECTED]> wrote:
>>
>>> Hello, it is impossible use __construct in Generated classes? How it is
>>> posible - There is a way?
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
> >
>



-- 
Thomas Rabaix

Internet Consultant

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to