[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-07 Thread Jonathan Wage
Not currently. The different attributes are spread across the manual with each individual feature as necessary. If you want, create a ticket under the documentation milestone and we'll improve in this area. - Jon On Fri, Nov 7, 2008 at 6:49 AM, Lee Bolding <[EMAIL PROTECTED]> wrote: > > Is there

[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-07 Thread Lee Bolding
Is there somewhere I can find a list of all of the Doctrine::ATTR options, and what they do? On 4 Nov 2008, at 16:53, Jonathan Wage wrote: > Though I forgot, you must enable the attribute > Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE > > - Jon > > On Tue, Nov 4, 2008 at 10:52 AM, Jonathan Wage <[

[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-04 Thread Jonathan Wage
Same idea, different implementation. The accessor override allows you to override accessors by creating functions in your model. The filters require you to attach another class which functions for the filters. - Jon On Tue, Nov 4, 2008 at 2:05 PM, Bernhard Schussek <[EMAIL PROTECTED]>wrote: > An

[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-04 Thread Bernhard Schussek
And what is the filter functionality for then? I thought it was something similar to this? On Tue, Nov 4, 2008 at 5:53 PM, Jonathan Wage <[EMAIL PROTECTED]> wrote: > Though I forgot, you must enable the attribute > Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE > > - Jon > > On Tue, Nov 4, 2008 at 10:52 A

[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-04 Thread halla
This sounds great - thanks for your help :-) > Though I forgot, you must enable the attribute > Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE Öhmm... maybe you could give me a hint where and/or how I have to this in symfony? Daniel > On Tue, Nov 4, 2008 at 10:52 AM, Jonathan Wage <[EMAIL PROTECTED]> w

[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-04 Thread Jonathan Wage
Though I forgot, you must enable the attribute Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE - Jon On Tue, Nov 4, 2008 at 10:52 AM, Jonathan Wage <[EMAIL PROTECTED]> wrote: > In Doctrine 1.0 this is supported natively. > > - Jon > > > On Tue, Nov 4, 2008 at 10:42 AM, Bernhard Schussek <[EMAIL PROTECTED]

[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-04 Thread Jonathan Wage
In Doctrine 1.0 this is supported natively. - Jon On Tue, Nov 4, 2008 at 10:42 AM, Bernhard Schussek <[EMAIL PROTECTED]>wrote: > Although, AFAIK, this behaviour is specific to the symfony version of > Doctrine (i.e. the sfDoctrinePlugin). Is there any such behaviour > natively supported by Doctr

[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-04 Thread Bernhard Schussek
Although, AFAIK, this behaviour is specific to the symfony version of Doctrine (i.e. the sfDoctrinePlugin). Is there any such behaviour natively supported by Doctrine? Bernhard On Tue, Nov 4, 2008 at 4:57 PM, Cédric Sadai <[EMAIL PROTECTED]> wrote: > > hey, > > if I remember well: > > in lib/d

[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-04 Thread Jonathan Wage
That is correct. - Jon On Tue, Nov 4, 2008 at 9:57 AM, Cédric Sadai <[EMAIL PROTECTED]> wrote: > > hey, > > if I remember well: > > in lib/doctrine/User.class.php > > public function getAvatar() > { > $val = parent::_get('avatar'); > //your processing > return $myProcessedValue; > } > > ++ >

[symfony-users] Re: Overwriting Doctrines Getter-Methods

2008-11-04 Thread Cédric Sadai
hey, if I remember well: in lib/doctrine/User.class.php public function getAvatar() { $val = parent::_get('avatar'); //your processing return $myProcessedValue; } ++ On Nov 4, 12:10 pm, Halla <[EMAIL PROTECTED]> wrote: > Hi everybody, > > I'm using Doctrine and I'd like to know if it i