Event module for yii