ILIAS
release_8 Revision v8.19
|
ForgottenDebugOutputInspection More...
Public Member Functions | |
__construct () | |
executeCommand () | |
execute command More... | |
getRTEjs () | |
getDataDirectory () | |
getConfigForPlayer () | |
getPlayer () | |
getCPData () | |
getCPDataInit () | |
getADLActDataInit () | |
getADLActData () | |
pingSession () | |
getScope () | |
getSuspendDataInit () | |
getSuspendData () | |
suspendADLActData () | |
readGObjectiveInit () | |
readGObjective () | |
readSharedData (int $sco_node_id) | |
writeSharedData (int $sco_node_id) | |
specialPage () | |
fetchCMIData () | |
getCMIData (int $userId, int $packageId) | |
maps API data structure type to internal datatype on a node and accepts only valid values, dropping invalid ones from input More... | |
quoteJSONArray (?array $a_array) | |
get_Module_Version () | |
estimate content type for a filename by extension first do it for common static web files from external list if not found peek into file by slow php function mime_content_type() More... | |
get_actual_attempts () | |
Get number of actual attempts for the user. More... | |
increase_attemptAndsave_module_version () | |
Increases attempts by one and saves module_version for this package. More... | |
resetSharedData () | |
getDataDirectory2 () | |
openLog () | |
downloadLog () | |
liveLogContent () | |
debugGUI () | |
postLogEntry () | |
Static Public Member Functions | |
static | getInlineCSS () |
Data Fields | |
const | ENABLE_GZIP = 0 |
const | NONE = 0 |
const | READONLY = 1 |
const | WRITEONLY = 2 |
const | READWRITE = 3 |
int | $packageId |
bool | $jsMode |
ilObjSCORM2004LearningModule | $slm |
ilGlobalTemplate | $tpl |
int | $ref_id |
ilCtrl | $ctrl |
Protected Attributes | |
ilLanguage | $lng |
string | $page = "" |
Private Member Functions | |
getNodeData (string $sco_id) | |
logTmpName () | |
summaryFileName () | |
logFileName () | |
logDirectory () | |
getLogFileList (string $s_delete, string $s_download, string $s_open) | |
getLogTemplate () | |
getDebugValues (?bool $test_sco=false) | |
getStructureFlat (array $data) | |
createSummary (array $api_data) | |
Private Attributes | |
int | $userId |
Static Private Attributes | |
static array | $schema |
ForgottenDebugOutputInspection
Definition at line 28 of file class.ilSCORM13PlayerGUI.php.
ilSCORM13PlayerGUI::__construct | ( | ) |
Definition at line 146 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, $DIC, ilObject\_lookupObjectId(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Definition at line 2069 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $id, $ilDB, ILIAS\LTI\ToolProvider\$key, $res, getStructureFlat(), logTmpName(), and summaryFileName().
Referenced by postLogEntry().
ilSCORM13PlayerGUI::debugGUI | ( | ) |
Definition at line 1651 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $lng, ilUtil\getImagePath(), ilYuiUtil\getLocalPath(), getLogFileList(), ilLanguage\loadLanguageModule(), logFileName(), and ilLanguage\txt().
Referenced by executeCommand().
ilSCORM13PlayerGUI::downloadLog | ( | ) |
Definition at line 1593 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, exit, logDirectory(), and ilUtil\stripSlashes().
Referenced by executeCommand().
ilSCORM13PlayerGUI::executeCommand | ( | ) |
execute command
Definition at line 169 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, $DIC, $ilErr, $userId, ILIAS\Repository\ctrl(), debugGUI(), downloadLog(), fetchCMIData(), getADLActData(), getCPData(), getPlayer(), getRTEjs(), getSuspendData(), liveLogContent(), openLog(), ilSCORM2004StoreData\persistCMIData(), pingSession(), postLogEntry(), readGObjective(), readSharedData(), ilSCORM2004StoreData\scormPlayerUnload(), specialPage(), suspendADLActData(), ilLanguage\txt(), and writeSharedData().
ilSCORM13PlayerGUI::fetchCMIData | ( | ) |
Definition at line 1002 of file class.ilSCORM13PlayerGUI.php.
References $data, and getCMIData().
Referenced by executeCommand().
ilSCORM13PlayerGUI::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 1250 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $ilUser.
Referenced by getLogFileList(), logFileName(), and summaryFileName().
ilSCORM13PlayerGUI::get_Module_Version | ( | ) |
estimate content type for a filename by extension first do it for common static web files from external list if not found peek into file by slow php function mime_content_type()
$filename | required |
Definition at line 1232 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $res.
ilSCORM13PlayerGUI::getADLActData | ( | ) |
Definition at line 586 of file class.ilSCORM13PlayerGUI.php.
References getADLActDataInit().
Referenced by executeCommand().
ilSCORM13PlayerGUI::getADLActDataInit | ( | ) |
Definition at line 566 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, and $res.
Referenced by getADLActData(), and getPlayer().
ilSCORM13PlayerGUI::getCMIData | ( | int | $userId, |
int | $packageId | ||
) |
maps API data structure type to internal datatype on a node and accepts only valid values, dropping invalid ones from input
Definition at line 1033 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, ILIAS\LTI\ToolProvider\$key, and $res.
Referenced by fetchCMIData(), and getPlayer().
ilSCORM13PlayerGUI::getConfigForPlayer | ( | ) |
Definition at line 310 of file class.ilSCORM13PlayerGUI.php.
References $config, $DIC, $ilUser, getScope(), and ilObjSCORMInitData\getStatus().
Referenced by getPlayer().
ilSCORM13PlayerGUI::getCPData | ( | ) |
Definition at line 532 of file class.ilSCORM13PlayerGUI.php.
References getCPDataInit().
Referenced by executeCommand().
ilSCORM13PlayerGUI::getCPDataInit | ( | ) |
Definition at line 545 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $res.
Referenced by getCPData(), and getPlayer().
ilSCORM13PlayerGUI::getDataDirectory | ( | ) |
Definition at line 298 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, CLIENT_ID, and ILIAS_WEB_DIR.
Referenced by getPlayer(), and pingSession().
ilSCORM13PlayerGUI::getDataDirectory2 | ( | ) |
Definition at line 1563 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, $packageId, CLIENT_ID, and ILIAS_WEB_DIR.
|
private |
Definition at line 1700 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, ILIAS\LTI\ToolProvider\$key, and ilLoggerFactory\getLogger().
Referenced by getPlayer(), and postLogEntry().
|
static |
Definition at line 518 of file class.ilSCORM13PlayerGUI.php.
References ilUtil\getImagePath().
|
private |
Definition at line 1613 of file class.ilSCORM13PlayerGUI.php.
References $data, $parts, get_actual_attempts(), and logDirectory().
Referenced by debugGUI().
|
private |
Definition at line 1692 of file class.ilSCORM13PlayerGUI.php.
Referenced by logFileName(), and postLogEntry().
|
private |
Definition at line 1343 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $res, and ilLoggerFactory\getLogger().
Referenced by postLogEntry().
ilSCORM13PlayerGUI::getPlayer | ( | ) |
Definition at line 355 of file class.ilSCORM13PlayerGUI.php.
References $config, $DIC, $ilSetting, ILIAS\LTI\ToolProvider\$key, $ref_id, CLIENT_ID, ilSessionControl\DEFAULT_MIN_IDLE, getADLActDataInit(), getCMIData(), getConfigForPlayer(), ilWACSignedPath\getCookieMaxLifetimeInSeconds(), getCPDataInit(), getDataDirectory(), getDebugValues(), ilSession\getIdleValue(), ilUtil\getImagePath(), iljQueryUtil\getLocaljQueryPath(), ilUtil\getStyleSheetLocation(), getSuspendDataInit(), increase_attemptAndsave_module_version(), ILIAS\Repository\int(), readGObjectiveInit(), resetSharedData(), ilWACSignedPath\signFolderOfStartFile(), and ilLanguage\txt().
Referenced by executeCommand().
ilSCORM13PlayerGUI::getRTEjs | ( | ) |
Definition at line 285 of file class.ilSCORM13PlayerGUI.php.
Referenced by executeCommand().
ilSCORM13PlayerGUI::getScope | ( | ) |
Definition at line 607 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, $ilUser, and $res.
Referenced by getConfigForPlayer().
|
private |
Definition at line 2049 of file class.ilSCORM13PlayerGUI.php.
References $i.
Referenced by createSummary().
ilSCORM13PlayerGUI::getSuspendData | ( | ) |
Definition at line 655 of file class.ilSCORM13PlayerGUI.php.
References getSuspendDataInit().
Referenced by executeCommand().
ilSCORM13PlayerGUI::getSuspendDataInit | ( | ) |
Definition at line 630 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, $ilUser, and $res.
Referenced by getPlayer(), and getSuspendData().
ilSCORM13PlayerGUI::increase_attemptAndsave_module_version | ( | ) |
Increases attempts by one and saves module_version for this package.
Definition at line 1271 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $ilUser, and $res.
Referenced by getPlayer().
ilSCORM13PlayerGUI::liveLogContent | ( | ) |
Definition at line 1645 of file class.ilSCORM13PlayerGUI.php.
References logFileName().
Referenced by executeCommand().
|
private |
Definition at line 1571 of file class.ilSCORM13PlayerGUI.php.
References ilFileUtils\makeDir().
Referenced by downloadLog(), getLogFileList(), logFileName(), logTmpName(), openLog(), postLogEntry(), and summaryFileName().
|
private |
Definition at line 1402 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, $lng, get_actual_attempts(), getLogTemplate(), ilLanguage\loadLanguageModule(), logDirectory(), logTmpName(), and ilLanguage\txt().
Referenced by debugGUI(), liveLogContent(), and postLogEntry().
|
private |
Definition at line 1369 of file class.ilSCORM13PlayerGUI.php.
References $filename, and logDirectory().
Referenced by createSummary(), logFileName(), and postLogEntry().
ilSCORM13PlayerGUI::openLog | ( | ) |
Definition at line 1582 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, exit, logDirectory(), and ilUtil\stripSlashes().
Referenced by executeCommand().
ilSCORM13PlayerGUI::pingSession | ( | ) |
Definition at line 599 of file class.ilSCORM13PlayerGUI.php.
References getDataDirectory(), and ilWACSignedPath\signFolderOfStartFile().
Referenced by executeCommand().
ilSCORM13PlayerGUI::postLogEntry | ( | ) |
Definition at line 1733 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, ILIAS\LTI\ToolProvider\$key, $lng, $path, $timestamp, createSummary(), getDebugValues(), ilLoggerFactory\getLogger(), getLogTemplate(), getNodeData(), if, ILIAS\Repository\int(), ilLanguage\loadLanguageModule(), logDirectory(), logFileName(), logTmpName(), and ilLanguage\txt().
Referenced by executeCommand().
ilSCORM13PlayerGUI::quoteJSONArray | ( | ?array | $a_array | ) |
ilSCORM13PlayerGUI::readGObjective | ( | ) |
Definition at line 785 of file class.ilSCORM13PlayerGUI.php.
References readGObjectiveInit().
Referenced by executeCommand().
ilSCORM13PlayerGUI::readGObjectiveInit | ( | ) |
Definition at line 700 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, $ilUser, $packageId, $query, $res, and $scope.
Referenced by getPlayer(), and readGObjective().
ilSCORM13PlayerGUI::readSharedData | ( | int | $sco_node_id | ) |
Definition at line 800 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $ilUser, ILIAS\LTI\ToolProvider\$key, $params, $query, $res, and exit.
Referenced by executeCommand().
ilSCORM13PlayerGUI::resetSharedData | ( | ) |
Definition at line 1303 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, and $res.
Referenced by getPlayer().
ilSCORM13PlayerGUI::specialPage | ( | ) |
Definition at line 971 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $lng, ilUtil\getStyleSheetLocation(), and ilLanguage\txt().
Referenced by executeCommand().
|
private |
Definition at line 1381 of file class.ilSCORM13PlayerGUI.php.
References $filename, $i, get_actual_attempts(), and logDirectory().
Referenced by createSummary().
ilSCORM13PlayerGUI::suspendADLActData | ( | ) |
Definition at line 668 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $ilUser, and $res.
Referenced by executeCommand().
ilSCORM13PlayerGUI::writeSharedData | ( | int | $sco_node_id | ) |
Definition at line 890 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $id, $ilDB, $ilUser, ILIAS\LTI\ToolProvider\$key, $query, $res, and exit.
Referenced by executeCommand().
ilCtrl ilSCORM13PlayerGUI::$ctrl |
Definition at line 142 of file class.ilSCORM13PlayerGUI.php.
bool ilSCORM13PlayerGUI::$jsMode |
Definition at line 137 of file class.ilSCORM13PlayerGUI.php.
|
protected |
Definition at line 143 of file class.ilSCORM13PlayerGUI.php.
Referenced by debugGUI(), logFileName(), postLogEntry(), and specialPage().
int ilSCORM13PlayerGUI::$packageId |
Definition at line 136 of file class.ilSCORM13PlayerGUI.php.
Referenced by getDataDirectory2(), and readGObjectiveInit().
|
protected |
Definition at line 144 of file class.ilSCORM13PlayerGUI.php.
int ilSCORM13PlayerGUI::$ref_id |
Definition at line 141 of file class.ilSCORM13PlayerGUI.php.
Referenced by getPlayer().
|
staticprivate |
Definition at line 40 of file class.ilSCORM13PlayerGUI.php.
ilObjSCORM2004LearningModule ilSCORM13PlayerGUI::$slm |
Definition at line 139 of file class.ilSCORM13PlayerGUI.php.
ilGlobalTemplate ilSCORM13PlayerGUI::$tpl |
Definition at line 140 of file class.ilSCORM13PlayerGUI.php.
|
private |
Definition at line 135 of file class.ilSCORM13PlayerGUI.php.
Referenced by executeCommand().
const ilSCORM13PlayerGUI::ENABLE_GZIP = 0 |
Definition at line 30 of file class.ilSCORM13PlayerGUI.php.
const ilSCORM13PlayerGUI::NONE = 0 |
Definition at line 32 of file class.ilSCORM13PlayerGUI.php.
const ilSCORM13PlayerGUI::READONLY = 1 |
Definition at line 33 of file class.ilSCORM13PlayerGUI.php.
const ilSCORM13PlayerGUI::READWRITE = 3 |
Definition at line 35 of file class.ilSCORM13PlayerGUI.php.
const ilSCORM13PlayerGUI::WRITEONLY = 2 |
Definition at line 34 of file class.ilSCORM13PlayerGUI.php.