131     public function setState(
bool $state = 
false): void
   133         $this->checked = $state;
   145         $this->checked = 
true;
   157         $this->checked = 
true;
   169         $this->checked = 
false;
   181         $this->checked = 
false;
 
setUnchecked()
Sets the answer as a unchecked answer. 
 
setChecked()
Sets the answer as a checked answer. 
 
isStateSet()
Gets the state. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setUnset()
Sets the answer as a unset answer. 
 
isStateUnset()
Gets the state. 
 
isStateChecked()
Gets the state. 
 
getState()
Gets the state. 
 
setState(bool $state=false)
Sets the state. 
 
setSet()
Sets the answer as a set answer. 
 
__construct(string $answertext="", float $points=0.0, int $order=0, bool $checked=false, int $id=-1)
ASS_AnswerBinaryState constructor The constructor takes possible arguments and creates an instance of...
 
isStateUnchecked()
Gets the state. 
 
__construct(Container $dic, ilPlugin $plugin)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...