On 24 Lut, 19:40, Rodrigo Rodrigues Moyle <rodrig...@gmail.com> wrote:
> Use virtualFields!http://book.cakephp.org/2.0/en/models/virtual-fields.html
>
> Em sexta-feira, 24 de fevereiro de 2012 17h28min10s UTC-2, Łukasz escreveu:
>
>
>
>
>
>
>
>
>
> > Hi everybody!
>
> > I am trying to fetch data with find('list') function and when my
> > "fields" attribute looks like array('User.id', 'User,created') it
> > works properly but when I add inbulit MySQL function to User.created
> > field (for example MONTH(User.created)) it stops working, why?
>
> > Thx in advance,
> > Łukasz
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment