public function beforeDelete() { Yii::app()->getCache()->delete("Blog::Blog::members::{$this->user_id}"); return parent::beforeDelete(); }