ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct () | |
& | executeCommand () |
execute command | |
getRTEjs () | |
getDataDirectory () | |
getConfigForPlayer () | |
getPlayer () | |
getInlineCSS () | |
Get inline css. | |
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() | |
getCookie () | |
getting and setting Scorm2004 cookie Cookie contains enrypted associative array of sahs_lm.id and permission value you may enforce stronger symmetrical encryption by adding RC4 via mcrypt() | |
setCookie ($cook) | |
readFile ($path) | |
Try to find file, identify content type, write it to buffer, and stop immediatly If no file given, read file from PATH_INFO, check permission by cookie, and write out and stop. | |
get_max_attempts () | |
Get max. | |
get_Module_Version () | |
get_actual_attempts () | |
Get number of actual attempts for the user. | |
increase_attemptAndsave_module_version () | |
Increases attempts by one and saves module_version for this package. | |
resetSharedData () | |
getDataDirectory2 () | |
openLog () | |
downloadLog () | |
liveLogContent () | |
debugGUI () | |
postLogEntry () | |
get_last_visited ($a_obj_id, $a_user_id) | |
functions for last_visited_sco |
Data Fields | |
const | ENABLE_GZIP = 0 |
const | NONE = 0 |
const | READONLY = 1 |
const | WRITEONLY = 2 |
const | READWRITE = 3 |
$packageId | |
$jsMode | |
$ilias | |
$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 | |
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 126 of file ilSCORM13Player.php.
References $_GET, $_REQUEST, $GLOBALS, $ilCtrl, $ilias, $ilUser, $lng, $tpl, and ilObject\_lookupObjectId().
|
private |
Definition at line 2057 of file ilSCORM13Player.php.
References $res.
ilSCORM13Player::debugGUI | ( | ) |
Definition at line 1663 of file ilSCORM13Player.php.
References $lng, ilUtil\getImagePath(), and ilYuiUtil\getLocalPath().
Referenced by executeCommand().
ilSCORM13Player::downloadLog | ( | ) |
Definition at line 1613 of file ilSCORM13Player.php.
References $_GET, $filename, and exit.
Referenced by executeCommand().
& ilSCORM13Player::executeCommand | ( | ) |
execute command
Definition at line 164 of file ilSCORM13Player.php.
References $_GET, $cmd, $ilias, $ilLog, $ilUser, $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 982 of file ilSCORM13Player.php.
Referenced by executeCommand().
ilSCORM13Player::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 1290 of file ilSCORM13Player.php.
References $ilUser.
Referenced by getPlayer().
ilSCORM13Player::get_last_visited | ( | $a_obj_id, | |
$a_user_id | |||
) |
functions for last_visited_sco
Definition at line 2129 of file ilSCORM13Player.php.
Referenced by getConfigForPlayer().
ilSCORM13Player::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 1268 of file ilSCORM13Player.php.
References ilObjSCORMInitData\get_max_attempts().
Referenced by getPlayer().
ilSCORM13Player::get_Module_Version | ( | ) |
ilSCORM13Player::getADLActData | ( | ) |
Definition at line 554 of file ilSCORM13Player.php.
References getADLActDataInit().
Referenced by executeCommand().
ilSCORM13Player::getADLActDataInit | ( | ) |
Definition at line 534 of file ilSCORM13Player.php.
References $res.
Referenced by getADLActData(), and getPlayer().
ilSCORM13Player::getCMIData | ( | $userId, | |
$packageId | |||
) |
Definition at line 1015 of file ilSCORM13Player.php.
References $res, $result, and $row.
Referenced by getPlayer().
ilSCORM13Player::getConfigForPlayer | ( | ) |
Definition at line 289 of file ilSCORM13Player.php.
References $ilias, $ilSetting, $ilUser, get_last_visited(), getScope(), and ilObjSCORMInitData\getStatus().
Referenced by getPlayer().
ilSCORM13Player::getCookie | ( | ) |
getting and setting Scorm2004 cookie Cookie contains enrypted associative array of sahs_lm.id and permission value you may enforce stronger symmetrical encryption by adding RC4 via mcrypt()
Definition at line 1201 of file ilSCORM13Player.php.
References $_COOKIE.
ilSCORM13Player::getCPData | ( | ) |
Definition at line 501 of file ilSCORM13Player.php.
References getCPDataInit().
Referenced by executeCommand().
ilSCORM13Player::getCPDataInit | ( | ) |
Definition at line 516 of file ilSCORM13Player.php.
References $res.
Referenced by getCPData(), and getPlayer().
ilSCORM13Player::getDataDirectory | ( | ) |
Definition at line 280 of file ilSCORM13Player.php.
References ILIAS_WEB_DIR.
Referenced by getPlayer().
ilSCORM13Player::getDataDirectory2 | ( | ) |
Definition at line 1586 of file ilSCORM13Player.php.
References ILIAS_WEB_DIR.
|
private |
Definition at line 1711 of file ilSCORM13Player.php.
References $ilLog.
Referenced by getPlayer().
ilSCORM13Player::getInlineCSS | ( | ) |
Get inline css.
Definition at line 487 of file ilSCORM13Player.php.
References ilUtil\getImagePath().
|
private |
Definition at line 1627 of file ilSCORM13Player.php.
References $_GET.
|
private |
Definition at line 1706 of file ilSCORM13Player.php.
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 1190 of file ilSCORM13Player.php.
References $filename, and ilObjMediaObject\getMimeType().
|
private |
Definition at line 1371 of file ilSCORM13Player.php.
References $ilLog, $res, and $row.
ilSCORM13Player::getPlayer | ( | ) |
Definition at line 338 of file ilSCORM13Player.php.
References $_GET, $ilias, $ilSetting, $ilUser, $lng, exit, get_actual_attempts(), get_max_attempts(), getADLActDataInit(), getCMIData(), getConfigForPlayer(), getCPDataInit(), getDataDirectory(), getDebugValues(), ilSession\getIdleValue(), ilYuiUtil\getLocalPath(), ilUtil\getStyleSheetLocation(), getSuspendDataInit(), increase_attemptAndsave_module_version(), readGObjectiveInit(), and resetSharedData().
Referenced by executeCommand().
ilSCORM13Player::getRTEjs | ( | ) |
Definition at line 267 of file ilSCORM13Player.php.
Referenced by executeCommand().
ilSCORM13Player::getScope | ( | ) |
Definition at line 577 of file ilSCORM13Player.php.
References $ilUser, $packageId, and $res.
Referenced by getConfigForPlayer().
|
private |
Definition at line 2037 of file ilSCORM13Player.php.
ilSCORM13Player::getSuspendData | ( | ) |
Definition at line 617 of file ilSCORM13Player.php.
References getSuspendDataInit().
Referenced by executeCommand().
ilSCORM13Player::getSuspendDataInit | ( | ) |
Definition at line 597 of file ilSCORM13Player.php.
Referenced by getPlayer(), and getSuspendData().
ilSCORM13Player::increase_attemptAndsave_module_version | ( | ) |
Increases attempts by one and saves module_version for this package.
Definition at line 1304 of file ilSCORM13Player.php.
Referenced by getPlayer().
ilSCORM13Player::liveLogContent | ( | ) |
Definition at line 1657 of file ilSCORM13Player.php.
Referenced by executeCommand().
|
private |
Definition at line 1594 of file ilSCORM13Player.php.
References ilUtil\makeDir().
|
private |
Definition at line 1428 of file ilSCORM13Player.php.
References $filename, and $lng.
|
private |
|
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 1002 of file ilSCORM13Player.php.
ilSCORM13Player::openLog | ( | ) |
Definition at line 1605 of file ilSCORM13Player.php.
References $_GET, $filename, and exit.
Referenced by executeCommand().
ilSCORM13Player::pingSession | ( | ) |
Definition at line 570 of file ilSCORM13Player.php.
Referenced by executeCommand().
ilSCORM13Player::postLogEntry | ( | ) |
Definition at line 1742 of file ilSCORM13Player.php.
References $filename, $ilLog, $lng, $path, and $timestamp.
Referenced by executeCommand().
ilSCORM13Player::quoteJSONArray | ( | $a_array | ) |
Definition at line 1162 of file ilSCORM13Player.php.
ilSCORM13Player::readFile | ( | $path | ) |
Try to find file, identify content type, write it to buffer, and stop immediatly If no file given, read file from PATH_INFO, check permission by cookie, and write out and stop.
$path | filename |
Definition at line 1217 of file ilSCORM13Player.php.
References $path.
ilSCORM13Player::readGObjective | ( | ) |
Definition at line 759 of file ilSCORM13Player.php.
Referenced by executeCommand().
ilSCORM13Player::readGObjectiveInit | ( | ) |
Definition at line 665 of file ilSCORM13Player.php.
References $ilUser, $packageId, $query, $res, and $row.
Referenced by getPlayer().
ilSCORM13Player::readSharedData | ( | $sco_node_id | ) |
Definition at line 778 of file ilSCORM13Player.php.
References $ilUser, $query, $res, $row, and exit.
Referenced by executeCommand().
ilSCORM13Player::resetSharedData | ( | ) |
Definition at line 1329 of file ilSCORM13Player.php.
References $res.
Referenced by getPlayer().
ilSCORM13Player::setCookie | ( | $cook | ) |
Definition at line 1206 of file ilSCORM13Player.php.
ilSCORM13Player::specialPage | ( | ) |
Definition at line 953 of file ilSCORM13Player.php.
References $lng, and ilUtil\getStyleSheetLocation().
Referenced by executeCommand().
|
private |
Definition at line 1407 of file ilSCORM13Player.php.
References $filename.
ilSCORM13Player::suspendADLActData | ( | ) |
Definition at line 633 of file ilSCORM13Player.php.
Referenced by executeCommand().
ilSCORM13Player::writeSharedData | ( | $sco_node_id | ) |
Definition at line 872 of file ilSCORM13Player.php.
References $ilUser, $query, $res, and $row.
Referenced by executeCommand().
ilSCORM13Player::$ilias |
Definition at line 122 of file ilSCORM13Player.php.
Referenced by __construct(), executeCommand(), getConfigForPlayer(), and getPlayer().
ilSCORM13Player::$jsMode |
Definition at line 120 of file ilSCORM13Player.php.
ilSCORM13Player::$packageId |
Definition at line 119 of file ilSCORM13Player.php.
Referenced by getScope(), and readGObjectiveInit().
|
staticprivate |
Definition at line 23 of file ilSCORM13Player.php.
ilSCORM13Player::$slm |
Definition at line 123 of file ilSCORM13Player.php.
ilSCORM13Player::$tpl |
Definition at line 124 of file ilSCORM13Player.php.
Referenced by __construct().
|
private |
Definition at line 118 of file ilSCORM13Player.php.
const ilSCORM13Player::ENABLE_GZIP = 0 |
Definition at line 16 of file ilSCORM13Player.php.
const ilSCORM13Player::NONE = 0 |
Definition at line 18 of file ilSCORM13Player.php.
const ilSCORM13Player::READONLY = 1 |
Definition at line 19 of file ilSCORM13Player.php.
const ilSCORM13Player::READWRITE = 3 |
Definition at line 21 of file ilSCORM13Player.php.
const ilSCORM13Player::WRITEONLY = 2 |
Definition at line 20 of file ilSCORM13Player.php.