|
ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilSCORM2004Sco. More...
Inheritance diagram for ilSCORM2004Sco:
Collaboration diagram for ilSCORM2004Sco:Public Member Functions | |
| ilSCORM2004Sco ($a_slm_object, $a_id=0) | |
| Constructor public. | |
| delete ($a_delete_meta_data=true) | |
| Delete a SCO. | |
| create ($a_upload=false, $a_template=false) | |
| overwritten method | |
| copy ($a_target_slm) | |
| Copy sco. | |
| exportScorm ($a_inst, $a_target_dir, $ver, &$expLog) | |
| exportHTML ($a_inst, $a_target_dir, &$expLog) | |
| exportHTML4PDF ($a_inst, $a_target_dir, &$expLog) | |
| exportHTMLPageObjects ($a_inst, $a_target_dir, &$expLog, $mode) | |
| exportXMLPageObjects ($a_target_dir, &$a_xml_writer, $a_inst, &$expLog) | |
| exportXMLMediaObjects (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | |
| exportFileItems ($a_target_dir, &$expLog) | |
| export files of file itmes | |
| exportXMLMetaData (&$a_xml_writer) | |
| getExportFiles () | |
Public Member Functions inherited from ilSCORM2004Node | |
| ilSCORM2004Node ($a_slm_object, $a_id=0) | |
| setTitle ($a_title) | |
| Set title. | |
| getTitle () | |
| Get title. | |
| setDescription ($a_description) | |
| Set description. | |
| getDescription () | |
| Get description. | |
| setType ($a_type) | |
| Set type. | |
| getType () | |
| Get type. | |
| setSLMId ($a_slm_id) | |
| Set ID of parent Scorm Learning Module Object. | |
| getSLMId () | |
| Get ID of parent Scorm Learning Module Object. | |
| setSLMObject ($a_slm_obj) | |
| Set Scorm Learning Module Object. | |
| getContentObject () | |
| Get Scorm Learning Module Object. | |
| setId ($a_id) | |
| Set Node ID. | |
| getId () | |
| Get Node ID. | |
| getImportId () | |
| Set Import ID. | |
| setImportId ($a_id) | |
| Get Import ID. | |
| read () | |
| Read Data of Node. | |
| MDUpdateListener ($a_element) | |
| Meta data update listener. | |
| createMetaData () | |
| create meta data entry | |
| updateMetaData () | |
| update meta data entry | |
| deleteMetaData () | |
| delete meta data entry | |
| setDataRecord ($a_record) | |
| this method should only be called by class ilSCORM2004NodeFactory | |
| create ($a_upload=false) | |
| Create Node. | |
| update () | |
| Update Node. | |
| delete () | |
| Delete Node. | |
| _getIdForImportId ($a_import_id) | |
| Get Node ID for import ID (static) | |
| _exists ($a_id) | |
| Checks wether a node exists. | |
| _deleteAllSLMNodes ($a_slm_object) | |
| Delete all nodes of Scorm Learning Module. | |
| _lookupSLMID ($a_id) | |
| Lookup Scorm Learning Module ID for node id. | |
| clipboardCut ($a_slm_obj_id, $a_ids) | |
| Cut and copy a set of chapters/pages into the clipboard. | |
| insertChapterClip ($a_slm_obj, $a_as_sub=false) | |
| Insert Chapter from clipboard. | |
| getObjectives () | |
| deleteSeqInfo () | |
| parentHasSeqTemplate () | |
| exportAsScorm12 () | |
| exportAsScorm13 () | |
Data Fields | |
| $q_media = null | |
Data Fields inherited from ilSCORM2004Node | |
| $slm_id | |
| $type | |
| $id | |
| $slm_object | |
Private Member Functions | |
| delete_rec ($a_delete_meta_data=true) | |
| Delete Nested Page Objects. | |
| fixFullscreeenLink ($matches) | |
| insertQuestion ($matches) | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilSCORM2004Node | |
| static | _lookupTitle ($a_obj_id) |
| Lookup Title. | |
| static | _lookupType ($a_obj_id) |
| Lookup Type. | |
| static | _writeTitle ($a_obj_id, $a_title) |
| Write Title. | |
| static | _writeImportId ($a_id, $a_import_id) |
| Write import ID. | |
| static | putInTree ($a_obj, $a_parent_id="", $a_target_node_id="") |
| put this object into content object tree | |
| static | getTree ($a_slm_obj_id) |
| Get scorm module editing tree. | |
| static | clipboardCopy ($a_slm_obj_id, $a_ids) |
| Copy a set of chapters/pages/scos into the clipboard. | |
| static | uniqueTypesCheck ($a_items) |
| Check for unique types (all pages or all chapters or all scos) | |
| static | insertPageClip ($a_slm_obj) |
| Insert pages from clipboard. | |
| static | insertScoClip ($a_slm_obj) |
| Insert scos from clipboard. | |
| static | pasteTree ($a_target_slm, $a_item_id, $a_parent_id, $a_target, $a_insert_time, &$a_copied_nodes, $a_as_copy=false) |
| Paste item (tree) from clipboard to current scorm learning module. | |
Class ilSCORM2004Sco.
SCO class for SCORM 2004 Editing
Definition at line 36 of file class.ilSCORM2004Sco.php.
| ilSCORM2004Sco::copy | ( | $a_target_slm | ) |
Copy sco.
Definition at line 104 of file class.ilSCORM2004Sco.php.
References ilSCORM2004Node\getDescription(), ilSCORM2004Node\getId(), ilSCORM2004Node\getSLMId(), ilSCORM2004Node\getTitle(), ilSCORM2004Node\getType(), and ilSCORM2004Sco().
Referenced by exportFileItems(), exportHTML(), and exportScorm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM2004Sco::create | ( | $a_upload = false, |
|
$a_template = false |
|||
| ) |
overwritten method
Definition at line 65 of file class.ilSCORM2004Sco.php.
References ilSCORM2004Node\getId().
Here is the call graph for this function:| ilSCORM2004Sco::delete | ( | $a_delete_meta_data = true | ) |
Delete a SCO.
Definition at line 54 of file class.ilSCORM2004Sco.php.
References delete_rec(), ilSCORM2004Node\deleteSeqInfo(), and ilSCORM2004Node\getId().
Here is the call graph for this function:
|
private |
Delete Nested Page Objects.
Definition at line 83 of file class.ilSCORM2004Sco.php.
References ilSCORM2004Node\delete(), ilSCORM2004Node\getId(), and ilSCORM2004NodeFactory\getInstance().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM2004Sco::exportFileItems | ( | $a_target_dir, | |
| & | $expLog | ||
| ) |
export files of file itmes
Definition at line 576 of file class.ilSCORM2004Sco.php.
References ilObject\_exists(), and copy().
Referenced by exportHTMLPageObjects().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM2004Sco::exportHTML | ( | $a_inst, | |
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
Definition at line 181 of file class.ilSCORM2004Sco.php.
References $files, $ilBench, copy(), exportHTMLPageObjects(), ilObjStyleSheet\getContentStylePath(), ilYuiUtil\getLocalPath(), ilUtil\getStyleSheetLocation(), and ilUtil\makeDir().
Referenced by exportScorm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM2004Sco::exportHTML4PDF | ( | $a_inst, | |
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
Definition at line 251 of file class.ilSCORM2004Sco.php.
References exportHTMLPageObjects(), and ilUtil\makeDir().
Here is the call graph for this function:| ilSCORM2004Sco::exportHTMLPageObjects | ( | $a_inst, | |
| $a_target_dir, | |||
| & | $expLog, | ||
| $mode | |||
| ) |
Definition at line 259 of file class.ilSCORM2004Sco.php.
References $ilBench, $ilCtrl, $ilLog, $lng, $tpl, assQuestionGUI\_getQuestionGUI(), ilSCORM2004Page\_getQuestionIdsForPage(), exportFileItems(), ilQuestionExporter\getFiles(), ilSCORM2004Node\getId(), ilQuestionExporter\getMobs(), ilSCORM2004Node\getObjectives(), ilSCORM2004Node\getSLMId(), ilSCORM2004Node\getTitle(), ilSCORM2004Node\getType(), IL_PAGE_OFFLINE, ilQuestionExporter\indicateNewSco(), and ilQuestionExporter\questionsJS().
Referenced by exportHTML(), and exportHTML4PDF().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM2004Sco::exportScorm | ( | $a_inst, | |
| $a_target_dir, | |||
| $ver, | |||
| & | $expLog | ||
| ) |
Definition at line 127 of file class.ilSCORM2004Sco.php.
References $ilBench, copy(), exportHTML(), exportXMLMediaObjects(), exportXMLMetaData(), exportXMLPageObjects(), ilSCORM2004Node\getId(), ilXmlWriter\xmlSetDtdDef(), xslt_create(), xslt_free(), and xslt_process().
Here is the call graph for this function:| ilSCORM2004Sco::exportXMLMediaObjects | ( | & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
Definition at line 536 of file class.ilSCORM2004Sco.php.
Referenced by exportScorm().
Here is the caller graph for this function:| ilSCORM2004Sco::exportXMLMetaData | ( | & | $a_xml_writer | ) |
Definition at line 634 of file class.ilSCORM2004Sco.php.
References ilSCORM2004Node\getId(), ilSCORM2004Node\getSLMId(), and ilSCORM2004Node\getType().
Referenced by exportScorm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORM2004Sco::exportXMLPageObjects | ( | $a_target_dir, | |
| & | $a_xml_writer, | ||
| $a_inst, | |||
| & | $expLog | ||
| ) |
Definition at line 475 of file class.ilSCORM2004Sco.php.
References $ilBench, ilSCORM2004Page\_getQuestionIdsForPage(), and assQuestion\_instanciateQuestion().
Referenced by exportScorm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 460 of file class.ilSCORM2004Sco.php.
| ilSCORM2004Sco::getExportFiles | ( | ) |
Definition at line 643 of file class.ilSCORM2004Sco.php.
References $dir, $file, ilSCORM2004Node\$type, ilSCORM2004Node\getId(), and ilSCORM2004Node\getType().
Here is the call graph for this function:| ilSCORM2004Sco::ilSCORM2004Sco | ( | $a_slm_object, | |
$a_id = 0 |
|||
| ) |
Constructor public.
Definition at line 45 of file class.ilSCORM2004Sco.php.
References ilSCORM2004Node\ilSCORM2004Node(), and ilSCORM2004Node\setType().
Referenced by copy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 470 of file class.ilSCORM2004Sco.php.
| ilSCORM2004Sco::$q_media = null |
Definition at line 39 of file class.ilSCORM2004Sco.php.