|
ILIAS
Release_4_2_x_branch Revision 61807
|
Collaboration diagram for ilSCORM13Package:Public Member Functions | |
| __construct ($packageId=null) | |
| load ($packageId) | |
| rollback () | |
| exportZIP () | |
| exportXML () | |
| Export as internal XML. | |
| il_import ($packageFolder, $packageId, $ilias, $validate, $reimport=false) | |
| Imports an extracted SCORM 2004 module from ilias-data dir into database. | |
| il_importSco ($packageId, $sco_id, $packageFolder) | |
| Imports an extracted SCORM 2004 module from ilias-data dir into database. | |
| il_importAss ($packageId, $sco_id, $packageFolder) | |
| Imports an extracted SCORM 2004 module from ilias-data dir into database. | |
| il_importLM ($slm, $packageFolder, $a_import_sequencing=false) | |
| importGlossary ($slm, $packageFolder) | |
| dbImportLM ($node, $parent_id="", $a_import_sequencing=false) | |
| setSequencingInfo ($a_node, $a_seq_info, $a_import_sequencing, $a_fix_obj_id="") | |
| Save sequencing ingo. | |
| jsonNode ($node, &$sink) | |
| Helper for UploadAndImport Recursively copies values from XML into PHP array for export as json Elements are translated into sub array, attributes into literals. | |
| dbImportSco ($slm, $sco, $asset=false) | |
| dbImport ($node, &$lft=1, $depth=1, $parent=0) | |
| dbAddNew () | |
| add new sahs and package record | |
| removeCMIData () | |
| removeCPData () | |
| dbRemoveAll () | |
| transform ($inputdoc, $xslfile, $outputpath=null) | |
| validate ($doc, $schema) | |
Static Public Member Functions | |
| static | _removeTrackingDataForUser ($user_id) |
Data Fields | |
| const | DB_ENCODE_XSL = './Modules/Scorm2004/templates/xsl/op/op-scorm13.xsl' |
| const | CONVERT_XSL = './Modules/Scorm2004/templates/xsl/op/scorm12To2004.xsl' |
| const | DB_DECODE_XSL = './Modules/Scorm2004/templates/xsl/op/op-scorm13-revert.xsl' |
| const | VALIDATE_XSD = './Modules/Scorm2004/templates/xsd/op/op-scorm13.xsd' |
| const | WRAPPER_HTML = './Modules/Scorm2004/scripts/converter/GenericRunTimeWrapper1.0_aadlc/GenericRunTimeWrapper.htm' |
| const | WRAPPER_JS = './Modules/Scorm2004/scripts/converter/GenericRunTimeWrapper1.0_aadlc/SCOPlayerWrapper.js' |
| $imsmanifest | |
| $manifest | |
| $diagnostic | |
| $status | |
| $packageId | |
| $packageName | |
| $packageHash | |
| $userId | |
Private Member Functions | |
| setProgress ($progress, $msg= '') | |
Private Attributes | |
| $packageFile | |
| $packageFolder | |
| $packagesFolder | |
| $packageData | |
| $slm | |
| $slm_tree | |
| $idmap = array() | |
| $progress = 0.0 | |
Static Private Attributes | |
| static | $elements |
Definition at line 18 of file ilSCORM13Package.php.
| ilSCORM13Package::__construct | ( | $packageId = null | ) |
Definition at line 74 of file ilSCORM13Package.php.
References $GLOBALS, $packageId, and load().
Here is the call graph for this function:
|
static |
Definition at line 1311 of file ilSCORM13Package.php.
References $data, $ilDB, $query, and $res.
Referenced by ilObjUser\delete().
Here is the caller graph for this function:| ilSCORM13Package::dbAddNew | ( | ) |
add new sahs and package record
Definition at line 1110 of file ilSCORM13Package.php.
References $ilDB.
| ilSCORM13Package::dbImport | ( | $node, | |
| & | $lft = 1, |
||
$depth = 1, |
|||
$parent = 0 |
|||
| ) |
Definition at line 898 of file ilSCORM13Package.php.
References $ilDB, $packageId, $query, and $res.
Referenced by il_import().
Here is the caller graph for this function:| ilSCORM13Package::dbImportLM | ( | $node, | |
$parent_id = "", |
|||
$a_import_sequencing = false |
|||
| ) |
Definition at line 482 of file ilSCORM13Package.php.
References ilSCORM2004Node\putInTree(), setSequencingInfo(), ilTree\setTreeTablePK(), and ilSaxParser\startParsing().
Referenced by il_importLM().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13Package::dbImportSco | ( | $slm, | |
| $sco, | |||
$asset = false |
|||
| ) |
Definition at line 670 of file ilSCORM13Package.php.
References $d, $filename, $n, $path, $result, $slm, $t, ilObjMediaObject\_getDirectory(), ilUtil\getDir(), ilObjMediaObject\getMimeType(), IL_EXT_LINK, IL_MO_PARSE_QTI, IL_MO_VERIFY_QTI, ilSCORM2004Node\putInTree(), ilUtil\rCopy(), ilFileUtils\recursive_dirscan(), ilUtil\renameExecutables(), ilSaxParser\startParsing(), ilUtil\stripSlashes(), and ilFileUtils\utf8_encode().
Referenced by il_importAss(), and il_importSco().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13Package::dbRemoveAll | ( | ) |
Definition at line 1253 of file ilSCORM13Package.php.
References removeCMIData(), and removeCPData().
Referenced by il_import(), and rollback().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13Package::exportXML | ( | ) |
Export as internal XML.
Definition at line 124 of file ilSCORM13Package.php.
References $ilDB, $res, and $row.
| ilSCORM13Package::exportZIP | ( | ) |
Definition at line 114 of file ilSCORM13Package.php.
| ilSCORM13Package::il_import | ( | $packageFolder, | |
| $packageId, | |||
| $ilias, | |||
| $validate, | |||
$reimport = false |
|||
| ) |
Imports an extracted SCORM 2004 module from ilias-data dir into database.
public
Definition at line 149 of file ilSCORM13Package.php.
References $ilDB, $ilErr, $ilLog, $n, $packageFolder, $packageId, $path, $res, ilObject\_lookupType(), dbImport(), dbRemoveAll(), jsonNode(), transform(), and validate().
Here is the call graph for this function:| ilSCORM13Package::il_importAss | ( | $packageId, | |
| $sco_id, | |||
| $packageFolder | |||
| ) |
Imports an extracted SCORM 2004 module from ilias-data dir into database.
public
Definition at line 352 of file ilSCORM13Package.php.
References $ilDB, $ilLog, $packageFolder, $packageId, $slm, and dbImportSco().
Here is the call graph for this function:| ilSCORM13Package::il_importLM | ( | $slm, | |
| $packageFolder, | |||
$a_import_sequencing = false |
|||
| ) |
Definition at line 415 of file ilSCORM13Package.php.
References $ilDB, $ilLog, $packageFolder, $slm, dbImportLM(), and importGlossary().
Here is the call graph for this function:| ilSCORM13Package::il_importSco | ( | $packageId, | |
| $sco_id, | |||
| $packageFolder | |||
| ) |
Imports an extracted SCORM 2004 module from ilias-data dir into database.
public
Definition at line 285 of file ilSCORM13Package.php.
References $ilDB, $ilLog, $packageFolder, $packageId, $slm, and dbImportSco().
Here is the call graph for this function:| ilSCORM13Package::importGlossary | ( | $slm, | |
| $packageFolder | |||
| ) |
Definition at line 451 of file ilSCORM13Package.php.
References $_GET, $packageFolder, and $slm.
Referenced by il_importLM().
Here is the caller graph for this function:| ilSCORM13Package::jsonNode | ( | $node, | |
| & | $sink | ||
| ) |
Helper for UploadAndImport Recursively copies values from XML into PHP array for export as json Elements are translated into sub array, attributes into literals.
| xml | element to process |
| reference | to array object where to copy values |
Definition at line 653 of file ilSCORM13Package.php.
Referenced by il_import().
Here is the caller graph for this function:| ilSCORM13Package::load | ( | $packageId | ) |
Definition at line 81 of file ilSCORM13Package.php.
References $ilDB, and $packageId.
Referenced by __construct().
Here is the caller graph for this function:| ilSCORM13Package::removeCMIData | ( | ) |
Definition at line 1135 of file ilSCORM13Package.php.
References $data, $ilDB, $query, $res, and ilLPStatusWrapper\_refreshStatus().
Referenced by dbRemoveAll().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM13Package::removeCPData | ( | ) |
Definition at line 1206 of file ilSCORM13Package.php.
References $data, $ilDB, $ilLog, $in, $res, and $t.
Referenced by dbRemoveAll().
Here is the caller graph for this function:| ilSCORM13Package::rollback | ( | ) |
Definition at line 103 of file ilSCORM13Package.php.
References dbRemoveAll(), and setProgress().
Here is the call graph for this function:
|
private |
Definition at line 639 of file ilSCORM13Package.php.
References $progress.
Referenced by rollback().
Here is the caller graph for this function:| ilSCORM13Package::setSequencingInfo | ( | $a_node, | |
| $a_seq_info, | |||
| $a_import_sequencing, | |||
$a_fix_obj_id = "" |
|||
| ) |
Save sequencing ingo.
| @return |
Definition at line 621 of file ilSCORM13Package.php.
Referenced by dbImportLM().
Here is the caller graph for this function:| ilSCORM13Package::transform | ( | $inputdoc, | |
| $xslfile, | |||
$outputpath = null |
|||
| ) |
Definition at line 1260 of file ilSCORM13Package.php.
Referenced by il_import().
Here is the caller graph for this function:| ilSCORM13Package::validate | ( | $doc, | |
| $schema | |||
| ) |
Definition at line 1285 of file ilSCORM13Package.php.
Referenced by il_import().
Here is the caller graph for this function:| ilSCORM13Package::$diagnostic |
Definition at line 39 of file ilSCORM13Package.php.
|
staticprivate |
Definition at line 49 of file ilSCORM13Package.php.
|
private |
Definition at line 46 of file ilSCORM13Package.php.
| ilSCORM13Package::$imsmanifest |
Definition at line 37 of file ilSCORM13Package.php.
| ilSCORM13Package::$manifest |
Definition at line 38 of file ilSCORM13Package.php.
|
private |
Definition at line 33 of file ilSCORM13Package.php.
|
private |
Definition at line 30 of file ilSCORM13Package.php.
|
private |
Definition at line 31 of file ilSCORM13Package.php.
Referenced by il_import(), il_importAss(), il_importLM(), il_importSco(), and importGlossary().
| ilSCORM13Package::$packageHash |
Definition at line 43 of file ilSCORM13Package.php.
| ilSCORM13Package::$packageId |
Definition at line 41 of file ilSCORM13Package.php.
Referenced by __construct(), dbImport(), il_import(), il_importAss(), il_importSco(), and load().
| ilSCORM13Package::$packageName |
Definition at line 42 of file ilSCORM13Package.php.
|
private |
Definition at line 32 of file ilSCORM13Package.php.
|
private |
Definition at line 47 of file ilSCORM13Package.php.
Referenced by setProgress().
|
private |
Definition at line 34 of file ilSCORM13Package.php.
Referenced by dbImportSco(), il_importAss(), il_importLM(), il_importSco(), and importGlossary().
|
private |
Definition at line 35 of file ilSCORM13Package.php.
| ilSCORM13Package::$status |
Definition at line 40 of file ilSCORM13Package.php.
| ilSCORM13Package::$userId |
Definition at line 44 of file ilSCORM13Package.php.
| const ilSCORM13Package::CONVERT_XSL = './Modules/Scorm2004/templates/xsl/op/scorm12To2004.xsl' |
Definition at line 22 of file ilSCORM13Package.php.
| const ilSCORM13Package::DB_DECODE_XSL = './Modules/Scorm2004/templates/xsl/op/op-scorm13-revert.xsl' |
Definition at line 23 of file ilSCORM13Package.php.
| const ilSCORM13Package::DB_ENCODE_XSL = './Modules/Scorm2004/templates/xsl/op/op-scorm13.xsl' |
Definition at line 21 of file ilSCORM13Package.php.
| const ilSCORM13Package::VALIDATE_XSD = './Modules/Scorm2004/templates/xsd/op/op-scorm13.xsd' |
Definition at line 24 of file ilSCORM13Package.php.
| const ilSCORM13Package::WRAPPER_HTML = './Modules/Scorm2004/scripts/converter/GenericRunTimeWrapper1.0_aadlc/GenericRunTimeWrapper.htm' |
Definition at line 26 of file ilSCORM13Package.php.
| const ilSCORM13Package::WRAPPER_JS = './Modules/Scorm2004/scripts/converter/GenericRunTimeWrapper1.0_aadlc/SCOPlayerWrapper.js' |
Definition at line 27 of file ilSCORM13Package.php.