Difference between #3 and #4 of
Events registration examples

Revision #4 has been created by minitia on Mar 11, 2019, 2:04:14 PM with the memo:

correction
« previous (#3)

Changes

Title unchanged

Events registration examples

Category unchanged

How-tos

Yii version unchanged

2.0

Tags unchanged

events,yii2

Content changed

[...]
parent::init(); // DON'T Forget to call the parent method.
}
```


taked from
https://stackoverflow.com/questions/28575636/how-to-use-events-in-yii2

**Register an event handler at Class-Level**

To register event handlers at Class-Level a good place can be inside the bootstrap process.
[...]
2 0
2 followers
Viewed: 52 233 times
Version: 2.0
Category: How-tos
Tags: events, yii2
Written by: minitia
Last updated by: minitia
Created on: Mar 11, 2019
Last updated: 2 years ago
Update Article

Revisions

View all history