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 $short_name="", string $official_name="", float $minimum_level=0, int $passed=0) | |
__unserialize (array $data) | |
Stephan Kergomard, 2023-11-08: We need an explicit __unserialize function here because of changes to the corresponding classes with ILIAS 8. More... | |
getShortName () | |
getPassed () | |
getOfficialName () | |
getMinimumLevel () | |
setShortName (string $short_name="") | |
setPassed ($passed=0) | |
setOfficialName (string $official_name="") | |
setMinimumLevel ($minimum_level) | |
Data Fields | |
string | $short_name |
The short name of the mark, e.g. More... | |
string | $official_name |
The official name of the mark, e.g. More... | |
float | $minimum_level = 0 |
The minimum percentage level reaching the mark. More... | |
int | $passed |
The passed status of the mark. More... | |
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 A class defining marks for assessment test objects
Definition at line 29 of file class.assMark.php.
ASS_Mark::__construct | ( | string | $short_name = "" , |
string | $official_name = "" , |
||
float | $minimum_level = 0 , |
||
int | $passed = 0 |
||
) |
Definition at line 51 of file class.assMark.php.
References setMinimumLevel(), setOfficialName(), setPassed(), and setShortName().
ASS_Mark::__unserialize | ( | array | $data | ) |
Stephan Kergomard, 2023-11-08: We need an explicit __unserialize function here because of changes to the corresponding classes with ILIAS 8.
Definition at line 67 of file class.assMark.php.
References ILIAS\Repository\int().
ASS_Mark::getMinimumLevel | ( | ) |
Definition at line 90 of file class.assMark.php.
References $minimum_level.
ASS_Mark::getOfficialName | ( | ) |
Definition at line 85 of file class.assMark.php.
References $official_name.
ASS_Mark::getPassed | ( | ) |
ASS_Mark::getShortName | ( | ) |
Definition at line 75 of file class.assMark.php.
References $short_name.
ASS_Mark::setMinimumLevel | ( | $minimum_level | ) |
Definition at line 110 of file class.assMark.php.
References $minimum_level.
Referenced by __construct().
ASS_Mark::setOfficialName | ( | string | $official_name = "" | ) |
Definition at line 105 of file class.assMark.php.
References $official_name.
Referenced by __construct().
ASS_Mark::setPassed | ( | $passed = 0 | ) |
Definition at line 100 of file class.assMark.php.
References $passed.
Referenced by __construct().
ASS_Mark::setShortName | ( | string | $short_name = "" | ) |
Definition at line 95 of file class.assMark.php.
References $short_name.
Referenced by __construct().
float ASS_Mark::$minimum_level = 0 |
The minimum percentage level reaching the mark.
A float value between 0 and 100
Definition at line 44 of file class.assMark.php.
Referenced by getMinimumLevel(), and setMinimumLevel().
string ASS_Mark::$official_name |
The official name of the mark, e.g.
failed, passed, befriedigend
Definition at line 39 of file class.assMark.php.
Referenced by getOfficialName(), and setOfficialName().
int ASS_Mark::$passed |
The passed status of the mark.
0 indicates that the mark is failed, 1 indicates that the mark is passed
Definition at line 49 of file class.assMark.php.
Referenced by getPassed(), and setPassed().
string ASS_Mark::$short_name |
The short name of the mark, e.g.
F or 3 or 1,3
Definition at line 34 of file class.assMark.php.
Referenced by getShortName(), and setShortName().