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