QuizQuestionOption.class.php 687 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Exercises questions backup script
  5. * @package chamilo.backup
  6. */
  7. /**
  8. * Code
  9. */
  10. require_once 'Resource.class.php';
  11. /**
  12. * An QuizQuestion
  13. * @author Bart Mollet <bart.mollet@hogent.be>
  14. * @package chamilo.backup
  15. */
  16. class QuizQuestionOption extends Resource
  17. {
  18. public $obj; //question_option
  19. /**
  20. * Create a new QuizQuestion
  21. * @param string $question
  22. * @param string $description
  23. * @param int $ponderation
  24. * @param int $type
  25. * @param int $position
  26. */
  27. function QuizQuestionOption($obj) {
  28. parent::Resource($obj->iid, RESOURCE_QUIZQUESTION);
  29. $this->obj = $obj;
  30. }
  31. }