public function actionSave()
 {
     $model = new CCoreModel();
     $model->setAttributes(CRequest::getArray($model::getClassName()));
     if ($model->validate()) {
         $model->save();
         if ($this->continueEdit()) {
             $this->redirect("?action=edit&id=" . $model->getId());
         } else {
             $this->redirect("?action=index");
         }
         return true;
     }
     $this->setData("model", $model);
     $this->renderView("_core/model/add.tpl");
 }