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 | * CSurveyInvitation |
||
| 10 | * |
||
| 11 | * @ORM\Table( |
||
| 12 | * name="c_survey_invitation", |
||
| 13 | * indexes={ |
||
| 14 | * @ORM\Index(name="course", columns={"c_id"}) |
||
| 15 | * } |
||
| 16 | * ) |
||
| 17 | * @ORM\Entity |
||
| 18 | */ |
||
| 19 | class CSurveyInvitation |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var integer |
||
| 23 | * |
||
| 24 | * @ORM\Column(name="iid", type="integer") |
||
| 25 | * @ORM\Id |
||
| 26 | * @ORM\GeneratedValue |
||
| 27 | */ |
||
| 28 | private $iid; |
||
|
0 ignored issues
–
show
|
|||
| 29 | |||
| 30 | /** |
||
| 31 | * @var integer |
||
| 32 | * |
||
| 33 | * @ORM\Column(name="c_id", type="integer") |
||
| 34 | */ |
||
| 35 | private $cId; |
||
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * @var integer |
||
| 40 | * |
||
| 41 | * @ORM\Column(name="survey_invitation_id", type="integer") |
||
| 42 | */ |
||
| 43 | private $surveyInvitationId; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var string |
||
| 47 | * |
||
| 48 | * @ORM\Column(name="survey_code", type="string", length=20, nullable=false) |
||
| 49 | */ |
||
| 50 | private $surveyCode; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @var string |
||
| 54 | * |
||
| 55 | * @ORM\Column(name="user", type="string", length=250, nullable=false) |
||
| 56 | */ |
||
| 57 | private $user; |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @var string |
||
| 61 | * |
||
| 62 | * @ORM\Column(name="invitation_code", type="string", length=250, nullable=false) |
||
| 63 | */ |
||
| 64 | private $invitationCode; |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @var \DateTime |
||
| 68 | * |
||
| 69 | * @ORM\Column(name="invitation_date", type="datetime", nullable=false) |
||
| 70 | */ |
||
| 71 | private $invitationDate; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @var \DateTime |
||
| 75 | * |
||
| 76 | * @ORM\Column(name="reminder_date", type="datetime", nullable=false) |
||
| 77 | */ |
||
| 78 | private $reminderDate; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @var integer |
||
| 82 | * |
||
| 83 | * @ORM\Column(name="answered", type="integer", nullable=false) |
||
| 84 | */ |
||
| 85 | private $answered; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @var integer |
||
| 89 | * |
||
| 90 | * @ORM\Column(name="session_id", type="integer", nullable=false) |
||
| 91 | */ |
||
| 92 | private $sessionId; |
||
| 93 | |||
| 94 | /** |
||
| 95 | * @var integer |
||
| 96 | * |
||
| 97 | * @ORM\Column(name="group_id", type="integer", nullable=false) |
||
| 98 | */ |
||
| 99 | private $groupId; |
||
| 100 | |||
| 101 | /** |
||
| 102 | * Set surveyCode |
||
| 103 | * |
||
| 104 | * @param string $surveyCode |
||
| 105 | * @return CSurveyInvitation |
||
| 106 | */ |
||
| 107 | public function setSurveyCode($surveyCode) |
||
| 108 | { |
||
| 109 | $this->surveyCode = $surveyCode; |
||
| 110 | |||
| 111 | return $this; |
||
| 112 | } |
||
| 113 | |||
| 114 | /** |
||
| 115 | * Get surveyCode |
||
| 116 | * |
||
| 117 | * @return string |
||
| 118 | */ |
||
| 119 | public function getSurveyCode() |
||
| 120 | { |
||
| 121 | return $this->surveyCode; |
||
| 122 | } |
||
| 123 | |||
| 124 | /** |
||
| 125 | * Set user |
||
| 126 | * |
||
| 127 | * @param string $user |
||
| 128 | * @return CSurveyInvitation |
||
| 129 | */ |
||
| 130 | public function setUser($user) |
||
| 131 | { |
||
| 132 | $this->user = $user; |
||
| 133 | |||
| 134 | return $this; |
||
| 135 | } |
||
| 136 | |||
| 137 | /** |
||
| 138 | * Get user |
||
| 139 | * |
||
| 140 | * @return string |
||
| 141 | */ |
||
| 142 | public function getUser() |
||
| 143 | { |
||
| 144 | return $this->user; |
||
| 145 | } |
||
| 146 | |||
| 147 | /** |
||
| 148 | * Set invitationCode |
||
| 149 | * |
||
| 150 | * @param string $invitationCode |
||
| 151 | * @return CSurveyInvitation |
||
| 152 | */ |
||
| 153 | public function setInvitationCode($invitationCode) |
||
| 154 | { |
||
| 155 | $this->invitationCode = $invitationCode; |
||
| 156 | |||
| 157 | return $this; |
||
| 158 | } |
||
| 159 | |||
| 160 | /** |
||
| 161 | * Get invitationCode |
||
| 162 | * |
||
| 163 | * @return string |
||
| 164 | */ |
||
| 165 | public function getInvitationCode() |
||
| 166 | { |
||
| 167 | return $this->invitationCode; |
||
| 168 | } |
||
| 169 | |||
| 170 | /** |
||
| 171 | * Set invitationDate |
||
| 172 | * |
||
| 173 | * @param \DateTime $invitationDate |
||
| 174 | * @return CSurveyInvitation |
||
| 175 | */ |
||
| 176 | public function setInvitationDate($invitationDate) |
||
| 177 | { |
||
| 178 | $this->invitationDate = $invitationDate; |
||
| 179 | |||
| 180 | return $this; |
||
| 181 | } |
||
| 182 | |||
| 183 | /** |
||
| 184 | * Get invitationDate |
||
| 185 | * |
||
| 186 | * @return \DateTime |
||
| 187 | */ |
||
| 188 | public function getInvitationDate() |
||
| 189 | { |
||
| 190 | return $this->invitationDate; |
||
| 191 | } |
||
| 192 | |||
| 193 | /** |
||
| 194 | * Set reminderDate |
||
| 195 | * |
||
| 196 | * @param \DateTime $reminderDate |
||
| 197 | * @return CSurveyInvitation |
||
| 198 | */ |
||
| 199 | public function setReminderDate($reminderDate) |
||
| 200 | { |
||
| 201 | $this->reminderDate = $reminderDate; |
||
| 202 | |||
| 203 | return $this; |
||
| 204 | } |
||
| 205 | |||
| 206 | /** |
||
| 207 | * Get reminderDate |
||
| 208 | * |
||
| 209 | * @return \DateTime |
||
| 210 | */ |
||
| 211 | public function getReminderDate() |
||
| 212 | { |
||
| 213 | return $this->reminderDate; |
||
| 214 | } |
||
| 215 | |||
| 216 | /** |
||
| 217 | * Set answered |
||
| 218 | * |
||
| 219 | * @param integer $answered |
||
| 220 | * @return CSurveyInvitation |
||
| 221 | */ |
||
| 222 | public function setAnswered($answered) |
||
| 223 | { |
||
| 224 | $this->answered = $answered; |
||
| 225 | |||
| 226 | return $this; |
||
| 227 | } |
||
| 228 | |||
| 229 | /** |
||
| 230 | * Get answered |
||
| 231 | * |
||
| 232 | * @return integer |
||
| 233 | */ |
||
| 234 | public function getAnswered() |
||
| 235 | { |
||
| 236 | return $this->answered; |
||
| 237 | } |
||
| 238 | |||
| 239 | /** |
||
| 240 | * Set sessionId |
||
| 241 | * |
||
| 242 | * @param integer $sessionId |
||
| 243 | * @return CSurveyInvitation |
||
| 244 | */ |
||
| 245 | public function setSessionId($sessionId) |
||
| 246 | { |
||
| 247 | $this->sessionId = $sessionId; |
||
| 248 | |||
| 249 | return $this; |
||
| 250 | } |
||
| 251 | |||
| 252 | /** |
||
| 253 | * Get sessionId |
||
| 254 | * |
||
| 255 | * @return integer |
||
| 256 | */ |
||
| 257 | public function getSessionId() |
||
| 258 | { |
||
| 259 | return $this->sessionId; |
||
| 260 | } |
||
| 261 | |||
| 262 | /** |
||
| 263 | * Set groupId |
||
| 264 | * |
||
| 265 | * @param integer $groupId |
||
| 266 | * @return CSurveyInvitation |
||
| 267 | */ |
||
| 268 | public function setGroupId($groupId) |
||
| 269 | { |
||
| 270 | $this->groupId = $groupId; |
||
| 271 | |||
| 272 | return $this; |
||
| 273 | } |
||
| 274 | |||
| 275 | /** |
||
| 276 | * Get groupId |
||
| 277 | * |
||
| 278 | * @return integer |
||
| 279 | */ |
||
| 280 | public function getGroupId() |
||
| 281 | { |
||
| 282 | return $this->groupId; |
||
| 283 | } |
||
| 284 | |||
| 285 | /** |
||
| 286 | * Set surveyInvitationId |
||
| 287 | * |
||
| 288 | * @param integer $surveyInvitationId |
||
| 289 | * @return CSurveyInvitation |
||
| 290 | */ |
||
| 291 | public function setSurveyInvitationId($surveyInvitationId) |
||
| 292 | { |
||
| 293 | $this->surveyInvitationId = $surveyInvitationId; |
||
| 294 | |||
| 295 | return $this; |
||
| 296 | } |
||
| 297 | |||
| 298 | /** |
||
| 299 | * Get surveyInvitationId |
||
| 300 | * |
||
| 301 | * @return integer |
||
| 302 | */ |
||
| 303 | public function getSurveyInvitationId() |
||
| 304 | { |
||
| 305 | return $this->surveyInvitationId; |
||
| 306 | } |
||
| 307 | |||
| 308 | /** |
||
| 309 | * Set cId |
||
| 310 | * |
||
| 311 | * @param integer $cId |
||
| 312 | * @return CSurveyInvitation |
||
| 313 | */ |
||
| 314 | public function setCId($cId) |
||
| 315 | { |
||
| 316 | $this->cId = $cId; |
||
| 317 | |||
| 318 | return $this; |
||
| 319 | } |
||
| 320 | |||
| 321 | /** |
||
| 322 | * Get cId |
||
| 323 | * |
||
| 324 | * @return integer |
||
| 325 | */ |
||
| 326 | public function getCId() |
||
| 327 | { |
||
| 328 | return $this->cId; |
||
| 329 | } |
||
| 330 | } |
||
| 331 |
This check marks private properties in classes that are never used. Those properties can be removed.