ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (int $test_id) | |
toForm (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, array $environment=null) | |
toStorage () | |
getHighscoreEnabled () | |
withHighscoreEnabled (bool $highscore_enabled) | |
getHighscoreOwnTable () | |
withHighscoreOwnTable (bool $highscore_own_table) | |
getHighscoreTopTable () | |
withHighscoreTopTable (bool $highscore_top_table) | |
getHighScoreMode () | |
getHighscoreTopNum () | |
withHighscoreTopNum (int $highscore_top_num) | |
getHighscoreAnon () | |
withHighscoreAnon (bool $highscore_anon) | |
getHighscoreAchievedTS () | |
withHighscoreAchievedTS (bool $highscore_achieved_ts) | |
getHighscoreScore () | |
withHighscoreScore (bool $highscore_score) | |
getHighscorePercentage () | |
withHighscorePercentage (bool $highscore_percentage) | |
getHighscoreHints () | |
withHighscoreHints (bool $highscore_hints) | |
getHighscoreWTime () | |
withHighscoreWTime (bool $highscore_wtime) | |
![]() | |
__construct (int $test_id) | |
getTestId () | |
withTestId (int $test_id) | |
toForm (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, array $environment=null) | |
toStorage () | |
Data Fields | |
const | HIGHSCORE_SHOW_OWN_TABLE = 1 |
const | HIGHSCORE_SHOW_TOP_TABLE = 2 |
const | HIGHSCORE_SHOW_ALL_TABLES = 3 |
Protected Attributes | |
bool | $highscore_enabled = false |
bool | $highscore_anon = true |
bool | $highscore_achieved_ts = true |
bool | $highscore_score = true |
bool | $highscore_percentage = true |
bool | $highscore_hints = true |
bool | $highscore_wtime = true |
bool | $highscore_own_table = true |
bool | $highscore_top_table = true |
int | $highscore_top_num = 10 |
![]() | |
int | $test_id |
Definition at line 25 of file ilObjTestSettingsGamification.php.
ilObjTestSettingsGamification::__construct | ( | int | $test_id | ) |
Definition at line 43 of file ilObjTestSettingsGamification.php.
References ILIAS\GlobalScreen\Provider\__construct().
ilObjTestSettingsGamification::getHighscoreAchievedTS | ( | ) |
Definition at line 220 of file ilObjTestSettingsGamification.php.
References $highscore_achieved_ts.
Referenced by toForm(), and toStorage().
ilObjTestSettingsGamification::getHighscoreAnon | ( | ) |
Definition at line 209 of file ilObjTestSettingsGamification.php.
References $highscore_anon.
Referenced by toForm(), and toStorage().
ilObjTestSettingsGamification::getHighscoreEnabled | ( | ) |
Definition at line 149 of file ilObjTestSettingsGamification.php.
References $highscore_enabled.
Referenced by toForm(), and toStorage().
ilObjTestSettingsGamification::getHighscoreHints | ( | ) |
Definition at line 253 of file ilObjTestSettingsGamification.php.
References $highscore_hints.
Referenced by toForm(), and toStorage().
ilObjTestSettingsGamification::getHighScoreMode | ( | ) |
Definition at line 181 of file ilObjTestSettingsGamification.php.
References getHighscoreOwnTable(), and getHighscoreTopTable().
Referenced by toForm().
ilObjTestSettingsGamification::getHighscoreOwnTable | ( | ) |
Definition at line 160 of file ilObjTestSettingsGamification.php.
References $highscore_own_table.
Referenced by getHighScoreMode(), and toStorage().
ilObjTestSettingsGamification::getHighscorePercentage | ( | ) |
Definition at line 242 of file ilObjTestSettingsGamification.php.
References $highscore_percentage.
Referenced by toForm(), and toStorage().
ilObjTestSettingsGamification::getHighscoreScore | ( | ) |
Definition at line 231 of file ilObjTestSettingsGamification.php.
References $highscore_score.
Referenced by toForm(), and toStorage().
ilObjTestSettingsGamification::getHighscoreTopNum | ( | ) |
Definition at line 198 of file ilObjTestSettingsGamification.php.
References $highscore_top_num.
Referenced by toForm(), and toStorage().
ilObjTestSettingsGamification::getHighscoreTopTable | ( | ) |
Definition at line 170 of file ilObjTestSettingsGamification.php.
References $highscore_top_table.
Referenced by getHighScoreMode(), and toStorage().
ilObjTestSettingsGamification::getHighscoreWTime | ( | ) |
Definition at line 264 of file ilObjTestSettingsGamification.php.
References $highscore_wtime.
Referenced by toForm(), and toStorage().
ilObjTestSettingsGamification::toForm | ( | \ilLanguage | $lng, |
FieldFactory | $f, | ||
Refinery | $refinery, | ||
array | $environment = null |
||
) |
Definition at line 48 of file ilObjTestSettingsGamification.php.
References ILIAS\LTI\ToolProvider\$settings, getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighScoreMode(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreWTime(), ilLanguage\txt(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), ILIAS\UI\Implementation\Component\Input\withValue(), and ILIAS\UI\Component\Input\Input\withValue().
ilObjTestSettingsGamification::toStorage | ( | ) |
Definition at line 133 of file ilObjTestSettingsGamification.php.
References getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), and ILIAS\Repository\int().
ilObjTestSettingsGamification::withHighscoreAchievedTS | ( | bool | $highscore_achieved_ts | ) |
Definition at line 224 of file ilObjTestSettingsGamification.php.
References $highscore_achieved_ts.
ilObjTestSettingsGamification::withHighscoreAnon | ( | bool | $highscore_anon | ) |
Definition at line 213 of file ilObjTestSettingsGamification.php.
References $highscore_anon.
ilObjTestSettingsGamification::withHighscoreEnabled | ( | bool | $highscore_enabled | ) |
Definition at line 153 of file ilObjTestSettingsGamification.php.
References $highscore_enabled.
ilObjTestSettingsGamification::withHighscoreHints | ( | bool | $highscore_hints | ) |
Definition at line 257 of file ilObjTestSettingsGamification.php.
References $highscore_hints.
ilObjTestSettingsGamification::withHighscoreOwnTable | ( | bool | $highscore_own_table | ) |
Definition at line 164 of file ilObjTestSettingsGamification.php.
References $highscore_own_table.
ilObjTestSettingsGamification::withHighscorePercentage | ( | bool | $highscore_percentage | ) |
Definition at line 246 of file ilObjTestSettingsGamification.php.
References $highscore_percentage.
ilObjTestSettingsGamification::withHighscoreScore | ( | bool | $highscore_score | ) |
Definition at line 235 of file ilObjTestSettingsGamification.php.
References $highscore_score.
ilObjTestSettingsGamification::withHighscoreTopNum | ( | int | $highscore_top_num | ) |
Definition at line 202 of file ilObjTestSettingsGamification.php.
References $highscore_top_num.
ilObjTestSettingsGamification::withHighscoreTopTable | ( | bool | $highscore_top_table | ) |
Definition at line 174 of file ilObjTestSettingsGamification.php.
References $highscore_top_table.
ilObjTestSettingsGamification::withHighscoreWTime | ( | bool | $highscore_wtime | ) |
Definition at line 268 of file ilObjTestSettingsGamification.php.
References $highscore_wtime.
|
protected |
Definition at line 33 of file ilObjTestSettingsGamification.php.
Referenced by getHighscoreAchievedTS(), and withHighscoreAchievedTS().
|
protected |
Definition at line 32 of file ilObjTestSettingsGamification.php.
Referenced by getHighscoreAnon(), and withHighscoreAnon().
|
protected |
Definition at line 31 of file ilObjTestSettingsGamification.php.
Referenced by getHighscoreEnabled(), and withHighscoreEnabled().
|
protected |
Definition at line 36 of file ilObjTestSettingsGamification.php.
Referenced by getHighscoreHints(), and withHighscoreHints().
|
protected |
Definition at line 38 of file ilObjTestSettingsGamification.php.
Referenced by getHighscoreOwnTable(), and withHighscoreOwnTable().
|
protected |
Definition at line 35 of file ilObjTestSettingsGamification.php.
Referenced by getHighscorePercentage(), and withHighscorePercentage().
|
protected |
Definition at line 34 of file ilObjTestSettingsGamification.php.
Referenced by getHighscoreScore(), and withHighscoreScore().
|
protected |
Definition at line 40 of file ilObjTestSettingsGamification.php.
Referenced by getHighscoreTopNum(), and withHighscoreTopNum().
|
protected |
Definition at line 39 of file ilObjTestSettingsGamification.php.
Referenced by getHighscoreTopTable(), and withHighscoreTopTable().
|
protected |
Definition at line 37 of file ilObjTestSettingsGamification.php.
Referenced by getHighscoreWTime(), and withHighscoreWTime().
const ilObjTestSettingsGamification::HIGHSCORE_SHOW_ALL_TABLES = 3 |
Definition at line 29 of file ilObjTestSettingsGamification.php.
const ilObjTestSettingsGamification::HIGHSCORE_SHOW_OWN_TABLE = 1 |
Definition at line 27 of file ilObjTestSettingsGamification.php.
const ilObjTestSettingsGamification::HIGHSCORE_SHOW_TOP_TABLE = 2 |
Definition at line 28 of file ilObjTestSettingsGamification.php.