protected function afterSave() { Yii::app()->getCache()->clear($this->menu->code); return parent::afterSave(); }