Give your field the name you want, just define its phpName to be
CreatedAt or UpdatedAt and I think it should work ;)

On 4 mai, 14:03, Andrei Dziahel <[email protected]> wrote:
> Hi.
>
> Haha, I've already switched to Doctrine some months ago :)
>
> 2009/5/4 David Ashwood <[email protected]>
>
>
>
> >  Not much help to your project but you can do it with the Timestampable
> > behaviour in Doctrine.
>
> > BlogPost:
>
> >   actAs:
>
> > # ...
>
> >     Timestampable:
>
> >       created:
>
> >         name: created_date
>
> >         type: timestamp
>
> > *From:* [email protected] [mailto:
> > [email protected]] *On Behalf Of *Andrei Dziahel
> > *Sent:* 04 May 2009 12:47
> > *To:* [email protected]
> > *Subject:* [symfony-users] Re: Customize created_at field in Propel
>
> > Hi.
>
> > AFAIK, no - created_at and updated_at behavior is hardcoded, as far I can
> > remember.
>
> > 2009/5/1 HiDDeN <[email protected]>
>
> > Maybe it is not possible?
>
> > On 30 abr, 21:31, HiDDeN <[email protected]> wrote:
> > > How can I customize the name of the created_at field?
>
> > > I mean, I'd like to have a field named, for example, created_date,
> > > that has the same behavior as the default created_at.
>
> > > How could accomplish that?
>
> > > Thanks!
>
> > --
> > With the best regards, Andy.
>
> --
> With the best regards, Andy.
--~--~---------~--~----~------------~-------~--~----~
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