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 | * CSurvey |
||
| 10 | * |
||
| 11 | * @ORM\Table( |
||
| 12 | * name="c_survey", |
||
| 13 | * indexes={ |
||
| 14 | * @ORM\Index(name="course", columns={"c_id"}), |
||
| 15 | * @ORM\Index(name="session_id", columns={"session_id"}) |
||
| 16 | * } |
||
| 17 | * ) |
||
| 18 | * @ORM\Entity |
||
| 19 | */ |
||
| 20 | class CSurvey |
||
| 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="survey_id", type="integer") |
||
| 42 | */ |
||
| 43 | private $surveyId; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var string |
||
| 47 | * |
||
| 48 | * @ORM\Column(name="code", type="string", length=20, nullable=true) |
||
| 49 | */ |
||
| 50 | private $code; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @var string |
||
| 54 | * |
||
| 55 | * @ORM\Column(name="title", type="text", nullable=true) |
||
| 56 | */ |
||
| 57 | private $title; |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @var string |
||
| 61 | * |
||
| 62 | * @ORM\Column(name="subtitle", type="text", nullable=true) |
||
| 63 | */ |
||
| 64 | private $subtitle; |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @var string |
||
| 68 | * |
||
| 69 | * @ORM\Column(name="author", type="string", length=20, nullable=true) |
||
| 70 | */ |
||
| 71 | private $author; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @var string |
||
| 75 | * |
||
| 76 | * @ORM\Column(name="lang", type="string", length=20, nullable=true) |
||
| 77 | */ |
||
| 78 | private $lang; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @var \DateTime |
||
| 82 | * |
||
| 83 | * @ORM\Column(name="avail_from", type="date", nullable=true) |
||
| 84 | */ |
||
| 85 | private $availFrom; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @var \DateTime |
||
| 89 | * |
||
| 90 | * @ORM\Column(name="avail_till", type="date", nullable=true) |
||
| 91 | */ |
||
| 92 | private $availTill; |
||
| 93 | |||
| 94 | /** |
||
| 95 | * @var string |
||
| 96 | * |
||
| 97 | * @ORM\Column(name="is_shared", type="string", length=1, nullable=true) |
||
| 98 | */ |
||
| 99 | private $isShared; |
||
| 100 | |||
| 101 | /** |
||
| 102 | * @var string |
||
| 103 | * |
||
| 104 | * @ORM\Column(name="template", type="string", length=20, nullable=true) |
||
| 105 | */ |
||
| 106 | private $template; |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @var string |
||
| 110 | * |
||
| 111 | * @ORM\Column(name="intro", type="text", nullable=true) |
||
| 112 | */ |
||
| 113 | private $intro; |
||
| 114 | |||
| 115 | /** |
||
| 116 | * @var string |
||
| 117 | * |
||
| 118 | * @ORM\Column(name="surveythanks", type="text", nullable=true) |
||
| 119 | */ |
||
| 120 | private $surveythanks; |
||
| 121 | |||
| 122 | /** |
||
| 123 | * @var \DateTime |
||
| 124 | * |
||
| 125 | * @ORM\Column(name="creation_date", type="datetime", nullable=false) |
||
| 126 | */ |
||
| 127 | private $creationDate; |
||
| 128 | |||
| 129 | /** |
||
| 130 | * @var integer |
||
| 131 | * |
||
| 132 | * @ORM\Column(name="invited", type="integer", nullable=false) |
||
| 133 | */ |
||
| 134 | private $invited; |
||
| 135 | |||
| 136 | /** |
||
| 137 | * @var integer |
||
| 138 | * |
||
| 139 | * @ORM\Column(name="answered", type="integer", nullable=false) |
||
| 140 | */ |
||
| 141 | private $answered; |
||
| 142 | |||
| 143 | /** |
||
| 144 | * @var string |
||
| 145 | * |
||
| 146 | * @ORM\Column(name="invite_mail", type="text", nullable=false) |
||
| 147 | */ |
||
| 148 | private $inviteMail; |
||
| 149 | |||
| 150 | /** |
||
| 151 | * @var string |
||
| 152 | * |
||
| 153 | * @ORM\Column(name="reminder_mail", type="text", nullable=false) |
||
| 154 | */ |
||
| 155 | private $reminderMail; |
||
| 156 | |||
| 157 | /** |
||
| 158 | * @var string |
||
| 159 | * |
||
| 160 | * @ORM\Column(name="mail_subject", type="string", length=255, nullable=false) |
||
| 161 | */ |
||
| 162 | private $mailSubject; |
||
| 163 | |||
| 164 | /** |
||
| 165 | * @var string |
||
| 166 | * |
||
| 167 | * @ORM\Column(name="anonymous", type="string", length=10, nullable=false) |
||
| 168 | */ |
||
| 169 | private $anonymous; |
||
| 170 | |||
| 171 | /** |
||
| 172 | * @var string |
||
| 173 | * |
||
| 174 | * @ORM\Column(name="access_condition", type="text", nullable=true) |
||
| 175 | */ |
||
| 176 | private $accessCondition; |
||
| 177 | |||
| 178 | /** |
||
| 179 | * @var boolean |
||
| 180 | * |
||
| 181 | * @ORM\Column(name="shuffle", type="boolean", nullable=false) |
||
| 182 | */ |
||
| 183 | private $shuffle; |
||
| 184 | |||
| 185 | /** |
||
| 186 | * @var boolean |
||
| 187 | * |
||
| 188 | * @ORM\Column(name="one_question_per_page", type="boolean", nullable=false) |
||
| 189 | */ |
||
| 190 | private $oneQuestionPerPage; |
||
| 191 | |||
| 192 | /** |
||
| 193 | * @var string |
||
| 194 | * |
||
| 195 | * @ORM\Column(name="survey_version", type="string", length=255, nullable=false) |
||
| 196 | */ |
||
| 197 | private $surveyVersion; |
||
| 198 | |||
| 199 | /** |
||
| 200 | * @var integer |
||
| 201 | * |
||
| 202 | * @ORM\Column(name="parent_id", type="integer", nullable=false) |
||
| 203 | */ |
||
| 204 | private $parentId; |
||
| 205 | |||
| 206 | /** |
||
| 207 | * @var integer |
||
| 208 | * |
||
| 209 | * @ORM\Column(name="survey_type", type="integer", nullable=false) |
||
| 210 | */ |
||
| 211 | private $surveyType; |
||
| 212 | |||
| 213 | /** |
||
| 214 | * @var integer |
||
| 215 | * |
||
| 216 | * @ORM\Column(name="show_form_profile", type="integer", nullable=false) |
||
| 217 | */ |
||
| 218 | private $showFormProfile; |
||
| 219 | |||
| 220 | /** |
||
| 221 | * @var string |
||
| 222 | * |
||
| 223 | * @ORM\Column(name="form_fields", type="text", nullable=false) |
||
| 224 | */ |
||
| 225 | private $formFields; |
||
| 226 | |||
| 227 | /** |
||
| 228 | * @var integer |
||
| 229 | * |
||
| 230 | * @ORM\Column(name="session_id", type="integer", nullable=false) |
||
| 231 | */ |
||
| 232 | private $sessionId; |
||
| 233 | |||
| 234 | /** |
||
| 235 | * @var integer |
||
| 236 | * |
||
| 237 | * @ORM\Column(name="visible_results", type="integer", nullable=true) |
||
| 238 | */ |
||
| 239 | private $visibleResults; |
||
| 240 | |||
| 241 | /** |
||
| 242 | * Set code |
||
| 243 | * |
||
| 244 | * @param string $code |
||
| 245 | * @return CSurvey |
||
| 246 | */ |
||
| 247 | public function setCode($code) |
||
| 248 | { |
||
| 249 | $this->code = $code; |
||
| 250 | |||
| 251 | return $this; |
||
| 252 | } |
||
| 253 | |||
| 254 | /** |
||
| 255 | * Get code |
||
| 256 | * |
||
| 257 | * @return string |
||
| 258 | */ |
||
| 259 | public function getCode() |
||
| 260 | { |
||
| 261 | return $this->code; |
||
| 262 | } |
||
| 263 | |||
| 264 | /** |
||
| 265 | * Set title |
||
| 266 | * |
||
| 267 | * @param string $title |
||
| 268 | * @return CSurvey |
||
| 269 | */ |
||
| 270 | public function setTitle($title) |
||
| 271 | { |
||
| 272 | $this->title = $title; |
||
| 273 | |||
| 274 | return $this; |
||
| 275 | } |
||
| 276 | |||
| 277 | /** |
||
| 278 | * Get title |
||
| 279 | * |
||
| 280 | * @return string |
||
| 281 | */ |
||
| 282 | public function getTitle() |
||
| 283 | { |
||
| 284 | return $this->title; |
||
| 285 | } |
||
| 286 | |||
| 287 | /** |
||
| 288 | * Set subtitle |
||
| 289 | * |
||
| 290 | * @param string $subtitle |
||
| 291 | * @return CSurvey |
||
| 292 | */ |
||
| 293 | public function setSubtitle($subtitle) |
||
| 294 | { |
||
| 295 | $this->subtitle = $subtitle; |
||
| 296 | |||
| 297 | return $this; |
||
| 298 | } |
||
| 299 | |||
| 300 | /** |
||
| 301 | * Get subtitle |
||
| 302 | * |
||
| 303 | * @return string |
||
| 304 | */ |
||
| 305 | public function getSubtitle() |
||
| 306 | { |
||
| 307 | return $this->subtitle; |
||
| 308 | } |
||
| 309 | |||
| 310 | /** |
||
| 311 | * Set author |
||
| 312 | * |
||
| 313 | * @param string $author |
||
| 314 | * @return CSurvey |
||
| 315 | */ |
||
| 316 | public function setAuthor($author) |
||
| 317 | { |
||
| 318 | $this->author = $author; |
||
| 319 | |||
| 320 | return $this; |
||
| 321 | } |
||
| 322 | |||
| 323 | /** |
||
| 324 | * Get author |
||
| 325 | * |
||
| 326 | * @return string |
||
| 327 | */ |
||
| 328 | public function getAuthor() |
||
| 329 | { |
||
| 330 | return $this->author; |
||
| 331 | } |
||
| 332 | |||
| 333 | /** |
||
| 334 | * Set lang |
||
| 335 | * |
||
| 336 | * @param string $lang |
||
| 337 | * @return CSurvey |
||
| 338 | */ |
||
| 339 | public function setLang($lang) |
||
| 340 | { |
||
| 341 | $this->lang = $lang; |
||
| 342 | |||
| 343 | return $this; |
||
| 344 | } |
||
| 345 | |||
| 346 | /** |
||
| 347 | * Get lang |
||
| 348 | * |
||
| 349 | * @return string |
||
| 350 | */ |
||
| 351 | public function getLang() |
||
| 352 | { |
||
| 353 | return $this->lang; |
||
| 354 | } |
||
| 355 | |||
| 356 | /** |
||
| 357 | * Set availFrom |
||
| 358 | * |
||
| 359 | * @param \DateTime $availFrom |
||
| 360 | * @return CSurvey |
||
| 361 | */ |
||
| 362 | public function setAvailFrom($availFrom) |
||
| 363 | { |
||
| 364 | $this->availFrom = $availFrom; |
||
| 365 | |||
| 366 | return $this; |
||
| 367 | } |
||
| 368 | |||
| 369 | /** |
||
| 370 | * Get availFrom |
||
| 371 | * |
||
| 372 | * @return \DateTime |
||
| 373 | */ |
||
| 374 | public function getAvailFrom() |
||
| 375 | { |
||
| 376 | return $this->availFrom; |
||
| 377 | } |
||
| 378 | |||
| 379 | /** |
||
| 380 | * Set availTill |
||
| 381 | * |
||
| 382 | * @param \DateTime $availTill |
||
| 383 | * @return CSurvey |
||
| 384 | */ |
||
| 385 | public function setAvailTill($availTill) |
||
| 386 | { |
||
| 387 | $this->availTill = $availTill; |
||
| 388 | |||
| 389 | return $this; |
||
| 390 | } |
||
| 391 | |||
| 392 | /** |
||
| 393 | * Get availTill |
||
| 394 | * |
||
| 395 | * @return \DateTime |
||
| 396 | */ |
||
| 397 | public function getAvailTill() |
||
| 398 | { |
||
| 399 | return $this->availTill; |
||
| 400 | } |
||
| 401 | |||
| 402 | /** |
||
| 403 | * Set isShared |
||
| 404 | * |
||
| 405 | * @param string $isShared |
||
| 406 | * @return CSurvey |
||
| 407 | */ |
||
| 408 | public function setIsShared($isShared) |
||
| 409 | { |
||
| 410 | $this->isShared = $isShared; |
||
| 411 | |||
| 412 | return $this; |
||
| 413 | } |
||
| 414 | |||
| 415 | /** |
||
| 416 | * Get isShared |
||
| 417 | * |
||
| 418 | * @return string |
||
| 419 | */ |
||
| 420 | public function getIsShared() |
||
| 421 | { |
||
| 422 | return $this->isShared; |
||
| 423 | } |
||
| 424 | |||
| 425 | /** |
||
| 426 | * Set template |
||
| 427 | * |
||
| 428 | * @param string $template |
||
| 429 | * @return CSurvey |
||
| 430 | */ |
||
| 431 | public function setTemplate($template) |
||
| 432 | { |
||
| 433 | $this->template = $template; |
||
| 434 | |||
| 435 | return $this; |
||
| 436 | } |
||
| 437 | |||
| 438 | /** |
||
| 439 | * Get template |
||
| 440 | * |
||
| 441 | * @return string |
||
| 442 | */ |
||
| 443 | public function getTemplate() |
||
| 444 | { |
||
| 445 | return $this->template; |
||
| 446 | } |
||
| 447 | |||
| 448 | /** |
||
| 449 | * Set intro |
||
| 450 | * |
||
| 451 | * @param string $intro |
||
| 452 | * @return CSurvey |
||
| 453 | */ |
||
| 454 | public function setIntro($intro) |
||
| 455 | { |
||
| 456 | $this->intro = $intro; |
||
| 457 | |||
| 458 | return $this; |
||
| 459 | } |
||
| 460 | |||
| 461 | /** |
||
| 462 | * Get intro |
||
| 463 | * |
||
| 464 | * @return string |
||
| 465 | */ |
||
| 466 | public function getIntro() |
||
| 467 | { |
||
| 468 | return $this->intro; |
||
| 469 | } |
||
| 470 | |||
| 471 | /** |
||
| 472 | * Set surveythanks |
||
| 473 | * |
||
| 474 | * @param string $surveythanks |
||
| 475 | * @return CSurvey |
||
| 476 | */ |
||
| 477 | public function setSurveythanks($surveythanks) |
||
| 478 | { |
||
| 479 | $this->surveythanks = $surveythanks; |
||
| 480 | |||
| 481 | return $this; |
||
| 482 | } |
||
| 483 | |||
| 484 | /** |
||
| 485 | * Get surveythanks |
||
| 486 | * |
||
| 487 | * @return string |
||
| 488 | */ |
||
| 489 | public function getSurveythanks() |
||
| 490 | { |
||
| 491 | return $this->surveythanks; |
||
| 492 | } |
||
| 493 | |||
| 494 | /** |
||
| 495 | * Set creationDate |
||
| 496 | * |
||
| 497 | * @param \DateTime $creationDate |
||
| 498 | * @return CSurvey |
||
| 499 | */ |
||
| 500 | public function setCreationDate($creationDate) |
||
| 501 | { |
||
| 502 | $this->creationDate = $creationDate; |
||
| 503 | |||
| 504 | return $this; |
||
| 505 | } |
||
| 506 | |||
| 507 | /** |
||
| 508 | * Get creationDate |
||
| 509 | * |
||
| 510 | * @return \DateTime |
||
| 511 | */ |
||
| 512 | public function getCreationDate() |
||
| 513 | { |
||
| 514 | return $this->creationDate; |
||
| 515 | } |
||
| 516 | |||
| 517 | /** |
||
| 518 | * Set invited |
||
| 519 | * |
||
| 520 | * @param integer $invited |
||
| 521 | * @return CSurvey |
||
| 522 | */ |
||
| 523 | public function setInvited($invited) |
||
| 524 | { |
||
| 525 | $this->invited = $invited; |
||
| 526 | |||
| 527 | return $this; |
||
| 528 | } |
||
| 529 | |||
| 530 | /** |
||
| 531 | * Get invited |
||
| 532 | * |
||
| 533 | * @return integer |
||
| 534 | */ |
||
| 535 | public function getInvited() |
||
| 536 | { |
||
| 537 | return $this->invited; |
||
| 538 | } |
||
| 539 | |||
| 540 | /** |
||
| 541 | * Set answered |
||
| 542 | * |
||
| 543 | * @param integer $answered |
||
| 544 | * @return CSurvey |
||
| 545 | */ |
||
| 546 | public function setAnswered($answered) |
||
| 547 | { |
||
| 548 | $this->answered = $answered; |
||
| 549 | |||
| 550 | return $this; |
||
| 551 | } |
||
| 552 | |||
| 553 | /** |
||
| 554 | * Get answered |
||
| 555 | * |
||
| 556 | * @return integer |
||
| 557 | */ |
||
| 558 | public function getAnswered() |
||
| 559 | { |
||
| 560 | return $this->answered; |
||
| 561 | } |
||
| 562 | |||
| 563 | /** |
||
| 564 | * Set inviteMail |
||
| 565 | * |
||
| 566 | * @param string $inviteMail |
||
| 567 | * @return CSurvey |
||
| 568 | */ |
||
| 569 | public function setInviteMail($inviteMail) |
||
| 570 | { |
||
| 571 | $this->inviteMail = $inviteMail; |
||
| 572 | |||
| 573 | return $this; |
||
| 574 | } |
||
| 575 | |||
| 576 | /** |
||
| 577 | * Get inviteMail |
||
| 578 | * |
||
| 579 | * @return string |
||
| 580 | */ |
||
| 581 | public function getInviteMail() |
||
| 582 | { |
||
| 583 | return $this->inviteMail; |
||
| 584 | } |
||
| 585 | |||
| 586 | /** |
||
| 587 | * Set reminderMail |
||
| 588 | * |
||
| 589 | * @param string $reminderMail |
||
| 590 | * @return CSurvey |
||
| 591 | */ |
||
| 592 | public function setReminderMail($reminderMail) |
||
| 593 | { |
||
| 594 | $this->reminderMail = $reminderMail; |
||
| 595 | |||
| 596 | return $this; |
||
| 597 | } |
||
| 598 | |||
| 599 | /** |
||
| 600 | * Get reminderMail |
||
| 601 | * |
||
| 602 | * @return string |
||
| 603 | */ |
||
| 604 | public function getReminderMail() |
||
| 605 | { |
||
| 606 | return $this->reminderMail; |
||
| 607 | } |
||
| 608 | |||
| 609 | /** |
||
| 610 | * Set mailSubject |
||
| 611 | * |
||
| 612 | * @param string $mailSubject |
||
| 613 | * @return CSurvey |
||
| 614 | */ |
||
| 615 | public function setMailSubject($mailSubject) |
||
| 616 | { |
||
| 617 | $this->mailSubject = $mailSubject; |
||
| 618 | |||
| 619 | return $this; |
||
| 620 | } |
||
| 621 | |||
| 622 | /** |
||
| 623 | * Get mailSubject |
||
| 624 | * |
||
| 625 | * @return string |
||
| 626 | */ |
||
| 627 | public function getMailSubject() |
||
| 628 | { |
||
| 629 | return $this->mailSubject; |
||
| 630 | } |
||
| 631 | |||
| 632 | /** |
||
| 633 | * Set anonymous |
||
| 634 | * |
||
| 635 | * @param string $anonymous |
||
| 636 | * @return CSurvey |
||
| 637 | */ |
||
| 638 | public function setAnonymous($anonymous) |
||
| 639 | { |
||
| 640 | $this->anonymous = $anonymous; |
||
| 641 | |||
| 642 | return $this; |
||
| 643 | } |
||
| 644 | |||
| 645 | /** |
||
| 646 | * Get anonymous |
||
| 647 | * |
||
| 648 | * @return string |
||
| 649 | */ |
||
| 650 | public function getAnonymous() |
||
| 651 | { |
||
| 652 | return $this->anonymous; |
||
| 653 | } |
||
| 654 | |||
| 655 | /** |
||
| 656 | * Set accessCondition |
||
| 657 | * |
||
| 658 | * @param string $accessCondition |
||
| 659 | * @return CSurvey |
||
| 660 | */ |
||
| 661 | public function setAccessCondition($accessCondition) |
||
| 662 | { |
||
| 663 | $this->accessCondition = $accessCondition; |
||
| 664 | |||
| 665 | return $this; |
||
| 666 | } |
||
| 667 | |||
| 668 | /** |
||
| 669 | * Get accessCondition |
||
| 670 | * |
||
| 671 | * @return string |
||
| 672 | */ |
||
| 673 | public function getAccessCondition() |
||
| 674 | { |
||
| 675 | return $this->accessCondition; |
||
| 676 | } |
||
| 677 | |||
| 678 | /** |
||
| 679 | * Set shuffle |
||
| 680 | * |
||
| 681 | * @param boolean $shuffle |
||
| 682 | * @return CSurvey |
||
| 683 | */ |
||
| 684 | public function setShuffle($shuffle) |
||
| 685 | { |
||
| 686 | $this->shuffle = $shuffle; |
||
| 687 | |||
| 688 | return $this; |
||
| 689 | } |
||
| 690 | |||
| 691 | /** |
||
| 692 | * Get shuffle |
||
| 693 | * |
||
| 694 | * @return boolean |
||
| 695 | */ |
||
| 696 | public function getShuffle() |
||
| 697 | { |
||
| 698 | return $this->shuffle; |
||
| 699 | } |
||
| 700 | |||
| 701 | /** |
||
| 702 | * Set oneQuestionPerPage |
||
| 703 | * |
||
| 704 | * @param boolean $oneQuestionPerPage |
||
| 705 | * @return CSurvey |
||
| 706 | */ |
||
| 707 | public function setOneQuestionPerPage($oneQuestionPerPage) |
||
| 708 | { |
||
| 709 | $this->oneQuestionPerPage = $oneQuestionPerPage; |
||
| 710 | |||
| 711 | return $this; |
||
| 712 | } |
||
| 713 | |||
| 714 | /** |
||
| 715 | * Get oneQuestionPerPage |
||
| 716 | * |
||
| 717 | * @return boolean |
||
| 718 | */ |
||
| 719 | public function getOneQuestionPerPage() |
||
| 720 | { |
||
| 721 | return $this->oneQuestionPerPage; |
||
| 722 | } |
||
| 723 | |||
| 724 | /** |
||
| 725 | * Set surveyVersion |
||
| 726 | * |
||
| 727 | * @param string $surveyVersion |
||
| 728 | * @return CSurvey |
||
| 729 | */ |
||
| 730 | public function setSurveyVersion($surveyVersion) |
||
| 731 | { |
||
| 732 | $this->surveyVersion = $surveyVersion; |
||
| 733 | |||
| 734 | return $this; |
||
| 735 | } |
||
| 736 | |||
| 737 | /** |
||
| 738 | * Get surveyVersion |
||
| 739 | * |
||
| 740 | * @return string |
||
| 741 | */ |
||
| 742 | public function getSurveyVersion() |
||
| 743 | { |
||
| 744 | return $this->surveyVersion; |
||
| 745 | } |
||
| 746 | |||
| 747 | /** |
||
| 748 | * Set parentId |
||
| 749 | * |
||
| 750 | * @param integer $parentId |
||
| 751 | * @return CSurvey |
||
| 752 | */ |
||
| 753 | public function setParentId($parentId) |
||
| 754 | { |
||
| 755 | $this->parentId = $parentId; |
||
| 756 | |||
| 757 | return $this; |
||
| 758 | } |
||
| 759 | |||
| 760 | /** |
||
| 761 | * Get parentId |
||
| 762 | * |
||
| 763 | * @return integer |
||
| 764 | */ |
||
| 765 | public function getParentId() |
||
| 766 | { |
||
| 767 | return $this->parentId; |
||
| 768 | } |
||
| 769 | |||
| 770 | /** |
||
| 771 | * Set surveyType |
||
| 772 | * |
||
| 773 | * @param integer $surveyType |
||
| 774 | * @return CSurvey |
||
| 775 | */ |
||
| 776 | public function setSurveyType($surveyType) |
||
| 777 | { |
||
| 778 | $this->surveyType = $surveyType; |
||
| 779 | |||
| 780 | return $this; |
||
| 781 | } |
||
| 782 | |||
| 783 | /** |
||
| 784 | * Get surveyType |
||
| 785 | * |
||
| 786 | * @return integer |
||
| 787 | */ |
||
| 788 | public function getSurveyType() |
||
| 789 | { |
||
| 790 | return $this->surveyType; |
||
| 791 | } |
||
| 792 | |||
| 793 | /** |
||
| 794 | * Set showFormProfile |
||
| 795 | * |
||
| 796 | * @param integer $showFormProfile |
||
| 797 | * @return CSurvey |
||
| 798 | */ |
||
| 799 | public function setShowFormProfile($showFormProfile) |
||
| 800 | { |
||
| 801 | $this->showFormProfile = $showFormProfile; |
||
| 802 | |||
| 803 | return $this; |
||
| 804 | } |
||
| 805 | |||
| 806 | /** |
||
| 807 | * Get showFormProfile |
||
| 808 | * |
||
| 809 | * @return integer |
||
| 810 | */ |
||
| 811 | public function getShowFormProfile() |
||
| 812 | { |
||
| 813 | return $this->showFormProfile; |
||
| 814 | } |
||
| 815 | |||
| 816 | /** |
||
| 817 | * Set formFields |
||
| 818 | * |
||
| 819 | * @param string $formFields |
||
| 820 | * @return CSurvey |
||
| 821 | */ |
||
| 822 | public function setFormFields($formFields) |
||
| 823 | { |
||
| 824 | $this->formFields = $formFields; |
||
| 825 | |||
| 826 | return $this; |
||
| 827 | } |
||
| 828 | |||
| 829 | /** |
||
| 830 | * Get formFields |
||
| 831 | * |
||
| 832 | * @return string |
||
| 833 | */ |
||
| 834 | public function getFormFields() |
||
| 835 | { |
||
| 836 | return $this->formFields; |
||
| 837 | } |
||
| 838 | |||
| 839 | /** |
||
| 840 | * Set sessionId |
||
| 841 | * |
||
| 842 | * @param integer $sessionId |
||
| 843 | * @return CSurvey |
||
| 844 | */ |
||
| 845 | public function setSessionId($sessionId) |
||
| 846 | { |
||
| 847 | $this->sessionId = $sessionId; |
||
| 848 | |||
| 849 | return $this; |
||
| 850 | } |
||
| 851 | |||
| 852 | /** |
||
| 853 | * Get sessionId |
||
| 854 | * |
||
| 855 | * @return integer |
||
| 856 | */ |
||
| 857 | public function getSessionId() |
||
| 858 | { |
||
| 859 | return $this->sessionId; |
||
| 860 | } |
||
| 861 | |||
| 862 | /** |
||
| 863 | * Set visibleResults |
||
| 864 | * |
||
| 865 | * @param integer $visibleResults |
||
| 866 | * @return CSurvey |
||
| 867 | */ |
||
| 868 | public function setVisibleResults($visibleResults) |
||
| 869 | { |
||
| 870 | $this->visibleResults = $visibleResults; |
||
| 871 | |||
| 872 | return $this; |
||
| 873 | } |
||
| 874 | |||
| 875 | /** |
||
| 876 | * Get visibleResults |
||
| 877 | * |
||
| 878 | * @return integer |
||
| 879 | */ |
||
| 880 | public function getVisibleResults() |
||
| 881 | { |
||
| 882 | return $this->visibleResults; |
||
| 883 | } |
||
| 884 | |||
| 885 | /** |
||
| 886 | * Set surveyId |
||
| 887 | * |
||
| 888 | * @param integer $surveyId |
||
| 889 | * @return CSurvey |
||
| 890 | */ |
||
| 891 | public function setSurveyId($surveyId) |
||
| 892 | { |
||
| 893 | $this->surveyId = $surveyId; |
||
| 894 | |||
| 895 | return $this; |
||
| 896 | } |
||
| 897 | |||
| 898 | /** |
||
| 899 | * Get surveyId |
||
| 900 | * |
||
| 901 | * @return integer |
||
| 902 | */ |
||
| 903 | public function getSurveyId() |
||
| 904 | { |
||
| 905 | return $this->surveyId; |
||
| 906 | } |
||
| 907 | |||
| 908 | /** |
||
| 909 | * Set cId |
||
| 910 | * |
||
| 911 | * @param integer $cId |
||
| 912 | * @return CSurvey |
||
| 913 | */ |
||
| 914 | public function setCId($cId) |
||
| 915 | { |
||
| 916 | $this->cId = $cId; |
||
| 917 | |||
| 918 | return $this; |
||
| 919 | } |
||
| 920 | |||
| 921 | /** |
||
| 922 | * Get cId |
||
| 923 | * |
||
| 924 | * @return integer |
||
| 925 | */ |
||
| 926 | public function getCId() |
||
| 927 | { |
||
| 928 | return $this->cId; |
||
| 929 | } |
||
| 930 | } |
||
| 931 |
This check marks private properties in classes that are never used. Those properties can be removed.