parent
							
								
									90d8d6cd2c
								
							
						
					
					
						commit
						1c0da8b469
					
				@ -0,0 +1,22 @@ | 
				
			||||
<?php | 
				
			||||
/* For licensing terms, see /license.txt */ | 
				
			||||
 | 
				
			||||
namespace Chamilo\PluginBundle\MigrationMoodle\Task; | 
				
			||||
 | 
				
			||||
/** | 
				
			||||
 * Class UserQuestionAttemptsGapselectTask. | 
				
			||||
 * | 
				
			||||
 * @package Chamilo\PluginBundle\MigrationMoodle\Task | 
				
			||||
 */ | 
				
			||||
class UserQuestionAttemptsGapselectTask extends UserQuestionAttemptsTask | 
				
			||||
{ | 
				
			||||
    /** | 
				
			||||
     * @inheritDoc | 
				
			||||
     */ | 
				
			||||
    public function getExtractConfiguration() | 
				
			||||
    { | 
				
			||||
        $this->questionType = 'gapselect'; | 
				
			||||
 | 
				
			||||
        return parent::getExtractConfiguration(); | 
				
			||||
    } | 
				
			||||
} | 
				
			||||
@ -0,0 +1,22 @@ | 
				
			||||
<?php | 
				
			||||
/* For licensing terms, see /license.txt */ | 
				
			||||
 | 
				
			||||
namespace Chamilo\PluginBundle\MigrationMoodle\Task; | 
				
			||||
 | 
				
			||||
/** | 
				
			||||
 * Class UserQuestionAttemptsShortanswerTask. | 
				
			||||
 * | 
				
			||||
 * @package Chamilo\PluginBundle\MigrationMoodle\Task | 
				
			||||
 */ | 
				
			||||
class UserQuestionAttemptsShortanswerTask extends UserQuestionAttemptsTask | 
				
			||||
{ | 
				
			||||
    /** | 
				
			||||
     * @inheritDoc | 
				
			||||
     */ | 
				
			||||
    public function getExtractConfiguration() | 
				
			||||
    { | 
				
			||||
        $this->questionType = 'shortanswer'; | 
				
			||||
 | 
				
			||||
        return parent::getExtractConfiguration(); | 
				
			||||
    } | 
				
			||||
} | 
				
			||||
@ -0,0 +1,22 @@ | 
				
			||||
<?php | 
				
			||||
/* For licensing terms, see /license.txt */ | 
				
			||||
 | 
				
			||||
namespace Chamilo\PluginBundle\MigrationMoodle\Task; | 
				
			||||
 | 
				
			||||
/** | 
				
			||||
 * Class UserQuestionAttemptsTruefalseTask. | 
				
			||||
 * | 
				
			||||
 * @package Chamilo\PluginBundle\MigrationMoodle\Task | 
				
			||||
 */ | 
				
			||||
class UserQuestionAttemptsTruefalseTask extends UserQuestionAttemptsTask | 
				
			||||
{ | 
				
			||||
    /** | 
				
			||||
     * @inheritDoc | 
				
			||||
     */ | 
				
			||||
    public function getExtractConfiguration() | 
				
			||||
    { | 
				
			||||
        $this->questionType = 'truefalse'; | 
				
			||||
 | 
				
			||||
        return parent::getExtractConfiguration(); | 
				
			||||
    } | 
				
			||||
} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue