Hi,
I created an event 'Model.User.created' and attached the listener to my
model as you can see below and it is working well
App::uses('AppModel', 'Model');
App::uses('CakeEvent', 'Event');
class User extends AppModel {
public function afterSave($created, $options = array()) {
$eve
Hi,
On Fri, Nov 21, 2014 at 6:09 PM, Prashant wrote:
> Hi,
>
> On Friday, October 17, 2014 10:18:34 AM UTC+5:30, Prashant wrote:
>>
>> Hi,
>>
>> I have verified it, it works correctly under phpMyAdmin.
>>
>> Regards.
>
>
> Solved the problem.
>
> I had used a single script that contained both the
Hi,
On Friday, October 17, 2014 10:18:34 AM UTC+5:30, Prashant wrote:
>
> Hi,
>
> I have verified it, it works correctly under phpMyAdmin.
>
> Regards.
>
Solved the problem.
I had used a single script that contained both the create tables and
triggers statements. If I separate the create trigge