[symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread ridcully
Forget to say that i'm using doctrine. On Dec 2, 10:12 am, ridcully ohnhei...@googlemail.com wrote: Hi, after updating from symfony 1.2.9 to symfony 1.3.0 i can't call parent Methods Call anymore when i've overload the method: Class XY extends BaseXY{  public function

[symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread Florian
Hi! For me, it's a problem of __magic : You maybe come from Propel's ORM ( who generates *real* getters and setters ) so you can overload these defined in BaseClass in the final Class. But with Doctrine, it uses magic __call method for get* and set*, and delegates to Doctrine_Record::get ( and

Re: [symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread Jörg Ohnheiser
Ok does the Getter and Setter generator works for 1.3 ? I've used this Patch in 1.2.9 On Wed, Dec 2, 2009 at 11:15 AM, Florian sideral.undergro...@gmail.comwrote: Hi! For me, it's a problem of __magic : You maybe come from Propel's ORM ( who generates *real* getters and setters ) so you

[symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread Florian
sorry, I didn't answered your question! I've used this technique with Doctrine1.2 (IHMO both sf 1.2.9 and 1.3 use doctrine 1.2 ) On 2 déc, 11:15, Florian sideral.undergro...@gmail.com wrote: Hi! For me, it's a problem of __magic : You maybe come from Propel's ORM ( who generates *real*

[symfony-users] Re: Extends BaseClass and parent methods SF 1.3

2009-12-02 Thread WEB-CHALLENGE
Just rename one of the two methods. Hope it will resolve the problem! Bye On 2 déc, 10:19, ridcully ohnhei...@googlemail.com wrote: Forget to say that i'm using doctrine. On Dec 2, 10:12 am, ridcully ohnhei...@googlemail.com wrote: Hi, after updating from symfony 1.2.9 to symfony 1.3.0 i