ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $text_wrong="", string $text_correct="", float $points=0.0, ?int $position=null) | |
assAnswerErrorText constructor More... | |
getTextWrong () | |
getTextCorrect () | |
getPoints () | |
withPoints (float $points) | |
getPosition () | |
withPosition (int $position) | |
getLength () | |
Protected Attributes | |
string | $text_wrong |
string | $text_correct |
float | $points |
int | $position |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class for error text answers
Definition at line 29 of file class.assAnswerErrorText.php.
assAnswerErrorText::__construct | ( | string | $text_wrong = "" , |
string | $text_correct = "" , |
||
float | $points = 0.0 , |
||
?int | $position = null |
||
) |
assAnswerErrorText constructor
string | $text_wrong | Wrong text |
string | $text_correct | Correct text |
double | $points | Points |
Definition at line 42 of file class.assAnswerErrorText.php.
References $points, $position, $text_correct, and $text_wrong.
assAnswerErrorText::getLength | ( | ) |
Definition at line 94 of file class.assAnswerErrorText.php.
assAnswerErrorText::getPoints | ( | ) |
assAnswerErrorText::getPosition | ( | ) |
assAnswerErrorText::getTextCorrect | ( | ) |
assAnswerErrorText::getTextWrong | ( | ) |
Definition at line 60 of file class.assAnswerErrorText.php.
References $text_wrong.
Referenced by assErrorText\addPositionToErrorAnswer().
assAnswerErrorText::withPoints | ( | float | $points | ) |
assAnswerErrorText::withPosition | ( | int | $position | ) |
Definition at line 87 of file class.assAnswerErrorText.php.
References $position.
Referenced by assErrorText\addPositionToErrorAnswer().
|
protected |
Definition at line 33 of file class.assAnswerErrorText.php.
Referenced by __construct(), getPoints(), and withPoints().
|
protected |
Definition at line 34 of file class.assAnswerErrorText.php.
Referenced by __construct(), getPosition(), and withPosition().
|
protected |
Definition at line 32 of file class.assAnswerErrorText.php.
Referenced by __construct(), and getTextCorrect().
|
protected |
Definition at line 31 of file class.assAnswerErrorText.php.
Referenced by __construct(), and getTextWrong().