ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct () | |
& | executeCommand () |
execute command More... | |
getRTEjs () | |
getDataDirectory () | |
getConfigForPlayer () | |
getPlayer () | |
getCPData () | |
getCPDataInit () | |
getADLActDataInit () | |
getADLActData () | |
pingSession () | |
getScope () | |
getSuspendDataInit () | |
getSuspendData () | |
suspendADLActData () | |
readGObjectiveInit () | |
readGObjective () | |
readSharedData ($sco_node_id) | |
writeSharedData ($sco_node_id) | |
specialPage () | |
fetchCMIData () | |
getCMIData ($userId, $packageId) | |
quoteJSONArray ($a_array) | |
getMimetype ($filename) | |
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_max_attempts () | |
Get max. More... | |
get_Module_Version () | |
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 () |
Get inline css. More... | |
Data Fields | |
const | ENABLE_GZIP = 0 |
const | NONE = 0 |
const | READONLY = 1 |
const | WRITEONLY = 2 |
const | READWRITE = 3 |
$packageId | |
$jsMode | |
$slm | |
$tpl | |
Private Member Functions | |
normalizeFields ($table, &$node) | |
maps API data structure type to internal datatype on a node and accepts only valid values, dropping invalid ones from input More... | |
getNodeData ($sco_id, $fh) | |
logTmpName () | |
summaryFileName () | |
logFileName () | |
logDirectory () | |
getLogFileList ($s_delete, $s_download, $s_open) | |
getLogTemplate () | |
getDebugValues ($test_sco=false) | |
getStructureFlat ($data) | |
createSummary ($api_data) | |
Private Attributes | |
$userId | |
Static Private Attributes | |
static | $schema |
Definition at line 13 of file class.ilSCORM13PlayerGUI.php.
ilSCORM13PlayerGUI::__construct | ( | ) |
Definition at line 124 of file class.ilSCORM13PlayerGUI.php.
References $_GET, $_SERVER, $DIC, $ilUser, $lng, $tpl, and ilObject\_lookupObjectId().
|
private |
Definition at line 2052 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $res, getStructureFlat(), logTmpName(), and summaryFileName().
Referenced by postLogEntry().
ilSCORM13PlayerGUI::debugGUI | ( | ) |
Definition at line 1635 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $lng, ilUtil\getImagePath(), ilYuiUtil\getLocalPath(), getLogFileList(), and logFileName().
Referenced by executeCommand().
ilSCORM13PlayerGUI::downloadLog | ( | ) |
Definition at line 1581 of file class.ilSCORM13PlayerGUI.php.
References $_GET, $filename, exit, and logDirectory().
Referenced by executeCommand().
& ilSCORM13PlayerGUI::executeCommand | ( | ) |
execute command
Definition at line 163 of file class.ilSCORM13PlayerGUI.php.
References $_GET, $_SERVER, $DIC, $ilErr, $lng, debugGUI(), downloadLog(), fetchCMIData(), getADLActData(), getCPData(), getPlayer(), getRTEjs(), getSuspendData(), liveLogContent(), openLog(), ilSCORM2004StoreData\persistCMIData(), pingSession(), postLogEntry(), readGObjective(), readSharedData(), ilSCORM2004StoreData\scormPlayerUnload(), specialPage(), suspendADLActData(), and writeSharedData().
ilSCORM13PlayerGUI::fetchCMIData | ( | ) |
Definition at line 988 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 1231 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $ilUser.
Referenced by getLogFileList(), getPlayer(), logFileName(), and summaryFileName().
ilSCORM13PlayerGUI::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 1207 of file class.ilSCORM13PlayerGUI.php.
References ilObjSCORMInitData\get_max_attempts().
Referenced by getPlayer().
ilSCORM13PlayerGUI::get_Module_Version | ( | ) |
ilSCORM13PlayerGUI::getADLActData | ( | ) |
Definition at line 576 of file class.ilSCORM13PlayerGUI.php.
References getADLActDataInit().
Referenced by executeCommand().
ilSCORM13PlayerGUI::getADLActDataInit | ( | ) |
Definition at line 556 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, and $res.
Referenced by getADLActData(), and getPlayer().
ilSCORM13PlayerGUI::getCMIData | ( | $userId, | |
$packageId | |||
) |
Definition at line 1016 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $packageId, $res, $result, and $userId.
Referenced by fetchCMIData(), and getPlayer().
ilSCORM13PlayerGUI::getConfigForPlayer | ( | ) |
Definition at line 295 of file class.ilSCORM13PlayerGUI.php.
References $config, $DIC, $ilUser, getScope(), and ilObjSCORMInitData\getStatus().
Referenced by getPlayer().
ilSCORM13PlayerGUI::getCPData | ( | ) |
Definition at line 523 of file class.ilSCORM13PlayerGUI.php.
References getCPDataInit().
Referenced by executeCommand().
ilSCORM13PlayerGUI::getCPDataInit | ( | ) |
Definition at line 535 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $res.
Referenced by getCPData(), and getPlayer().
ilSCORM13PlayerGUI::getDataDirectory | ( | ) |
Definition at line 286 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, $packageId, CLIENT_ID, and ILIAS_WEB_DIR.
Referenced by getPlayer(), and pingSession().
ilSCORM13PlayerGUI::getDataDirectory2 | ( | ) |
Definition at line 1552 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, $packageId, CLIENT_ID, and ILIAS_WEB_DIR.
|
private |
Definition at line 1684 of file class.ilSCORM13PlayerGUI.php.
Referenced by getPlayer(), and postLogEntry().
|
static |
Get inline css.
Definition at line 509 of file class.ilSCORM13PlayerGUI.php.
References ilUtil\getImagePath().
|
private |
Definition at line 1597 of file class.ilSCORM13PlayerGUI.php.
References $_GET, $data, get_actual_attempts(), and logDirectory().
Referenced by debugGUI().
|
private |
Definition at line 1679 of file class.ilSCORM13PlayerGUI.php.
Referenced by logFileName(), and postLogEntry().
ilSCORM13PlayerGUI::getMimetype | ( | $filename | ) |
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 1197 of file class.ilSCORM13PlayerGUI.php.
References $filename, and ilObjMediaObject\getMimeType().
|
private |
Definition at line 1331 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $res.
Referenced by postLogEntry().
ilSCORM13PlayerGUI::getPlayer | ( | ) |
Definition at line 341 of file class.ilSCORM13PlayerGUI.php.
References $_GET, $config, $DIC, $ilSetting, $lng, CLIENT_ID, ilSessionControl\DEFAULT_MIN_IDLE, exit, get_actual_attempts(), get_max_attempts(), getADLActDataInit(), getCMIData(), getConfigForPlayer(), ilWACSignedPath\getCookieMaxLifetimeInSeconds(), getCPDataInit(), getDataDirectory(), getDebugValues(), ilSession\getIdleValue(), iljQueryUtil\getLocaljQueryPath(), ilUtil\getStyleSheetLocation(), getSuspendDataInit(), increase_attemptAndsave_module_version(), readGObjectiveInit(), resetSharedData(), and ilWACSignedPath\signFolderOfStartFile().
Referenced by executeCommand().
ilSCORM13PlayerGUI::getRTEjs | ( | ) |
Definition at line 273 of file class.ilSCORM13PlayerGUI.php.
Referenced by executeCommand().
ilSCORM13PlayerGUI::getScope | ( | ) |
Definition at line 599 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, $ilUser, $packageId, and $res.
Referenced by getConfigForPlayer().
|
private |
Definition at line 2032 of file class.ilSCORM13PlayerGUI.php.
Referenced by createSummary().
ilSCORM13PlayerGUI::getSuspendData | ( | ) |
Definition at line 644 of file class.ilSCORM13PlayerGUI.php.
References getSuspendDataInit().
Referenced by executeCommand().
ilSCORM13PlayerGUI::getSuspendDataInit | ( | ) |
Definition at line 622 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 1252 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $ilUser, and $res.
Referenced by getPlayer().
ilSCORM13PlayerGUI::liveLogContent | ( | ) |
Definition at line 1629 of file class.ilSCORM13PlayerGUI.php.
References logFileName().
Referenced by executeCommand().
|
private |
Definition at line 1560 of file class.ilSCORM13PlayerGUI.php.
References ilUtil\makeDir().
Referenced by downloadLog(), getLogFileList(), logFileName(), logTmpName(), openLog(), postLogEntry(), and summaryFileName().
|
private |
Definition at line 1391 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, $lng, get_actual_attempts(), getLogTemplate(), logDirectory(), and logTmpName().
Referenced by debugGUI(), liveLogContent(), and postLogEntry().
|
private |
Definition at line 1358 of file class.ilSCORM13PlayerGUI.php.
References $filename, and logDirectory().
Referenced by createSummary(), logFileName(), and postLogEntry().
|
private |
maps API data structure type to internal datatype on a node and accepts only valid values, dropping invalid ones from input
Definition at line 1005 of file class.ilSCORM13PlayerGUI.php.
ilSCORM13PlayerGUI::openLog | ( | ) |
Definition at line 1571 of file class.ilSCORM13PlayerGUI.php.
References $_GET, $filename, exit, and logDirectory().
Referenced by executeCommand().
ilSCORM13PlayerGUI::pingSession | ( | ) |
Definition at line 589 of file class.ilSCORM13PlayerGUI.php.
References getDataDirectory(), and ilWACSignedPath\signFolderOfStartFile().
Referenced by executeCommand().
ilSCORM13PlayerGUI::postLogEntry | ( | ) |
Definition at line 1717 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, $i, $lng, $timestamp, createSummary(), getDebugValues(), getLogTemplate(), getNodeData(), logDirectory(), logFileName(), and logTmpName().
Referenced by executeCommand().
ilSCORM13PlayerGUI::quoteJSONArray | ( | $a_array | ) |
Definition at line 1170 of file class.ilSCORM13PlayerGUI.php.
ilSCORM13PlayerGUI::readGObjective | ( | ) |
Definition at line 774 of file class.ilSCORM13PlayerGUI.php.
References readGObjectiveInit().
Referenced by executeCommand().
ilSCORM13PlayerGUI::readGObjectiveInit | ( | ) |
Definition at line 689 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, $ilUser, $packageId, $query, and $res.
Referenced by getPlayer(), and readGObjective().
ilSCORM13PlayerGUI::readSharedData | ( | $sco_node_id | ) |
Definition at line 789 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $ilUser, $query, $res, and exit.
Referenced by executeCommand().
ilSCORM13PlayerGUI::resetSharedData | ( | ) |
Definition at line 1284 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $res.
Referenced by getPlayer().
ilSCORM13PlayerGUI::specialPage | ( | ) |
Definition at line 958 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $lng, and ilUtil\getStyleSheetLocation().
Referenced by executeCommand().
|
private |
Definition at line 1370 of file class.ilSCORM13PlayerGUI.php.
References $filename, $i, get_actual_attempts(), and logDirectory().
Referenced by createSummary().
ilSCORM13PlayerGUI::suspendADLActData | ( | ) |
Definition at line 657 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $ilUser, and $res.
Referenced by executeCommand().
ilSCORM13PlayerGUI::writeSharedData | ( | $sco_node_id | ) |
Definition at line 877 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $ilUser, $query, $res, and exit.
Referenced by executeCommand().
ilSCORM13PlayerGUI::$jsMode |
Definition at line 119 of file class.ilSCORM13PlayerGUI.php.
ilSCORM13PlayerGUI::$packageId |
Definition at line 118 of file class.ilSCORM13PlayerGUI.php.
Referenced by getCMIData(), getDataDirectory(), getDataDirectory2(), getScope(), and readGObjectiveInit().
|
staticprivate |
Definition at line 22 of file class.ilSCORM13PlayerGUI.php.
ilSCORM13PlayerGUI::$slm |
Definition at line 121 of file class.ilSCORM13PlayerGUI.php.
ilSCORM13PlayerGUI::$tpl |
Definition at line 122 of file class.ilSCORM13PlayerGUI.php.
Referenced by __construct().
|
private |
Definition at line 117 of file class.ilSCORM13PlayerGUI.php.
Referenced by getCMIData().
const ilSCORM13PlayerGUI::ENABLE_GZIP = 0 |
Definition at line 15 of file class.ilSCORM13PlayerGUI.php.
const ilSCORM13PlayerGUI::NONE = 0 |
Definition at line 17 of file class.ilSCORM13PlayerGUI.php.
const ilSCORM13PlayerGUI::READONLY = 1 |
Definition at line 18 of file class.ilSCORM13PlayerGUI.php.
const ilSCORM13PlayerGUI::READWRITE = 3 |
Definition at line 20 of file class.ilSCORM13PlayerGUI.php.
const ilSCORM13PlayerGUI::WRITEONLY = 2 |
Definition at line 19 of file class.ilSCORM13PlayerGUI.php.