In my experience (with 1.3) there are times and with particular (complex) finds when just using a virtual field doesn't work, but this method (using the constructor) always does.
Jeremy Burns Class Outfit http://www.classoutfit.com On 10 Apr 2012, at 09:05:12, Thiago Belem wrote: > Please check the documentation: > > http://book.cakephp.org/2.0/en/models/virtual-fields.html > > No need to use the constructor. > > Regrads, > -- > Thiago Belem > Desenvolvedor > Rio de Janeiro - RJ - Brasil > > thiagobelem.net > cont...@thiagobelem.net > > Skype / gTalk » thiago.belem.web > LinkedIn » br.linkedin.com/in/thiagobelem/pt > Assando Sites, curso de CakePHP » assando-sites.com.br > > > On Tue, Apr 10, 2012 at 05:00, Reza Talamkhani <reza.talamkh...@gmail.com> > wrote: > In the version 2.1 of the software work? > > -- > 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+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php > > > -- > 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+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php