- OpenEndedTask: clearCorrectAnswers()
This commit is contained in:
		
							parent
							
								
									04926e4ba6
								
							
						
					
					
						commit
						242941461b
					
				@ -17,6 +17,10 @@ class OpenEndedTask extends PicturedTask
 | 
			
		||||
        $this->correct_answer[] = $ca;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function clearCorrectAnswers(): void {
 | 
			
		||||
        $this->correct_answer = [];
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function saveAnswer(mixed $ans): bool
 | 
			
		||||
    {
 | 
			
		||||
        // collect transformations
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user