ILIAS
release_4-3 Revision
|
Public Member Functions | |
__construct () | |
& | executeCommand () |
execute command | |
getRTEjs () | |
getDataDirectory () | |
getPlayer () | |
getInlineCSS () | |
Get inline css. | |
getCPData () | |
getADLActData () | |
pingSession () | |
scormPlayerUnload () | |
getScope () | |
getSuspendData () | |
suspendADLActData () | |
readGObjective () | |
writeGObjective ($g_data) | |
readSharedData ($sco_node_id) | |
writeSharedData ($sco_node_id) | |
specialPage () | |
fetchCMIData () | |
persistCMIData ($data=null) | |
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_attempt () | |
Increases attempts by one for this package. | |
resetSharedData () | |
save_module_version () | |
save the active module version to scorm_tracking | |
getDataDirectory2 () | |
openLog () | |
downloadLog () | |
liveLogContent () | |
debugGUI () | |
postLogEntry () | |
get_last_visited ($a_obj_id, $a_user_id) | |
functions for last_visited_sco | |
set_last_visited ($a_obj_id, $a_user_id, $last_visited) |
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 | |
getCMIData ($userId, $packageId) | |
setCMIData ($userId, $packageId, $data) | |
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 2532 of file ilSCORM13Player.php.
References $res.
ilSCORM13Player::debugGUI | ( | ) |
Definition at line 2138 of file ilSCORM13Player.php.
References $lng, ilUtil\getImagePath(), and ilYuiUtil\getLocalPath().
Referenced by executeCommand().
ilSCORM13Player::downloadLog | ( | ) |
Definition at line 2088 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(), persistCMIData(), pingSession(), postLogEntry(), readGObjective(), readSharedData(), scormPlayerUnload(), specialPage(), suspendADLActData(), and writeSharedData().
ilSCORM13Player::fetchCMIData | ( | ) |
Definition at line 1105 of file ilSCORM13Player.php.
References $data.
Referenced by executeCommand().
ilSCORM13Player::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 1686 of file ilSCORM13Player.php.
References $ilUser, $res, and $row.
Referenced by getPlayer().
ilSCORM13Player::get_last_visited | ( | $a_obj_id, | |
$a_user_id | |||
) |
functions for last_visited_sco
Definition at line 2604 of file ilSCORM13Player.php.
Referenced by getPlayer().
ilSCORM13Player::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 1656 of file ilSCORM13Player.php.
Referenced by getPlayer().
ilSCORM13Player::get_Module_Version | ( | ) |
ilSCORM13Player::getADLActData | ( | ) |
Definition at line 465 of file ilSCORM13Player.php.
Referenced by executeCommand().
|
private |
Definition at line 1162 of file ilSCORM13Player.php.
References $res, $result, and $row.
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 1589 of file ilSCORM13Player.php.
References $_COOKIE.
ilSCORM13Player::getCPData | ( | ) |
Definition at line 439 of file ilSCORM13Player.php.
References $res.
Referenced by executeCommand().
ilSCORM13Player::getDataDirectory | ( | ) |
Definition at line 273 of file ilSCORM13Player.php.
References ILIAS_WEB_DIR.
Referenced by getPlayer().
ilSCORM13Player::getDataDirectory2 | ( | ) |
Definition at line 2061 of file ilSCORM13Player.php.
References ILIAS_WEB_DIR.
|
private |
Definition at line 2186 of file ilSCORM13Player.php.
References $ilLog.
Referenced by getPlayer().
ilSCORM13Player::getInlineCSS | ( | ) |
Get inline css.
Definition at line 425 of file ilSCORM13Player.php.
References ilUtil\getImagePath().
|
private |
Definition at line 2102 of file ilSCORM13Player.php.
|
private |
Definition at line 2181 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 1578 of file ilSCORM13Player.php.
References $filename, and ilObjMediaObject\getMimeType().
|
private |
Definition at line 1846 of file ilSCORM13Player.php.
References $ilLog, $res, and $row.
ilSCORM13Player::getPlayer | ( | ) |
Definition at line 283 of file ilSCORM13Player.php.
References $_GET, $ilias, $ilSetting, $ilUser, $lng, exit, get_actual_attempts(), get_last_visited(), get_max_attempts(), getDataDirectory(), getDebugValues(), ilYuiUtil\getLocalPath(), getScope(), ilUtil\getStyleSheetLocation(), increase_attempt(), resetSharedData(), and save_module_version().
Referenced by executeCommand().
ilSCORM13Player::getRTEjs | ( | ) |
Definition at line 260 of file ilSCORM13Player.php.
Referenced by executeCommand().
ilSCORM13Player::getScope | ( | ) |
Definition at line 515 of file ilSCORM13Player.php.
References $data, $ilUser, $packageId, and $res.
Referenced by getPlayer().
|
private |
Definition at line 2512 of file ilSCORM13Player.php.
References $data.
ilSCORM13Player::getSuspendData | ( | ) |
Definition at line 535 of file ilSCORM13Player.php.
References $data, $ilUser, and $res.
Referenced by executeCommand().
ilSCORM13Player::increase_attempt | ( | ) |
Increases attempts by one for this package.
Definition at line 1710 of file ilSCORM13Player.php.
References $ilUser, $res, and $row.
Referenced by getPlayer().
ilSCORM13Player::liveLogContent | ( | ) |
Definition at line 2132 of file ilSCORM13Player.php.
Referenced by executeCommand().
|
private |
Definition at line 2069 of file ilSCORM13Player.php.
References ilUtil\makeDir().
|
private |
Definition at line 1903 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 1149 of file ilSCORM13Player.php.
ilSCORM13Player::openLog | ( | ) |
Definition at line 2080 of file ilSCORM13Player.php.
References $_GET, $filename, and exit.
Referenced by executeCommand().
ilSCORM13Player::persistCMIData | ( | $data = null | ) |
Definition at line 1120 of file ilSCORM13Player.php.
Referenced by executeCommand().
ilSCORM13Player::pingSession | ( | ) |
Definition at line 495 of file ilSCORM13Player.php.
Referenced by executeCommand().
ilSCORM13Player::postLogEntry | ( | ) |
Definition at line 2217 of file ilSCORM13Player.php.
References $filename, $ilLog, $lng, $path, and $timestamp.
Referenced by executeCommand().
ilSCORM13Player::quoteJSONArray | ( | $a_array | ) |
Definition at line 1550 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 1605 of file ilSCORM13Player.php.
References $path.
ilSCORM13Player::readGObjective | ( | ) |
Definition at line 599 of file ilSCORM13Player.php.
References $data, $ilLog, $ilUser, $packageId, $query, $res, and $row.
Referenced by executeCommand().
ilSCORM13Player::readSharedData | ( | $sco_node_id | ) |
Definition at line 901 of file ilSCORM13Player.php.
References $ilUser, $query, $res, $row, and exit.
Referenced by executeCommand().
ilSCORM13Player::resetSharedData | ( | ) |
Definition at line 1763 of file ilSCORM13Player.php.
References $res.
Referenced by getPlayer().
ilSCORM13Player::save_module_version | ( | ) |
save the active module version to scorm_tracking
Definition at line 1805 of file ilSCORM13Player.php.
Referenced by getPlayer().
ilSCORM13Player::scormPlayerUnload | ( | ) |
Definition at line 502 of file ilSCORM13Player.php.
References $data, $ilUser, ilSCORM2004Tracking\_syncReadEvent(), and set_last_visited().
Referenced by executeCommand().
ilSCORM13Player::set_last_visited | ( | $a_obj_id, | |
$a_user_id, | |||
$last_visited | |||
) |
Definition at line 2621 of file ilSCORM13Player.php.
Referenced by scormPlayerUnload().
|
private |
Definition at line 1308 of file ilSCORM13Player.php.
References $data, $ilLog, $res, $result, $row, and ilLPStatusWrapper\_updateStatus().
ilSCORM13Player::setCookie | ( | $cook | ) |
Definition at line 1594 of file ilSCORM13Player.php.
ilSCORM13Player::specialPage | ( | ) |
Definition at line 1076 of file ilSCORM13Player.php.
References $lng, and ilUtil\getStyleSheetLocation().
Referenced by executeCommand().
|
private |
Definition at line 1882 of file ilSCORM13Player.php.
References $filename.
ilSCORM13Player::suspendADLActData | ( | ) |
Definition at line 567 of file ilSCORM13Player.php.
Referenced by executeCommand().
ilSCORM13Player::writeGObjective | ( | $g_data | ) |
Definition at line 708 of file ilSCORM13Player.php.
References $ilLog, and $ilUser.
ilSCORM13Player::writeSharedData | ( | $sco_node_id | ) |
Definition at line 995 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(), 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 readGObjective().
|
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.