Add fields to associate forum to lp - refs BT#9881 #TMI

1.10.x
Angel Fernando Quiroz Campos 10 years ago
parent d3cf35ee1b
commit fcc9030faf
  1. 29
      src/Chamilo/CourseBundle/Entity/CForumForum.php
  2. 29
      src/Chamilo/CourseBundle/Entity/CForumThread.php

@ -176,6 +176,13 @@ class CForumForum
*/
private $endTime;
/**
* @var integer
*
* @ORM\Column(name="lp_id", type="integer", options={"unsigned":true})
*/
private $lpId;
/**
* Set forumTitle
*
@ -681,4 +688,26 @@ class CForumForum
{
return $this->cId;
}
/**
* Set lpId
* @param integer $lpId
* @return \Chamilo\CourseBundle\Entity\CForumForum
*/
public function setLpId($lpId)
{
$this->lpId = $lpId;
return $this;
}
/**
* Get lpId
* @return integer
*/
public function getLpId()
{
return $this->lpId;
}
}

@ -148,6 +148,13 @@ class CForumThread
*/
private $threadPeerQualify;
/**
* @var integer
*
* @ORM\Column(name="lp_item_id", type="integer", options={"unsigned":true})
*/
private $lpItemId;
/**
* Constructor
*/
@ -564,4 +571,26 @@ class CForumThread
{
return $this->cId;
}
/**
* Set lpItemId
* @param integer $lpItemId
* @return \Chamilo\CourseBundle\Entity\CForumThread
*/
public function setLpItemId($lpItemId)
{
$this->lpItemId = $lpItemId;
return $this;
}
/**
* Get lpId
* @return integer
*/
public function getLpItemId()
{
return $this->lpItemId;
}
}

Loading…
Cancel
Save