Ejemplo n.º 1
0
 /**
  * Default constructor
  * @param Object $quizItem The quiz item details.
  */
 function __construct($quizItem)
 {
     parent::__construct($quizItem);
     $this->questionType = 'multi';
     $this->cssClasses = 'wpcw_question_type_multi';
     $this->hint = __('(Optional) Use this to guide the user that they should make a selection.', 'wp_courseware');
 }
Ejemplo n.º 2
0
 /**
  * Default constructor
  * @param Object $quizItem The quiz item details.
  */
 function __construct($quizItem)
 {
     parent::__construct($quizItem);
     $this->questionType = 'open';
     $this->cssClasses = 'wpcw_question_type_open';
     $this->hint = __('(Optional) Use this to guide the user on the expected answer or length of answer. This is shown when the question is shown.', 'wp_courseware');
 }
 /**
  * Default constructor
  * @param Object $quizItem The quiz item details.
  */
 function __construct($quizItem)
 {
     parent::__construct($quizItem);
     $this->questionType = 'upload';
     $this->cssClasses = 'wpcw_question_type_upload';
     $this->hint = __('(Optional) Use this to guide the user what they should upload.', 'wp_courseware');
 }
 /**
  * Default constructor
  * @param Object $quizItem The quiz item details.
  */
 function __construct($quizItem)
 {
     parent::__construct($quizItem);
     $this->questionType = 'random_selection';
     $this->cssClasses = 'wpcw_question_type_random';
     // Hide usage
     $this->hideQuestionUsageCount = true;
 }
Ejemplo n.º 5
0
 /**
  * Default constructor
  * @param Object $quizItem The quiz item details.
  */
 function __construct($quizItem)
 {
     parent::__construct($quizItem);
     $this->questionType = 'truefalse';
 }
Ejemplo n.º 6
0
 /**
  * Default constructor
  * @param Object $quizItem The quiz item details.
  */
 function __construct($quizItem)
 {
     parent::__construct($quizItem);
     $this->questionType = 'multi';
 }