You also may want to check out the modified and created *magic*
columns.
http://book.cakephp.org/view/69/created-and-modified
On Oct 28, 5:53 am, Joshua Muheim wrote:
> Right, I forgot about that... Silly me. Thank you, Mark!
>
> On Thu, Oct 28, 2010 at 11:59 AM, euromark wrote:
> > beforeSave()
Right, I forgot about that... Silly me. Thank you, Mark!
On Thu, Oct 28, 2010 at 11:59 AM, euromark wrote:
> beforeSave() would be it
>
>
> On 28 Okt., 11:49, psybear83 wrote:
>> High everybody
>>
>> I have a model with two fields. The first field is altered using
>> Model->set(), and as soon a
beforeSave() would be it
On 28 Okt., 11:49, psybear83 wrote:
> High everybody
>
> I have a model with two fields. The first field is altered using
> Model->set(), and as soon as this happens, I want the other field to change
>
> its value (to the current time), too. Is there a hook mechanism or
High everybody
I have a model with two fields. The first field is altered using Model-
>set(), and as soon as this happens, I want the other field to change
its value (to the current time), too. Is there a hook mechanism or
something that can be used to do that?
Thanks, Josh
Check out the new Ca