protected function afterFind() { parent::afterFind(); Yii::app()->event->dispatch('gp_after_find', array('gp' => $this)); }