예제 #1
0
파일: Objective.php 프로젝트: profcab/ilios
 /**
  * @param ObjectiveInterface $child
  */
 public function addChild(ObjectiveInterface $child)
 {
     $this->children->add($child);
 }
예제 #2
0
 /**
  * @param ObjectiveInterface $objective
  */
 public function addObjective(ObjectiveInterface $objective)
 {
     $this->objectives->add($objective);
 }
예제 #3
0
 /**
  * @param ObjectiveInterface $child
  */
 public function addChild(ObjectiveInterface $child)
 {
     if (!$this->children->contains($child)) {
         $this->children->add($child);
     }
 }
예제 #4
0
파일: Course.php 프로젝트: stopfstedt/ilios
 /**
  * @inheritdoc
  */
 public function addObjective(ObjectiveInterface $objective)
 {
     if (!$this->objectives->contains($objective)) {
         $this->objectives->add($objective);
         $objective->addCourse($this);
     }
 }
예제 #5
0
 /**
  * @inheritdoc
  */
 public function addObjective(ObjectiveInterface $objective)
 {
     if (!$this->objectives->contains($objective)) {
         $this->objectives->add($objective);
         $objective->addMeshDescriptor($this);
     }
 }