Re: Questions about the field modified, created, updated
Updated or modified which you use is upto you When you follow the conventions cake automagically does some stuff. Whilst still remaining flexible. - S On 22 Dec 2011 08:31, socrates socrates.alessan...@gmail.com wrote: Hello, here i am with a new question, someone could explain me how this fields works? This is how i understand they might work: 1) created, ok this is simple. 2) modified, when this field are updated? I have supposed that it change every time I update the record. For example when i call save() on a model with some field changed. 3) updated, why this field are there if I already had modified. thanks for enlightment! -- 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
Re: Questions about the field modified, created, updated
you only need created and modified On 22 Dez., 10:54, Sam Sherlock sam.sherl...@gmail.com wrote: Updated or modified which you use is upto you When you follow the conventions cake automagically does some stuff. Whilst still remaining flexible. - S On 22 Dec 2011 08:31, socrates socrates.alessan...@gmail.com wrote: Hello, here i am with a new question, someone could explain me how this fields works? This is how i understand they might work: 1) created, ok this is simple. 2) modified, when this field are updated? I have supposed that it change every time I update the record. For example when i call save() on a model with some field changed. 3) updated, why this field are there if I already had modified. thanks for enlightment! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions sitehttp://ask.cakephp.organd 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 athttp://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