public function afterSave($event) { Yii::app()->getCache()->clear($this->getCacheTag()); parent::afterSave($event); }