/** * Insert or Update this wall entry * * @return type */ public function save($runValidation = true, $attributes = NULL) { $ret = parent::save($runValidation, $attributes); $cacheId = "wallEntryCount_" . $this->wall_id; Yii::app()->cache->delete($cacheId); return $ret; }