You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
902 B
34 lines
902 B
![]()
13 years ago
|
<?php
|
||
|
/* For licensing terms, see /license.txt */
|
||
![]()
10 years ago
|
|
||
![]()
14 years ago
|
/**
|
||
![]()
10 years ago
|
* Class MultipleAnswerCombinationTrueFalse
|
||
![]()
15 years ago
|
*
|
||
|
* This class allows to instantiate an object of type MULTIPLE_ANSWER (MULTIPLE CHOICE, MULTIPLE ANSWER),
|
||
|
* extending the class question
|
||
|
*
|
||
|
* @author Eric Marguin
|
||
![]()
14 years ago
|
* @package chamilo.exercise
|
||
![]()
15 years ago
|
**/
|
||
![]()
12 years ago
|
class MultipleAnswerCombinationTrueFalse extends MultipleAnswerCombination
|
||
|
{
|
||
![]()
10 years ago
|
static $typePicture = 'mcmaco.png';
|
||
|
static $explanationLangVar = 'MultipleAnswerCombinationTrueFalse';
|
||
![]()
12 years ago
|
var $options;
|
||
![]()
15 years ago
|
|
||
![]()
10 years ago
|
/**
|
||
|
* Constructor
|
||
|
*/
|
||
|
public function __construct()
|
||
![]()
12 years ago
|
{
|
||
![]()
10 years ago
|
parent::__construct();
|
||
|
$this -> type = MULTIPLE_ANSWER_COMBINATION_TRUE_FALSE;
|
||
|
$this -> isContent = $this-> getIsContent();
|
||
|
$this->options = array(
|
||
|
'1' => get_lang('True'),
|
||
|
'0' => get_lang('False'),
|
||
|
'2' => get_lang('DontKnow'),
|
||
|
);
|
||
|
}
|
||
![]()
15 years ago
|
}
|