|
ILIAS
Release_4_2_x_branch Revision 61807
|
Collaboration diagram for ilSCORM13Player:Public Member Functions | |
| __construct () | |
| & | executeCommand () |
| execute command | |
| getRTEjs () | |
| getDataDirectory () | |
| getPlayer () | |
| getInlineCSS () | |
| Get inline css. | |
| getCPData () | |
| getADLActData () | |
| pingSession () | |
| getScope () | |
| getSuspendData () | |
| suspendADLActData () | |
| readGObjective () | |
| writeGObjective () | |
| 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 () | |
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) | |
| removeCMIData ($userId, $packageId, $cp_node_id=null) | |
| setCMIData ($userId, $packageId, $data, $a_ref_id) | |
| 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, $lng, $tpl, and ilObject\_lookupObjectId().
Here is the call graph for this function:
|
private |
Definition at line 2563 of file ilSCORM13Player.php.
| ilSCORM13Player::debugGUI | ( | ) |
Definition at line 2183 of file ilSCORM13Player.php.
References $lng, ilUtil\getImagePath(), and ilYuiUtil\getLocalPath().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13Player::downloadLog | ( | ) |
Definition at line 2133 of file ilSCORM13Player.php.
References $_GET, $filename, and exit.
Referenced by executeCommand().
Here is the caller graph for this function:| & ilSCORM13Player::executeCommand | ( | ) |
execute command
Definition at line 163 of file ilSCORM13Player.php.
References $_GET, $cmd, $ilias, $ilLog, $lng, debugGUI(), downloadLog(), fetchCMIData(), getADLActData(), getCPData(), getPlayer(), getRTEjs(), getSuspendData(), liveLogContent(), openLog(), persistCMIData(), postLogEntry(), readGObjective(), readSharedData(), specialPage(), suspendADLActData(), writeGObjective(), and writeSharedData().
Here is the call graph for this function:| ilSCORM13Player::fetchCMIData | ( | ) |
Definition at line 1062 of file ilSCORM13Player.php.
References $data.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 1732 of file ilSCORM13Player.php.
References $ilDB, $res, and $row.
Referenced by getPlayer().
Here is the caller graph for this function:| ilSCORM13Player::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 1702 of file ilSCORM13Player.php.
References $ilDB, $res, and $row.
Referenced by getPlayer().
Here is the caller graph for this function:| ilSCORM13Player::get_module_version | ( | ) |
| ilSCORM13Player::getADLActData | ( | ) |
Definition at line 449 of file ilSCORM13Player.php.
References $data, $ilDB, and $res.
Referenced by executeCommand().
Here is the caller graph for this function:
|
private |
Definition at line 1119 of file ilSCORM13Player.php.
References $ilDB, $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 1635 of file ilSCORM13Player.php.
References $_COOKIE.
| ilSCORM13Player::getCPData | ( | ) |
Definition at line 423 of file ilSCORM13Player.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::getDataDirectory | ( | ) |
Definition at line 265 of file ilSCORM13Player.php.
References ILIAS_WEB_DIR.
Referenced by getPlayer().
Here is the caller graph for this function:| ilSCORM13Player::getDataDirectory2 | ( | ) |
Definition at line 2105 of file ilSCORM13Player.php.
References ILIAS_WEB_DIR.
|
private |
Definition at line 2231 of file ilSCORM13Player.php.
Referenced by getPlayer().
Here is the caller graph for this function:| ilSCORM13Player::getInlineCSS | ( | ) |
Get inline css.
Definition at line 409 of file ilSCORM13Player.php.
References ilUtil\getImagePath().
Here is the call graph for this function:
|
private |
Definition at line 2147 of file ilSCORM13Player.php.
|
private |
Definition at line 2226 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 1621 of file ilSCORM13Player.php.
References $filename, and $mimetypes.
|
private |
Definition at line 1892 of file ilSCORM13Player.php.
References $ilDB, $ilLog, $res, and $row.
| ilSCORM13Player::getPlayer | ( | ) |
Definition at line 275 of file ilSCORM13Player.php.
References $_GET, $config, $ilias, $ilSetting, $lng, exit, get_actual_attempts(), get_max_attempts(), getDataDirectory(), getDebugValues(), ilYuiUtil\getLocalPath(), getScope(), ilUtil\getStyleSheetLocation(), increase_attempt(), resetSharedData(), and save_module_version().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13Player::getRTEjs | ( | ) |
Definition at line 252 of file ilSCORM13Player.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::getScope | ( | ) |
Definition at line 486 of file ilSCORM13Player.php.
References $data, $ilDB, $packageId, and $res.
Referenced by getPlayer().
Here is the caller graph for this function:
|
private |
Definition at line 2543 of file ilSCORM13Player.php.
References $data.
| ilSCORM13Player::getSuspendData | ( | ) |
Definition at line 506 of file ilSCORM13Player.php.
References $data, $ilDB, and $res.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::increase_attempt | ( | ) |
Increases attempts by one for this package.
Definition at line 1756 of file ilSCORM13Player.php.
References $ilDB, $res, and $row.
Referenced by getPlayer().
Here is the caller graph for this function:| ilSCORM13Player::liveLogContent | ( | ) |
Definition at line 2177 of file ilSCORM13Player.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
private |
Definition at line 2113 of file ilSCORM13Player.php.
References ilUtil\makeDir().
Here is the call graph for this function:
|
private |
Definition at line 1949 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 1106 of file ilSCORM13Player.php.
| ilSCORM13Player::openLog | ( | ) |
Definition at line 2125 of file ilSCORM13Player.php.
References $_GET, $filename, and exit.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::persistCMIData | ( | $data = null | ) |
Definition at line 1077 of file ilSCORM13Player.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::pingSession | ( | ) |
Definition at line 479 of file ilSCORM13Player.php.
| ilSCORM13Player::postLogEntry | ( | ) |
Definition at line 2262 of file ilSCORM13Player.php.
References $filename, $ilLog, $lng, $path, and $timestamp.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::quoteJSONArray | ( | $a_array | ) |
Definition at line 1593 of file ilSCORM13Player.php.
References $ilDB.
| 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 1651 of file ilSCORM13Player.php.
References $path.
| ilSCORM13Player::readGObjective | ( | ) |
Definition at line 570 of file ilSCORM13Player.php.
References $ilDB, $ilLog, $query, $res, and $row.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::readSharedData | ( | $sco_node_id | ) |
Definition at line 858 of file ilSCORM13Player.php.
References $ilDB, $query, $res, $row, and exit.
Referenced by executeCommand().
Here is the caller graph for this function:
|
private |
Definition at line 1244 of file ilSCORM13Player.php.
References $ilDB, $ilLog, and ilLPStatusWrapper\_updateStatus().
Here is the call graph for this function:| ilSCORM13Player::resetSharedData | ( | ) |
Definition at line 1809 of file ilSCORM13Player.php.
Referenced by getPlayer().
Here is the caller graph for this function:| ilSCORM13Player::save_module_version | ( | ) |
save the active module version to scorm_tracking
Definition at line 1851 of file ilSCORM13Player.php.
Referenced by getPlayer().
Here is the caller graph for this function:
|
private |
Definition at line 1367 of file ilSCORM13Player.php.
References $data, $ilDB, $ilLog, $result, $ret, $row, ilSCORM2004Tracking\_syncReadEvent(), and ilLPStatusWrapper\_updateStatus().
Here is the call graph for this function:| ilSCORM13Player::setCookie | ( | $cook | ) |
Definition at line 1640 of file ilSCORM13Player.php.
| ilSCORM13Player::specialPage | ( | ) |
Definition at line 1033 of file ilSCORM13Player.php.
References $lng, and ilUtil\getStyleSheetLocation().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1928 of file ilSCORM13Player.php.
References $filename.
| ilSCORM13Player::suspendADLActData | ( | ) |
Definition at line 538 of file ilSCORM13Player.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::writeGObjective | ( | ) |
Definition at line 666 of file ilSCORM13Player.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13Player::writeSharedData | ( | $sco_node_id | ) |
Definition at line 952 of file ilSCORM13Player.php.
References $ilDB, $query, $res, and $row.
Referenced by executeCommand().
Here is the caller graph for this function:| 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().
|
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.