Browse Source

Merge pull request #1101 from lucianobaraglia/master

Typo [skip ci]
tags/2.0.0-beta
resurtm 11 years ago
parent
commit
94805caeb2
  1. 2
      framework/yii/base/Event.php

2
framework/yii/base/Event.php

@ -58,7 +58,7 @@ class Event extends Object
* `afterInsert` event:
*
* ~~~
* Event::on([ActiveRecord::className, ActiveRecord::EVENT_AFTER_INSERT], function ($event) {
* Event::on([ActiveRecord::className(), ActiveRecord::EVENT_AFTER_INSERT], function ($event) {
* Yii::trace(get_class($event->sender) . ' is inserted.');
* });
* ~~~

Loading…
Cancel
Save