It becomes all so clear. Thanks!


On Thursday, 2 October 2014 14:59:51 UTC+1, José Lorenzo wrote:
>
> $entity->errors('my_field', ['This is the error message']);
>
> On Thursday, October 2, 2014 2:50:39 PM UTC+2, Rob Cowie wrote:
>>
>> Hi all. In cake 1.3 I used to be able to use 
>> $model->invalidate('fieldname', 'This field is wrong!');
>>
>> Is there an equivalent way to perform this task in cake3?
>>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to