ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 ilSCORM13Player.php.
ilSCORM13Player::__construct | ( | ) |
Definition at line 124 of file ilSCORM13Player.php.
References $_GET, $_SERVER, $GLOBALS, $ilCtrl, $ilUser, $lng, $tpl, and ilObject\_lookupObjectId().
|
private |
Definition at line 2008 of file ilSCORM13Player.php.
References $fh, $id, $ilDB, $key, $res, array, getStructureFlat(), logTmpName(), and summaryFileName().
Referenced by postLogEntry().
ilSCORM13Player::debugGUI | ( | ) |
Definition at line 1597 of file ilSCORM13Player.php.
References $lng, ilUtil\getImagePath(), ilYuiUtil\getLocalPath(), getLogFileList(), and logFileName().
Referenced by executeCommand().
ilSCORM13Player::downloadLog | ( | ) |
Definition at line 1544 of file ilSCORM13Player.php.
References $_GET, $filename, exit, header, and logDirectory().
Referenced by executeCommand().
& ilSCORM13Player::executeCommand | ( | ) |
execute command
Definition at line 159 of file ilSCORM13Player.php.
References $_GET, $_SERVER, $ilErr, $lng, debugGUI(), downloadLog(), fetchCMIData(), getADLActData(), getCPData(), getPlayer(), getRTEjs(), getSuspendData(), liveLogContent(), openLog(), ilSCORM2004StoreData\persistCMIData(), pingSession(), postLogEntry(), readGObjective(), readSharedData(), ilSCORM2004StoreData\scormPlayerUnload(), specialPage(), suspendADLActData(), and writeSharedData().
ilSCORM13Player::fetchCMIData | ( | ) |
Definition at line 963 of file ilSCORM13Player.php.
References $data, getCMIData(), and header.
Referenced by executeCommand().
ilSCORM13Player::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 1203 of file ilSCORM13Player.php.
References $ilDB, $ilUser, and array.
Referenced by getLogFileList(), getPlayer(), logFileName(), and summaryFileName().
ilSCORM13Player::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 1180 of file ilSCORM13Player.php.
References ilObjSCORMInitData\get_max_attempts().
Referenced by getPlayer().
ilSCORM13Player::get_Module_Version | ( | ) |
ilSCORM13Player::getADLActData | ( | ) |
Definition at line 564 of file ilSCORM13Player.php.
References getADLActDataInit(), and header.
Referenced by executeCommand().
ilSCORM13Player::getADLActDataInit | ( | ) |
Definition at line 545 of file ilSCORM13Player.php.
References $data, $ilDB, $res, and array.
Referenced by getADLActData(), and getPlayer().
ilSCORM13Player::getCMIData | ( | $userId, | |
$packageId | |||
) |
Definition at line 991 of file ilSCORM13Player.php.
References $ilDB, $key, $packageId, $res, $result, $row, $schema, $userId, and array.
Referenced by fetchCMIData(), and getPlayer().
ilSCORM13Player::getConfigForPlayer | ( | ) |
Definition at line 288 of file ilSCORM13Player.php.
References $config, $ilUser, array, getScope(), ilObjSCORMInitData\getStatus(), and string.
Referenced by getPlayer().
ilSCORM13Player::getCPData | ( | ) |
Definition at line 513 of file ilSCORM13Player.php.
References getCPDataInit(), and header.
Referenced by executeCommand().
ilSCORM13Player::getCPDataInit | ( | ) |
Definition at line 525 of file ilSCORM13Player.php.
References $ilDB, $res, and array.
Referenced by getCPData(), and getPlayer().
ilSCORM13Player::getDataDirectory | ( | ) |
Definition at line 279 of file ilSCORM13Player.php.
References $_SERVER, and $packageId.
Referenced by getPlayer(), and pingSession().
ilSCORM13Player::getDataDirectory2 | ( | ) |
Definition at line 1516 of file ilSCORM13Player.php.
References $_SERVER, and $packageId.
|
private |
Definition at line 1645 of file ilSCORM13Player.php.
References $ilDB, $ilLog, $key, and array.
Referenced by getPlayer(), and postLogEntry().
|
static |
Get inline css.
Definition at line 499 of file ilSCORM13Player.php.
References ilUtil\getImagePath().
|
private |
Definition at line 1559 of file ilSCORM13Player.php.
References $_GET, $data, array, date, get_actual_attempts(), and logDirectory().
Referenced by debugGUI().
|
private |
Definition at line 1640 of file ilSCORM13Player.php.
Referenced by logFileName(), and postLogEntry().
ilSCORM13Player::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 1170 of file ilSCORM13Player.php.
References $filename, and ilObjMediaObject\getMimeType().
|
private |
Definition at line 1298 of file ilSCORM13Player.php.
References $ilDB, $ilLog, $res, $row, and array.
Referenced by postLogEntry().
ilSCORM13Player::getPlayer | ( | ) |
Definition at line 333 of file ilSCORM13Player.php.
References $_GET, $config, $ilSetting, $lng, 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(), header, increase_attemptAndsave_module_version(), readGObjectiveInit(), resetSharedData(), and ilWACSignedPath\signFolderOfStartFile().
Referenced by executeCommand().
ilSCORM13Player::getRTEjs | ( | ) |
Definition at line 266 of file ilSCORM13Player.php.
References header.
Referenced by executeCommand().
ilSCORM13Player::getScope | ( | ) |
Definition at line 587 of file ilSCORM13Player.php.
References $data, $ilDB, $ilUser, $packageId, $res, and array.
Referenced by getConfigForPlayer().
|
private |
Definition at line 1988 of file ilSCORM13Player.php.
References $data, $i, and array.
Referenced by createSummary().
ilSCORM13Player::getSuspendData | ( | ) |
Definition at line 628 of file ilSCORM13Player.php.
References getSuspendDataInit(), and header.
Referenced by executeCommand().
ilSCORM13Player::getSuspendDataInit | ( | ) |
Definition at line 608 of file ilSCORM13Player.php.
References $data, $ilDB, $ilUser, $res, and array.
Referenced by getPlayer(), and getSuspendData().
ilSCORM13Player::increase_attemptAndsave_module_version | ( | ) |
Increases attempts by one and saves module_version for this package.
Definition at line 1222 of file ilSCORM13Player.php.
References $ilDB, $ilUser, $res, array, and date.
Referenced by getPlayer().
ilSCORM13Player::liveLogContent | ( | ) |
Definition at line 1591 of file ilSCORM13Player.php.
References header, and logFileName().
Referenced by executeCommand().
|
private |
Definition at line 1524 of file ilSCORM13Player.php.
References ilUtil\makeDir().
Referenced by downloadLog(), getLogFileList(), logFileName(), logTmpName(), openLog(), postLogEntry(), and summaryFileName().
|
private |
Definition at line 1356 of file ilSCORM13Player.php.
References $filename, $lng, date, get_actual_attempts(), getLogTemplate(), logDirectory(), logTmpName(), and time.
Referenced by debugGUI(), liveLogContent(), and postLogEntry().
|
private |
Definition at line 1323 of file ilSCORM13Player.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 980 of file ilSCORM13Player.php.
References $schema, and $table.
ilSCORM13Player::openLog | ( | ) |
Definition at line 1535 of file ilSCORM13Player.php.
References $_GET, $filename, exit, header, and logDirectory().
Referenced by executeCommand().
ilSCORM13Player::pingSession | ( | ) |
Definition at line 577 of file ilSCORM13Player.php.
References getDataDirectory(), header, and ilWACSignedPath\signFolderOfStartFile().
Referenced by executeCommand().
ilSCORM13Player::postLogEntry | ( | ) |
Definition at line 1676 of file ilSCORM13Player.php.
References $filename, $i, $ilLog, $key, $lng, $path, $timestamp, array, createSummary(), date, getDebugValues(), getLogTemplate(), getNodeData(), logDirectory(), logFileName(), logTmpName(), and time.
Referenced by executeCommand().
ilSCORM13Player::quoteJSONArray | ( | $a_array | ) |
Definition at line 1144 of file ilSCORM13Player.php.
ilSCORM13Player::readGObjective | ( | ) |
Definition at line 754 of file ilSCORM13Player.php.
References header, and readGObjectiveInit().
Referenced by executeCommand().
ilSCORM13Player::readGObjectiveInit | ( | ) |
Definition at line 671 of file ilSCORM13Player.php.
References $data, $ilDB, $ilUser, $packageId, $query, $res, $row, and array.
Referenced by getPlayer(), and readGObjective().
ilSCORM13Player::readSharedData | ( | $sco_node_id | ) |
Definition at line 769 of file ilSCORM13Player.php.
References $ilDB, $ilUser, $key, $params, $query, $res, $row, array, exit, and header.
Referenced by executeCommand().
ilSCORM13Player::resetSharedData | ( | ) |
Definition at line 1252 of file ilSCORM13Player.php.
References $ilDB, $res, and array.
Referenced by getPlayer().
ilSCORM13Player::specialPage | ( | ) |
Definition at line 934 of file ilSCORM13Player.php.
References $lng, array, and ilUtil\getStyleSheetLocation().
Referenced by executeCommand().
|
private |
Definition at line 1335 of file ilSCORM13Player.php.
References $filename, $i, get_actual_attempts(), logDirectory(), and string.
Referenced by createSummary().
ilSCORM13Player::suspendADLActData | ( | ) |
Definition at line 641 of file ilSCORM13Player.php.
References $ilDB, $ilUser, $res, and array.
Referenced by executeCommand().
ilSCORM13Player::writeSharedData | ( | $sco_node_id | ) |
Definition at line 855 of file ilSCORM13Player.php.
References $id, $ilDB, $ilUser, $key, $query, $res, $row, array, and exit.
Referenced by executeCommand().
ilSCORM13Player::$jsMode |
Definition at line 119 of file ilSCORM13Player.php.
ilSCORM13Player::$packageId |
Definition at line 118 of file ilSCORM13Player.php.
Referenced by getCMIData(), getDataDirectory(), getDataDirectory2(), getScope(), and readGObjectiveInit().
|
staticprivate |
Definition at line 22 of file ilSCORM13Player.php.
ilSCORM13Player::$slm |
Definition at line 121 of file ilSCORM13Player.php.
ilSCORM13Player::$tpl |
Definition at line 122 of file ilSCORM13Player.php.
Referenced by __construct().
|
private |
Definition at line 117 of file ilSCORM13Player.php.
Referenced by getCMIData().
const ilSCORM13Player::ENABLE_GZIP = 0 |
Definition at line 15 of file ilSCORM13Player.php.
const ilSCORM13Player::NONE = 0 |
Definition at line 17 of file ilSCORM13Player.php.
const ilSCORM13Player::READONLY = 1 |
Definition at line 18 of file ilSCORM13Player.php.
const ilSCORM13Player::READWRITE = 3 |
Definition at line 20 of file ilSCORM13Player.php.
const ilSCORM13Player::WRITEONLY = 2 |
Definition at line 19 of file ilSCORM13Player.php.