public function actionSave()
 {
     $object = new CWorkPlanCompetention();
     $object->setAttributes(CRequest::getArray($object::getClassName()));
     if ($object->validate()) {
         $object->save();
         if ($this->continueEdit()) {
             $this->redirect("workplancompetentions.php?action=edit&id=" . $object->getId());
         } else {
             $this->redirect("workplancompetentions.php?action=index&plan_id=" . $object->plan_id);
         }
         return true;
     }
     $this->setData("object", $object);
     $this->renderView("_corriculum/_workplan/competentions/edit.tpl");
 }