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 | * CQuizRelQuestion |
||
| 10 | * |
||
| 11 | * @ORM\Table( |
||
| 12 | * name="c_quiz_rel_question", |
||
| 13 | * indexes={ |
||
| 14 | * @ORM\Index(name="course", columns={"c_id"}), |
||
| 15 | * @ORM\Index(name="question", columns={"question_id"}), |
||
| 16 | * @ORM\Index(name="exercise", columns={"exercice_id"}) |
||
| 17 | * } |
||
| 18 | * ) |
||
| 19 | * @ORM\Entity |
||
| 20 | */ |
||
| 21 | class CQuizRelQuestion |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var integer |
||
| 25 | * |
||
| 26 | * @ORM\Column(name="iid", type="integer") |
||
| 27 | * @ORM\Id |
||
| 28 | * @ORM\GeneratedValue |
||
| 29 | */ |
||
| 30 | private $iid; |
||
|
0 ignored issues
–
show
|
|||
| 31 | |||
| 32 | /** |
||
| 33 | * @var integer |
||
| 34 | * |
||
| 35 | * @ORM\Column(name="c_id", type="integer") |
||
| 36 | */ |
||
| 37 | private $cId; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var integer |
||
| 41 | * |
||
| 42 | * @ORM\Column(name="question_order", type="integer", nullable=false) |
||
| 43 | */ |
||
| 44 | private $questionOrder; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @var integer |
||
| 48 | * |
||
| 49 | * @ORM\Column(name="question_id", type="integer") |
||
| 50 | */ |
||
| 51 | private $questionId; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @var integer |
||
| 55 | * |
||
| 56 | * @ORM\Column(name="exercice_id", type="integer") |
||
| 57 | */ |
||
| 58 | private $exerciceId; |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Set questionOrder |
||
| 62 | * |
||
| 63 | * @param integer $questionOrder |
||
| 64 | * @return CQuizRelQuestion |
||
| 65 | */ |
||
| 66 | public function setQuestionOrder($questionOrder) |
||
| 67 | { |
||
| 68 | $this->questionOrder = $questionOrder; |
||
| 69 | |||
| 70 | return $this; |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Get questionOrder |
||
| 75 | * |
||
| 76 | * @return integer |
||
| 77 | */ |
||
| 78 | public function getQuestionOrder() |
||
| 79 | { |
||
| 80 | return $this->questionOrder; |
||
| 81 | } |
||
| 82 | |||
| 83 | /** |
||
| 84 | * Set cId |
||
| 85 | * |
||
| 86 | * @param integer $cId |
||
| 87 | * @return CQuizRelQuestion |
||
| 88 | */ |
||
| 89 | public function setCId($cId) |
||
| 90 | { |
||
| 91 | $this->cId = $cId; |
||
| 92 | |||
| 93 | return $this; |
||
| 94 | } |
||
| 95 | |||
| 96 | /** |
||
| 97 | * Get cId |
||
| 98 | * |
||
| 99 | * @return integer |
||
| 100 | */ |
||
| 101 | public function getCId() |
||
| 102 | { |
||
| 103 | return $this->cId; |
||
| 104 | } |
||
| 105 | |||
| 106 | /** |
||
| 107 | * Set questionId |
||
| 108 | * |
||
| 109 | * @param integer $questionId |
||
| 110 | * @return CQuizRelQuestion |
||
| 111 | */ |
||
| 112 | public function setQuestionId($questionId) |
||
| 113 | { |
||
| 114 | $this->questionId = $questionId; |
||
| 115 | |||
| 116 | return $this; |
||
| 117 | } |
||
| 118 | |||
| 119 | /** |
||
| 120 | * Get questionId |
||
| 121 | * |
||
| 122 | * @return integer |
||
| 123 | */ |
||
| 124 | public function getQuestionId() |
||
| 125 | { |
||
| 126 | return $this->questionId; |
||
| 127 | } |
||
| 128 | |||
| 129 | /** |
||
| 130 | * Set exerciceId |
||
| 131 | * |
||
| 132 | * @param integer $exerciceId |
||
| 133 | * @return CQuizRelQuestion |
||
| 134 | */ |
||
| 135 | public function setExerciceId($exerciceId) |
||
| 136 | { |
||
| 137 | $this->exerciceId = $exerciceId; |
||
| 138 | |||
| 139 | return $this; |
||
| 140 | } |
||
| 141 | |||
| 142 | /** |
||
| 143 | * Get exerciceId |
||
| 144 | * |
||
| 145 | * @return integer |
||
| 146 | */ |
||
| 147 | public function getExerciceId() |
||
| 148 | { |
||
| 149 | return $this->exerciceId; |
||
| 150 | } |
||
| 151 | } |
||
| 152 |
This check marks private properties in classes that are never used. Those properties can be removed.