chamilo /
chamilo-lms
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | /* For licensing terms, see /license.txt */ |
||
| 3 | |||
| 4 | namespace Chamilo\CourseBundle\Entity; |
||
| 5 | |||
| 6 | use Doctrine\ORM\Mapping as ORM; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * CThematicPlan |
||
| 10 | * |
||
| 11 | * @ORM\Table( |
||
| 12 | * name="c_thematic_plan", |
||
| 13 | * indexes={ |
||
| 14 | * @ORM\Index(name="course", columns={"c_id"}), |
||
| 15 | * @ORM\Index(name="thematic_id", columns={"thematic_id", "description_type"}) |
||
| 16 | * } |
||
| 17 | * ) |
||
| 18 | * @ORM\Entity |
||
| 19 | */ |
||
| 20 | class CThematicPlan |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var integer |
||
| 24 | * |
||
| 25 | * @ORM\Column(name="iid", type="integer") |
||
| 26 | * @ORM\Id |
||
| 27 | * @ORM\GeneratedValue |
||
| 28 | */ |
||
| 29 | private $iid; |
||
|
0 ignored issues
–
show
|
|||
| 30 | |||
| 31 | /** |
||
| 32 | * @var integer |
||
| 33 | * |
||
| 34 | * @ORM\Column(name="c_id", type="integer") |
||
| 35 | */ |
||
| 36 | private $cId; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var integer |
||
| 40 | * |
||
| 41 | * @ORM\Column(name="id", type="integer", nullable=true) |
||
| 42 | */ |
||
| 43 | private $id; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var integer |
||
| 47 | * |
||
| 48 | * @ORM\Column(name="thematic_id", type="integer", nullable=false) |
||
| 49 | */ |
||
| 50 | private $thematicId; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @var string |
||
| 54 | * |
||
| 55 | * @ORM\Column(name="title", type="string", length=255, nullable=false) |
||
| 56 | */ |
||
| 57 | private $title; |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @var string |
||
| 61 | * |
||
| 62 | * @ORM\Column(name="description", type="text", nullable=true) |
||
| 63 | */ |
||
| 64 | private $description; |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @var integer |
||
| 68 | * |
||
| 69 | * @ORM\Column(name="description_type", type="integer", nullable=false) |
||
| 70 | */ |
||
| 71 | private $descriptionType; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Set thematicId |
||
| 75 | * |
||
| 76 | * @param integer $thematicId |
||
| 77 | * @return CThematicPlan |
||
| 78 | */ |
||
| 79 | public function setThematicId($thematicId) |
||
| 80 | { |
||
| 81 | $this->thematicId = $thematicId; |
||
| 82 | |||
| 83 | return $this; |
||
| 84 | } |
||
| 85 | |||
| 86 | /** |
||
| 87 | * Get thematicId |
||
| 88 | * |
||
| 89 | * @return integer |
||
| 90 | */ |
||
| 91 | public function getThematicId() |
||
| 92 | { |
||
| 93 | return $this->thematicId; |
||
| 94 | } |
||
| 95 | |||
| 96 | /** |
||
| 97 | * Set title |
||
| 98 | * |
||
| 99 | * @param string $title |
||
| 100 | * @return CThematicPlan |
||
| 101 | */ |
||
| 102 | public function setTitle($title) |
||
| 103 | { |
||
| 104 | $this->title = $title; |
||
| 105 | |||
| 106 | return $this; |
||
| 107 | } |
||
| 108 | |||
| 109 | /** |
||
| 110 | * Get title |
||
| 111 | * |
||
| 112 | * @return string |
||
| 113 | */ |
||
| 114 | public function getTitle() |
||
| 115 | { |
||
| 116 | return $this->title; |
||
| 117 | } |
||
| 118 | |||
| 119 | /** |
||
| 120 | * Set description |
||
| 121 | * |
||
| 122 | * @param string $description |
||
| 123 | * @return CThematicPlan |
||
| 124 | */ |
||
| 125 | public function setDescription($description) |
||
| 126 | { |
||
| 127 | $this->description = $description; |
||
| 128 | |||
| 129 | return $this; |
||
| 130 | } |
||
| 131 | |||
| 132 | /** |
||
| 133 | * Get description |
||
| 134 | * |
||
| 135 | * @return string |
||
| 136 | */ |
||
| 137 | public function getDescription() |
||
| 138 | { |
||
| 139 | return $this->description; |
||
| 140 | } |
||
| 141 | |||
| 142 | /** |
||
| 143 | * Set descriptionType |
||
| 144 | * |
||
| 145 | * @param integer $descriptionType |
||
| 146 | * @return CThematicPlan |
||
| 147 | */ |
||
| 148 | public function setDescriptionType($descriptionType) |
||
| 149 | { |
||
| 150 | $this->descriptionType = $descriptionType; |
||
| 151 | |||
| 152 | return $this; |
||
| 153 | } |
||
| 154 | |||
| 155 | /** |
||
| 156 | * Get descriptionType |
||
| 157 | * |
||
| 158 | * @return integer |
||
| 159 | */ |
||
| 160 | public function getDescriptionType() |
||
| 161 | { |
||
| 162 | return $this->descriptionType; |
||
| 163 | } |
||
| 164 | |||
| 165 | /** |
||
| 166 | * Set id |
||
| 167 | * |
||
| 168 | * @param integer $id |
||
| 169 | * @return CThematicPlan |
||
| 170 | */ |
||
| 171 | public function setId($id) |
||
| 172 | { |
||
| 173 | $this->id = $id; |
||
| 174 | |||
| 175 | return $this; |
||
| 176 | } |
||
| 177 | |||
| 178 | /** |
||
| 179 | * Get id |
||
| 180 | * |
||
| 181 | * @return integer |
||
| 182 | */ |
||
| 183 | public function getId() |
||
| 184 | { |
||
| 185 | return $this->id; |
||
| 186 | } |
||
| 187 | |||
| 188 | /** |
||
| 189 | * Set cId |
||
| 190 | * |
||
| 191 | * @param integer $cId |
||
| 192 | * @return CThematicPlan |
||
| 193 | */ |
||
| 194 | public function setCId($cId) |
||
| 195 | { |
||
| 196 | $this->cId = $cId; |
||
| 197 | |||
| 198 | return $this; |
||
| 199 | } |
||
| 200 | |||
| 201 | /** |
||
| 202 | * Get cId |
||
| 203 | * |
||
| 204 | * @return integer |
||
| 205 | */ |
||
| 206 | public function getCId() |
||
| 207 | { |
||
| 208 | return $this->cId; |
||
| 209 | } |
||
| 210 | } |
||
| 211 |
This check marks private properties in classes that are never used. Those properties can be removed.