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.
		
		
		
		
		
			
		
			
				
					
					
						
							28 lines
						
					
					
						
							790 B
						
					
					
				
			
		
		
	
	
							28 lines
						
					
					
						
							790 B
						
					
					
				<?php
 | 
						|
/* For licensing terms, see /license.txt */
 | 
						|
/**
 | 
						|
 * 	Class MultipleAnswer
 | 
						|
 *
 | 
						|
 *	This class allows to instantiate an object of type MULTIPLE_ANSWER (MULTIPLE CHOICE, MULTIPLE ANSWER),
 | 
						|
 *	extending the class question
 | 
						|
 *
 | 
						|
 *	@author Eric Marguin
 | 
						|
 *	@package chamilo.exercise
 | 
						|
 **/
 | 
						|
class MultipleAnswerCombinationTrueFalse extends MultipleAnswerCombination
 | 
						|
{
 | 
						|
	static $typePicture = 'mcmaco.png';
 | 
						|
	static $explanationLangVar = 'MultipleAnswerCombinationTrueFalse';
 | 
						|
    var    $options;
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Constructor
 | 
						|
	 */
 | 
						|
	public function __construct()
 | 
						|
    {
 | 
						|
		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'));
 | 
						|
	}
 | 
						|
}
 | 
						|
 |