ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
A class defining marks for assessment test objects. More...
Public Member Functions | |
__construct ( $short_name="", $official_name="", $minimum_level=0, $passed=0) | |
ASS_Mark constructor. More... | |
getShortName () | |
Returns the short name of the mark. More... | |
getPassed () | |
Returns passed status of the mark. More... | |
getOfficialName () | |
Returns the official name of the mark. More... | |
getMinimumLevel () | |
Returns the minimum level reaching the mark. More... | |
setShortName ($short_name="") | |
Sets the short name of the mark. More... | |
setPassed ($passed=0) | |
Sets the passed status the mark. More... | |
setOfficialName ($official_name="") | |
Sets the official name of the mark. More... | |
setMinimumLevel ($minimum_level) | |
Sets the minimum level reaching the mark. More... | |
Data Fields | |
$short_name | |
$official_name | |
$minimum_level = 0 | |
$passed | |
A class defining marks for assessment test objects.
Definition at line 14 of file class.assMark.php.
ASS_Mark::__construct | ( | $short_name = "" , |
|
$official_name = "" , |
|||
$minimum_level = 0 , |
|||
$passed = 0 |
|||
) |
ASS_Mark constructor.
The constructor takes possible arguments an creates an instance of the ASS_Mark object.
string | $short_name | The short name of the mark |
string | $official_name | The official name of the mark |
double | $minimum_level | The minimum percentage level reaching the mark public |
Definition at line 62 of file class.assMark.php.
References $minimum_level, $official_name, $passed, $short_name, setMinimumLevel(), setOfficialName(), setPassed(), and setShortName().
ASS_Mark::getMinimumLevel | ( | ) |
Returns the minimum level reaching the mark.
Returns the minimum level reaching the mark
Definition at line 125 of file class.assMark.php.
References $minimum_level.
ASS_Mark::getOfficialName | ( | ) |
Returns the official name of the mark.
Returns the official name of the mark
Definition at line 111 of file class.assMark.php.
References $official_name.
ASS_Mark::getPassed | ( | ) |
Returns passed status of the mark.
Returns the passed status of the mark
Definition at line 97 of file class.assMark.php.
References $passed.
ASS_Mark::getShortName | ( | ) |
Returns the short name of the mark.
Returns the short name of the mark
Definition at line 83 of file class.assMark.php.
References $short_name.
ASS_Mark::setMinimumLevel | ( | $minimum_level | ) |
Sets the minimum level reaching the mark.
Sets the minimum level reaching the mark
string | $minimum_level | The minimum level reaching the mark public |
Definition at line 181 of file class.assMark.php.
References $minimum_level.
Referenced by __construct().
ASS_Mark::setOfficialName | ( | $official_name = "" | ) |
Sets the official name of the mark.
Sets the official name of the mark
string | $official_name | The official name of the mark public |
Definition at line 167 of file class.assMark.php.
References $official_name.
Referenced by __construct().
ASS_Mark::setPassed | ( | $passed = 0 | ) |
Sets the passed status the mark.
Sets the passed status of the mark
integer | $passed | The passed status of the mark public |
Definition at line 153 of file class.assMark.php.
References $passed.
Referenced by __construct().
ASS_Mark::setShortName | ( | $short_name = "" | ) |
Sets the short name of the mark.
Sets the short name of the mark
string | $short_name | The short name of the mark public |
Definition at line 139 of file class.assMark.php.
References $short_name.
Referenced by __construct().
ASS_Mark::$minimum_level = 0 |
Definition at line 41 of file class.assMark.php.
Referenced by __construct(), getMinimumLevel(), and setMinimumLevel().
ASS_Mark::$official_name |
Definition at line 32 of file class.assMark.php.
Referenced by __construct(), getOfficialName(), and setOfficialName().
ASS_Mark::$passed |
Definition at line 50 of file class.assMark.php.
Referenced by __construct(), getPassed(), and setPassed().
ASS_Mark::$short_name |
Definition at line 23 of file class.assMark.php.
Referenced by __construct(), getShortName(), and setShortName().