|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ilSCORM13PlayerGUI:Public Member Functions | |
| __construct () | |
| executeCommand () | |
| execute command More... | |
| getRTEjs () | |
| getDataDirectory () | |
| getConfigForPlayer () | |
| getPlayer () | |
| getCPData () | |
| getCPDataInit () | |
| getADLActDataInit () | |
| getADLActData () | |
| pingSession () | |
| getScope () | |
| getSuspendDataInit () | |
| getSuspendData () | |
| suspendADLActData () | |
| readGObjectiveInit () | |
| readGObjective () | |
| readSharedData (int $sco_node_id) | |
| writeSharedData (int $sco_node_id) | |
| specialPage () | |
| fetchCMIData () | |
| getCMIData (int $userId, int $packageId) | |
| maps API data structure type to internal datatype on a node and accepts only valid values, dropping invalid ones from input More... | |
| quoteJSONArray (?array $a_array) | |
| get_Module_Version () | |
| 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_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 () |
Data Fields | |
| const | ENABLE_GZIP = 0 |
| const | NONE = 0 |
| const | READONLY = 1 |
| const | WRITEONLY = 2 |
| const | READWRITE = 3 |
| int | $packageId |
| bool | $jsMode |
| ilObjSCORM2004LearningModule | $slm |
| ilGlobalTemplate | $tpl |
| int | $ref_id |
| ilCtrl | $ctrl |
Protected Attributes | |
| ilLanguage | $lng |
| string | $page = "" |
Private Member Functions | |
| getNodeData (string $sco_id) | |
| logTmpName () | |
| summaryFileName () | |
| logFileName () | |
| logDirectory () | |
| getLogFileList (string $s_delete, string $s_download, string $s_open) | |
| getLogTemplate () | |
| getDebugValues (?bool $test_sco=false) | |
| getStructureFlat (array $data) | |
| createSummary (array $api_data) | |
Private Attributes | |
| int | $userId |
| array | $flat_structure |
Static Private Attributes | |
| static array | $schema |
Definition at line 30 of file class.ilSCORM13PlayerGUI.php.
| ilSCORM13PlayerGUI::__construct | ( | ) |
Definition at line 149 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, $DIC, ilObject\_lookupObjectId(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 2071 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $id, $ilDB, $res, $structure, getStructureFlat(), logTmpName(), and summaryFileName().
Referenced by postLogEntry().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::debugGUI | ( | ) |
Definition at line 1653 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $lng, ilYuiUtil\getLocalPath(), getLogFileList(), ilLanguage\loadLanguageModule(), logFileName(), and ilLanguage\txt().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::downloadLog | ( | ) |
Definition at line 1595 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, exit, ILIAS\UI\examples\Symbol\Glyph\Header\header(), logDirectory(), and ilUtil\stripSlashes().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::executeCommand | ( | ) |
execute command
Definition at line 172 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, $DIC, $ilErr, $userId, ILIAS\Repository\ctrl(), debugGUI(), downloadLog(), fetchCMIData(), getADLActData(), getCPData(), getPlayer(), getRTEjs(), getSuspendData(), liveLogContent(), openLog(), ilSCORM2004StoreData\persistCMIData(), pingSession(), postLogEntry(), readGObjective(), readSharedData(), ilSCORM2004StoreData\scormPlayerUnload(), specialPage(), suspendADLActData(), ilLanguage\txt(), and writeSharedData().
Here is the call graph for this function:| ilSCORM13PlayerGUI::fetchCMIData | ( | ) |
Definition at line 1005 of file class.ilSCORM13PlayerGUI.php.
References $data, getCMIData(), and ILIAS\UI\examples\Symbol\Glyph\Header\header().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 1252 of file class.ilSCORM13PlayerGUI.php.
Referenced by getLogFileList(), logFileName(), and summaryFileName().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::get_Module_Version | ( | ) |
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 1234 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $res.
| ilSCORM13PlayerGUI::getADLActData | ( | ) |
Definition at line 588 of file class.ilSCORM13PlayerGUI.php.
References getADLActDataInit(), and ILIAS\UI\examples\Symbol\Glyph\Header\header().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getADLActDataInit | ( | ) |
Definition at line 568 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, and $res.
Referenced by getADLActData(), and getPlayer().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getCMIData | ( | int | $userId, |
| int | $packageId | ||
| ) |
maps API data structure type to internal datatype on a node and accepts only valid values, dropping invalid ones from input
Definition at line 1036 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $q, and $res.
Referenced by fetchCMIData(), and getPlayer().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getConfigForPlayer | ( | ) |
Definition at line 310 of file class.ilSCORM13PlayerGUI.php.
References $DIC, getScope(), and ilObjSCORMInitData\getStatus().
Referenced by getPlayer().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getCPData | ( | ) |
Definition at line 534 of file class.ilSCORM13PlayerGUI.php.
References getCPDataInit(), and ILIAS\UI\examples\Symbol\Glyph\Header\header().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getCPDataInit | ( | ) |
Definition at line 547 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $res.
Referenced by getCPData(), and getPlayer().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getDataDirectory | ( | ) |
Definition at line 298 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, CLIENT_ID, and ILIAS_WEB_DIR.
Referenced by getPlayer(), and pingSession().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getDataDirectory2 | ( | ) |
Definition at line 1565 of file class.ilSCORM13PlayerGUI.php.
References $_SERVER, $packageId, CLIENT_ID, and ILIAS_WEB_DIR.
|
private |
Definition at line 1702 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and ilLoggerFactory\getLogger().
Referenced by getPlayer(), and postLogEntry().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 520 of file class.ilSCORM13PlayerGUI.php.
References ilUtil\getImagePath().
Here is the call graph for this function:
|
private |
Definition at line 1615 of file class.ilSCORM13PlayerGUI.php.
References $data, $parts, get_actual_attempts(), and logDirectory().
Referenced by debugGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1694 of file class.ilSCORM13PlayerGUI.php.
Referenced by logFileName(), and postLogEntry().
Here is the caller graph for this function:
|
private |
Definition at line 1345 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $res, and ilLoggerFactory\getLogger().
Referenced by postLogEntry().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getPlayer | ( | ) |
Definition at line 355 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilSetting, $ref_id, CLIENT_ID, ilSessionControl\DEFAULT_MIN_IDLE, getADLActDataInit(), getCMIData(), getConfigForPlayer(), ilWACSignedPath\getCookieMaxLifetimeInSeconds(), getCPDataInit(), getDataDirectory(), getDebugValues(), ilSession\getIdleValue(), iljQueryUtil\getLocaljQueryPath(), ilUtil\getStyleSheetLocation(), getSuspendDataInit(), increase_attemptAndsave_module_version(), ILIAS\Repository\int(), readGObjectiveInit(), resetSharedData(), ilWACSignedPath\signFolderOfStartFile(), and ilLanguage\txt().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getRTEjs | ( | ) |
Definition at line 287 of file class.ilSCORM13PlayerGUI.php.
References ILIAS\UI\examples\Symbol\Glyph\Header\header().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getScope | ( | ) |
Definition at line 609 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, and $res.
Referenced by getConfigForPlayer().
Here is the caller graph for this function:
|
private |
Definition at line 2051 of file class.ilSCORM13PlayerGUI.php.
Referenced by createSummary().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getSuspendData | ( | ) |
Definition at line 657 of file class.ilSCORM13PlayerGUI.php.
References getSuspendDataInit(), and ILIAS\UI\examples\Symbol\Glyph\Header\header().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::getSuspendDataInit | ( | ) |
Definition at line 632 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, and $res.
Referenced by getPlayer(), and getSuspendData().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::increase_attemptAndsave_module_version | ( | ) |
Increases attempts by one and saves module_version for this package.
Definition at line 1273 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $res.
Referenced by getPlayer().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::liveLogContent | ( | ) |
Definition at line 1647 of file class.ilSCORM13PlayerGUI.php.
References ILIAS\UI\examples\Symbol\Glyph\Header\header(), and logFileName().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1573 of file class.ilSCORM13PlayerGUI.php.
References ilFileUtils\makeDir().
Referenced by downloadLog(), getLogFileList(), logFileName(), logTmpName(), openLog(), postLogEntry(), and summaryFileName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1404 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, $lng, get_actual_attempts(), getLogTemplate(), ilLanguage\loadLanguageModule(), logDirectory(), logTmpName(), and ilLanguage\txt().
Referenced by debugGUI(), liveLogContent(), and postLogEntry().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1371 of file class.ilSCORM13PlayerGUI.php.
References $filename, and logDirectory().
Referenced by createSummary(), logFileName(), and postLogEntry().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::openLog | ( | ) |
Definition at line 1584 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, exit, ILIAS\UI\examples\Symbol\Glyph\Header\header(), logDirectory(), and ilUtil\stripSlashes().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::pingSession | ( | ) |
Definition at line 601 of file class.ilSCORM13PlayerGUI.php.
References getDataDirectory(), ILIAS\UI\examples\Symbol\Glyph\Header\header(), and ilWACSignedPath\signFolderOfStartFile().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::postLogEntry | ( | ) |
Definition at line 1735 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $filename, $lng, $path, $timestamp, createSummary(), getDebugValues(), ilLoggerFactory\getLogger(), getLogTemplate(), getNodeData(), if, ILIAS\Repository\int(), ilLanguage\loadLanguageModule(), logDirectory(), logFileName(), logTmpName(), and ilLanguage\txt().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::quoteJSONArray | ( | ?array | $a_array | ) |
| ilSCORM13PlayerGUI::readGObjective | ( | ) |
Definition at line 787 of file class.ilSCORM13PlayerGUI.php.
References ILIAS\UI\examples\Symbol\Glyph\Header\header(), and readGObjectiveInit().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::readGObjectiveInit | ( | ) |
Definition at line 702 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, $packageId, $res, and $scope.
Referenced by getPlayer(), and readGObjective().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::readSharedData | ( | int | $sco_node_id | ) |
Definition at line 802 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, $params, $res, exit, and ILIAS\UI\examples\Symbol\Glyph\Header\header().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::resetSharedData | ( | ) |
Definition at line 1305 of file class.ilSCORM13PlayerGUI.php.
References $data, $DIC, $ilDB, and $res.
Referenced by getPlayer().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::specialPage | ( | ) |
Definition at line 974 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $lng, ilUtil\getStyleSheetLocation(), and ilLanguage\txt().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1383 of file class.ilSCORM13PlayerGUI.php.
References $filename, get_actual_attempts(), and logDirectory().
Referenced by createSummary().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13PlayerGUI::suspendADLActData | ( | ) |
Definition at line 670 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $ilDB, and $res.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSCORM13PlayerGUI::writeSharedData | ( | int | $sco_node_id | ) |
Definition at line 891 of file class.ilSCORM13PlayerGUI.php.
References $DIC, $id, $ilDB, $res, and exit.
Referenced by executeCommand().
Here is the caller graph for this function:| ilCtrl ilSCORM13PlayerGUI::$ctrl |
Definition at line 145 of file class.ilSCORM13PlayerGUI.php.
|
private |
Definition at line 138 of file class.ilSCORM13PlayerGUI.php.
| bool ilSCORM13PlayerGUI::$jsMode |
Definition at line 140 of file class.ilSCORM13PlayerGUI.php.
|
protected |
Definition at line 146 of file class.ilSCORM13PlayerGUI.php.
Referenced by debugGUI(), logFileName(), postLogEntry(), and specialPage().
| int ilSCORM13PlayerGUI::$packageId |
Definition at line 139 of file class.ilSCORM13PlayerGUI.php.
Referenced by getDataDirectory2(), and readGObjectiveInit().
|
protected |
Definition at line 147 of file class.ilSCORM13PlayerGUI.php.
| int ilSCORM13PlayerGUI::$ref_id |
Definition at line 144 of file class.ilSCORM13PlayerGUI.php.
Referenced by getPlayer().
|
staticprivate |
Definition at line 42 of file class.ilSCORM13PlayerGUI.php.
| ilObjSCORM2004LearningModule ilSCORM13PlayerGUI::$slm |
Definition at line 142 of file class.ilSCORM13PlayerGUI.php.
| ilGlobalTemplate ilSCORM13PlayerGUI::$tpl |
Definition at line 143 of file class.ilSCORM13PlayerGUI.php.
|
private |
Definition at line 137 of file class.ilSCORM13PlayerGUI.php.
Referenced by executeCommand().
| const ilSCORM13PlayerGUI::ENABLE_GZIP = 0 |
Definition at line 32 of file class.ilSCORM13PlayerGUI.php.
| const ilSCORM13PlayerGUI::NONE = 0 |
Definition at line 34 of file class.ilSCORM13PlayerGUI.php.
| const ilSCORM13PlayerGUI::READONLY = 1 |
Definition at line 35 of file class.ilSCORM13PlayerGUI.php.
| const ilSCORM13PlayerGUI::READWRITE = 3 |
Definition at line 37 of file class.ilSCORM13PlayerGUI.php.
| const ilSCORM13PlayerGUI::WRITEONLY = 2 |
Definition at line 36 of file class.ilSCORM13PlayerGUI.php.