| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Collaboration diagram for ilSCORM13Player:
 Collaboration diagram for ilSCORM13Player:| Public Member Functions | |
| __construct () | |
| & | executeCommand () | 
| execute command | |
| getRTEjs () | |
| getDataDirectory () | |
| getPlayer () | |
| getCPData () | |
| getADLActData () | |
| pingSession () | |
| getScope () | |
| getSuspendData () | |
| suspendADLActData () | |
| readGObjective () | |
| writeGObjective () | |
| 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. | |
| save_module_version () | |
| save the active module version to scorm_tracking | |
| Data Fields | |
| const | ENABLE_GZIP = 0 | 
| const | ENABLE_JS_DEBUG = 1 | 
| 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) | |
| Private Attributes | |
| $userId | |
| Static Private Attributes | |
| static | $schema | 
Definition at line 13 of file ilSCORM13Player.php.
| ilSCORM13Player::__construct | ( | ) | 
Definition at line 128 of file ilSCORM13Player.php.
References $_GET, $_REQUEST, $GLOBALS, $ilCtrl, $ilias, $lng, $tpl, and ilObject\_lookupObjectId().
 Here is the call graph for this function:
 Here is the call graph for this function:| & ilSCORM13Player::executeCommand | ( | ) | 
execute command
Definition at line 165 of file ilSCORM13Player.php.
References $_GET, $cmd, $ilias, $ilLog, $lng, fetchCMIData(), getADLActData(), getCPData(), getPlayer(), getRTEjs(), getSuspendData(), persistCMIData(), readGObjective(), specialPage(), suspendADLActData(), and writeGObjective().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORM13Player::fetchCMIData | ( | ) | 
Definition at line 753 of file ilSCORM13Player.php.
References $data.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::get_actual_attempts | ( | ) | 
Get number of actual attempts for the user.
Definition at line 1396 of file ilSCORM13Player.php.
References $ilDB, $res, and $row.
Referenced by getPlayer().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::get_max_attempts | ( | ) | 
Get max.
number of attempts allowed for this package
Definition at line 1366 of file ilSCORM13Player.php.
References $ilDB, $res, and $row.
Referenced by getPlayer().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::get_module_version | ( | ) | 
| ilSCORM13Player::getADLActData | ( | ) | 
Definition at line 384 of file ilSCORM13Player.php.
References $data, $ilDB, and $res.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 808 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 1299 of file ilSCORM13Player.php.
References $_COOKIE.
| ilSCORM13Player::getCPData | ( | ) | 
Definition at line 358 of file ilSCORM13Player.php.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::getDataDirectory | ( | ) | 
Definition at line 250 of file ilSCORM13Player.php.
References ILIAS_WEB_DIR.
Referenced by getPlayer().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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 1285 of file ilSCORM13Player.php.
References $filename, and $mimetypes.
| ilSCORM13Player::getPlayer | ( | ) | 
Definition at line 260 of file ilSCORM13Player.php.
References $_GET, $config, $ilias, $ilSetting, $lng, exit, get_actual_attempts(), get_max_attempts(), getDataDirectory(), ilUtil\getImagePath(), ilYuiUtil\getLocalPath(), getScope(), ilUtil\getStyleSheetLocation(), increase_attempt(), and save_module_version().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::getRTEjs | ( | ) | 
Definition at line 231 of file ilSCORM13Player.php.
References $filename.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::getScope | ( | ) | 
Definition at line 421 of file ilSCORM13Player.php.
References $data, $ilDB, $packageId, and $res.
Referenced by getPlayer().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::getSuspendData | ( | ) | 
Definition at line 441 of file ilSCORM13Player.php.
References $data, $ilDB, and $res.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::increase_attempt | ( | ) | 
Increases attempts by one for this package.
Definition at line 1420 of file ilSCORM13Player.php.
References $ilDB, $res, and $row.
Referenced by getPlayer().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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 795 of file ilSCORM13Player.php.
| ilSCORM13Player::persistCMIData | ( | $data = null | ) | 
Definition at line 768 of file ilSCORM13Player.php.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::pingSession | ( | ) | 
Definition at line 414 of file ilSCORM13Player.php.
| ilSCORM13Player::quoteJSONArray | ( | $a_array | ) | 
Definition at line 1257 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 1315 of file ilSCORM13Player.php.
References $path.
| ilSCORM13Player::readGObjective | ( | ) | 
Definition at line 505 of file ilSCORM13Player.php.
References $ilDB, $query, $res, and $row.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 906 of file ilSCORM13Player.php.
References $ilDB, $ilLog, and ilLPStatusWrapper\_updateStatus().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORM13Player::save_module_version | ( | ) | 
save the active module version to scorm_tracking
Definition at line 1474 of file ilSCORM13Player.php.
Referenced by getPlayer().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 1023 of file ilSCORM13Player.php.
References $data, $ilDB, $ilLog, $result, $ret, $row, ilSCORM2004Tracking\_syncReadEvent(), and ilLPStatusWrapper\_updateStatus().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORM13Player::setCookie | ( | $cook | ) | 
Definition at line 1304 of file ilSCORM13Player.php.
| ilSCORM13Player::specialPage | ( | ) | 
Definition at line 724 of file ilSCORM13Player.php.
References $lng, and ilUtil\getStyleSheetLocation().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::suspendADLActData | ( | ) | 
Definition at line 473 of file ilSCORM13Player.php.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::writeGObjective | ( | ) | 
Definition at line 564 of file ilSCORM13Player.php.
References $ilDB, $ilLog, $res, and $user.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM13Player::$ilias | 
Definition at line 124 of file ilSCORM13Player.php.
Referenced by __construct(), executeCommand(), and getPlayer().
| ilSCORM13Player::$jsMode | 
Definition at line 122 of file ilSCORM13Player.php.
| ilSCORM13Player::$packageId | 
Definition at line 121 of file ilSCORM13Player.php.
Referenced by getScope().
| 
 | staticprivate | 
Definition at line 25 of file ilSCORM13Player.php.
| ilSCORM13Player::$slm | 
Definition at line 125 of file ilSCORM13Player.php.
| ilSCORM13Player::$tpl | 
Definition at line 126 of file ilSCORM13Player.php.
Referenced by __construct().
| 
 | private | 
Definition at line 120 of file ilSCORM13Player.php.
| const ilSCORM13Player::ENABLE_GZIP = 0 | 
Definition at line 16 of file ilSCORM13Player.php.
| const ilSCORM13Player::ENABLE_JS_DEBUG = 1 | 
Definition at line 18 of file ilSCORM13Player.php.
| const ilSCORM13Player::NONE = 0 | 
Definition at line 20 of file ilSCORM13Player.php.
| const ilSCORM13Player::READONLY = 1 | 
Definition at line 21 of file ilSCORM13Player.php.
| const ilSCORM13Player::READWRITE = 3 | 
Definition at line 23 of file ilSCORM13Player.php.
| const ilSCORM13Player::WRITEONLY = 2 | 
Definition at line 22 of file ilSCORM13Player.php.