4require_once
'./Modules/TestQuestionPool/classes/class.assAnswerSimple.php';
5require_once
'./Modules/Test/classes/inc.AssessmentConstants.php';
Class for true/false or yes/no answers.
setUnchecked()
Sets the answer as a unchecked answer.
getState()
Gets the state.
setState($state=0)
Sets the state.
isStateSet()
Gets the state.
isStateUnchecked()
Gets the state.
isStateChecked()
Gets the state.
__construct( $answertext="", $points=0.0, $order=0, $state=0, $id=-1)
ASS_AnswerBinaryState constructor.
setUnset()
Sets the answer as a unset answer.
setSet()
Sets the answer as a set answer.
setChecked()
Sets the answer as a checked answer.
isStateUnset()
Gets the state.
Class for simple answers.
An exception for terminatinating execution or to throw for unit testing.