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 | * CThematicAdvance |
||
| 10 | * |
||
| 11 | * @ORM\Table( |
||
| 12 | * name="c_thematic_advance", |
||
| 13 | * indexes={ |
||
| 14 | * @ORM\Index(name="course", columns={"c_id"}), |
||
| 15 | * @ORM\Index(name="thematic_id", columns={"thematic_id"}) |
||
| 16 | * } |
||
| 17 | * ) |
||
| 18 | * @ORM\Entity |
||
| 19 | */ |
||
| 20 | class CThematicAdvance |
||
| 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 integer |
||
| 54 | * |
||
| 55 | * @ORM\Column(name="attendance_id", type="integer", nullable=false) |
||
| 56 | */ |
||
| 57 | private $attendanceId; |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @var string |
||
| 61 | * |
||
| 62 | * @ORM\Column(name="content", type="text", nullable=true) |
||
| 63 | */ |
||
| 64 | private $content; |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @var \DateTime |
||
| 68 | * |
||
| 69 | * @ORM\Column(name="start_date", type="datetime", nullable=false) |
||
| 70 | */ |
||
| 71 | private $startDate; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @var integer |
||
| 75 | * |
||
| 76 | * @ORM\Column(name="duration", type="integer", nullable=false) |
||
| 77 | */ |
||
| 78 | private $duration; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @var boolean |
||
| 82 | * |
||
| 83 | * @ORM\Column(name="done_advance", type="boolean", nullable=false) |
||
| 84 | */ |
||
| 85 | private $doneAdvance; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @var Room |
||
| 89 | * |
||
| 90 | * @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Room") |
||
| 91 | * @ORM\JoinColumn(name="room_id", referencedColumnName="id") |
||
| 92 | **/ |
||
| 93 | private $room; |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Set thematicId |
||
| 97 | * |
||
| 98 | * @param integer $thematicId |
||
| 99 | * @return CThematicAdvance |
||
| 100 | */ |
||
| 101 | public function setThematicId($thematicId) |
||
| 102 | { |
||
| 103 | $this->thematicId = $thematicId; |
||
| 104 | |||
| 105 | return $this; |
||
| 106 | } |
||
| 107 | |||
| 108 | /** |
||
| 109 | * Get thematicId |
||
| 110 | * |
||
| 111 | * @return integer |
||
| 112 | */ |
||
| 113 | public function getThematicId() |
||
| 114 | { |
||
| 115 | return $this->thematicId; |
||
| 116 | } |
||
| 117 | |||
| 118 | /** |
||
| 119 | * Set attendanceId |
||
| 120 | * |
||
| 121 | * @param integer $attendanceId |
||
| 122 | * @return CThematicAdvance |
||
| 123 | */ |
||
| 124 | public function setAttendanceId($attendanceId) |
||
| 125 | { |
||
| 126 | $this->attendanceId = $attendanceId; |
||
| 127 | |||
| 128 | return $this; |
||
| 129 | } |
||
| 130 | |||
| 131 | /** |
||
| 132 | * Get attendanceId |
||
| 133 | * |
||
| 134 | * @return integer |
||
| 135 | */ |
||
| 136 | public function getAttendanceId() |
||
| 137 | { |
||
| 138 | return $this->attendanceId; |
||
| 139 | } |
||
| 140 | |||
| 141 | /** |
||
| 142 | * Set content |
||
| 143 | * |
||
| 144 | * @param string $content |
||
| 145 | * @return CThematicAdvance |
||
| 146 | */ |
||
| 147 | public function setContent($content) |
||
| 148 | { |
||
| 149 | $this->content = $content; |
||
| 150 | |||
| 151 | return $this; |
||
| 152 | } |
||
| 153 | |||
| 154 | /** |
||
| 155 | * Get content |
||
| 156 | * |
||
| 157 | * @return string |
||
| 158 | */ |
||
| 159 | public function getContent() |
||
| 160 | { |
||
| 161 | return $this->content; |
||
| 162 | } |
||
| 163 | |||
| 164 | /** |
||
| 165 | * Set startDate |
||
| 166 | * |
||
| 167 | * @param \DateTime $startDate |
||
| 168 | * @return CThematicAdvance |
||
| 169 | */ |
||
| 170 | public function setStartDate($startDate) |
||
| 171 | { |
||
| 172 | $this->startDate = $startDate; |
||
| 173 | |||
| 174 | return $this; |
||
| 175 | } |
||
| 176 | |||
| 177 | /** |
||
| 178 | * Get startDate |
||
| 179 | * |
||
| 180 | * @return \DateTime |
||
| 181 | */ |
||
| 182 | public function getStartDate() |
||
| 183 | { |
||
| 184 | return $this->startDate; |
||
| 185 | } |
||
| 186 | |||
| 187 | /** |
||
| 188 | * Set duration |
||
| 189 | * |
||
| 190 | * @param integer $duration |
||
| 191 | * @return CThematicAdvance |
||
| 192 | */ |
||
| 193 | public function setDuration($duration) |
||
| 194 | { |
||
| 195 | $this->duration = $duration; |
||
| 196 | |||
| 197 | return $this; |
||
| 198 | } |
||
| 199 | |||
| 200 | /** |
||
| 201 | * Get duration |
||
| 202 | * |
||
| 203 | * @return integer |
||
| 204 | */ |
||
| 205 | public function getDuration() |
||
| 206 | { |
||
| 207 | return $this->duration; |
||
| 208 | } |
||
| 209 | |||
| 210 | /** |
||
| 211 | * Set doneAdvance |
||
| 212 | * |
||
| 213 | * @param boolean $doneAdvance |
||
| 214 | * @return CThematicAdvance |
||
| 215 | */ |
||
| 216 | public function setDoneAdvance($doneAdvance) |
||
| 217 | { |
||
| 218 | $this->doneAdvance = $doneAdvance; |
||
| 219 | |||
| 220 | return $this; |
||
| 221 | } |
||
| 222 | |||
| 223 | /** |
||
| 224 | * Get doneAdvance |
||
| 225 | * |
||
| 226 | * @return boolean |
||
| 227 | */ |
||
| 228 | public function getDoneAdvance() |
||
| 229 | { |
||
| 230 | return $this->doneAdvance; |
||
| 231 | } |
||
| 232 | |||
| 233 | /** |
||
| 234 | * Set id |
||
| 235 | * |
||
| 236 | * @param integer $id |
||
| 237 | * @return CThematicAdvance |
||
| 238 | */ |
||
| 239 | public function setId($id) |
||
| 240 | { |
||
| 241 | $this->id = $id; |
||
| 242 | |||
| 243 | return $this; |
||
| 244 | } |
||
| 245 | |||
| 246 | /** |
||
| 247 | * Get id |
||
| 248 | * |
||
| 249 | * @return integer |
||
| 250 | */ |
||
| 251 | public function getId() |
||
| 252 | { |
||
| 253 | return $this->id; |
||
| 254 | } |
||
| 255 | |||
| 256 | /** |
||
| 257 | * Set cId |
||
| 258 | * |
||
| 259 | * @param integer $cId |
||
| 260 | * @return CThematicAdvance |
||
| 261 | */ |
||
| 262 | public function setCId($cId) |
||
| 263 | { |
||
| 264 | $this->cId = $cId; |
||
| 265 | |||
| 266 | return $this; |
||
| 267 | } |
||
| 268 | |||
| 269 | /** |
||
| 270 | * Get cId |
||
| 271 | * |
||
| 272 | * @return integer |
||
| 273 | */ |
||
| 274 | public function getCId() |
||
| 275 | { |
||
| 276 | return $this->cId; |
||
| 277 | } |
||
| 278 | |||
| 279 | /** |
||
| 280 | * @return Room |
||
| 281 | */ |
||
| 282 | public function getRoom() |
||
| 283 | { |
||
| 284 | return $this->room; |
||
| 285 | } |
||
| 286 | |||
| 287 | /** |
||
| 288 | * @param Room $room |
||
| 289 | * |
||
| 290 | * @return $this |
||
| 291 | */ |
||
| 292 | public function setRoom($room) |
||
| 293 | { |
||
| 294 | $this->room = $room; |
||
| 295 | |||
| 296 | return $this; |
||
| 297 | } |
||
| 298 | } |
||
| 299 |
This check marks private properties in classes that are never used. Those properties can be removed.