|
|
|
@ -93,13 +93,6 @@ class CourseRelUser |
|
|
|
|
*/ |
|
|
|
|
protected $course; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* @ORM\ManyToOne(targetEntity="Chamilo\CourseBundle\Entity\CGroupInfo", inversedBy="course", cascade={"persist"}) |
|
|
|
|
* @ORM\JoinColumn(name="group_id", referencedColumnName="iid") |
|
|
|
|
*/ |
|
|
|
|
//protected $group; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Constructor |
|
|
|
|
*/ |
|
|
|
@ -132,27 +125,6 @@ class CourseRelUser |
|
|
|
|
$this->id = $id; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @param CGroupInfo $group |
|
|
|
|
* @return $this |
|
|
|
|
*/ |
|
|
|
|
public function setGroup(CGroupInfo $group) |
|
|
|
|
{ |
|
|
|
|
$this->group = $group; |
|
|
|
|
|
|
|
|
|
return $this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Get group |
|
|
|
|
* |
|
|
|
|
* @return CGroupInfo |
|
|
|
|
*/ |
|
|
|
|
public function getGroup() |
|
|
|
|
{ |
|
|
|
|
return $this->group; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @param Course $course |
|
|
|
|
* @return $this |
|
|
|
|