QuizQuestionOption.class.php 619 B

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