예제 #1
0
 public function ajaxResponse(\AjaxResponseObject $ajaxResponseObject)
 {
     $competence = \CompetenceRaster::getCompetenceById($this->competenceId);
     if ($this->checked == "true") {
         $this->artefact->addCompetenceString($this->competenceId);
     } else {
         $this->artefact->removeCompetenceString($this->competenceId);
     }
     $ajaxResponseObject->setStatus("ok");
     return $ajaxResponseObject;
 }
예제 #2
0
파일: Entry.class.php 프로젝트: rolwi/koala
 public function removeCompetenceString($competenceString)
 {
     $competence = CompetenceRaster::getCompetenceById($competenceString);
     $this->removeCompetence($competence);
 }