Browse Source

fixed event php-doc

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
0222462ed7
  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