ILIAS
release_4-3 Revision
|
Class ilSCORM2004Sco. More...
Public Member Functions | |
__construct ($a_slm_object, $a_id=0) | |
Constructor. | |
setHideObjectivePage ($a_val) | |
Set hide objective page. | |
getHideObjectivePage () | |
Get hide objective page. | |
create ($a_upload=false, $a_template=false) | |
Create sco. | |
read () | |
Read data from database. | |
update () | |
Update. | |
delete () | |
Delete. | |
copy ($a_target_slm) | |
Copy sco. | |
getMainObjectiveText () | |
Get main objective. | |
Public Member Functions inherited from ilSCORM2004Asset | |
delete ($a_delete_meta_data=true) | |
Delete a SCO. | |
exportScorm ($a_inst, $a_target_dir, $ver, &$expLog) | |
exportHTML ($a_inst, $a_target_dir, &$expLog, $a_asset_type="sco", $a_one_file="") | |
exportHTML4PDF ($a_inst, $a_target_dir, &$expLog) | |
exportPDF ($a_inst, $a_target_dir, &$expLog) | |
exportPDFPrepareXmlNFiles ($a_inst, $a_target_dir, &$expLog, &$a_xml_writer) | |
exportHTMLPageObjects ($a_inst, $a_target_dir, &$expLog, $mode, $a_asset_type="sco", $a_one_file="", $a_sco_tpl=null) | |
Export HTML pages of SCO. | |
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 () | |
getGlossaryTermIds () | |
Get glossary term ids in sco. | |
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. | |
getSLMObject () | |
Get 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. | |
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. | |
_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 () |
Protected Attributes | |
$hide_obj_page = false |
Additional Inherited Members | |
Static Public Member Functions inherited from ilSCORM2004Asset | |
static | renderNavigation ($a_tpl, $a_spacer_img="", $a_lang="") |
Render navigation. | |
static | renderMetaPage ($a_tpl, $a_sco, $a_asset_type="", $mode="") |
Render meta page (description/objectives at beginning) | |
static | convertLists ($a_text) |
Convert * and # to lists. | |
Data Fields inherited from ilSCORM2004Asset | |
$q_media = null |
Class ilSCORM2004Sco.
SCO class for SCORM 2004 Editing
Definition at line 17 of file class.ilSCORM2004Sco.php.
ilSCORM2004Sco::__construct | ( | $a_slm_object, | |
$a_id = 0 |
|||
) |
Constructor.
object | SCORM LM object |
Reimplemented from ilSCORM2004Asset.
Definition at line 26 of file class.ilSCORM2004Sco.php.
References ilSCORM2004Node\setType().
ilSCORM2004Sco::copy | ( | $a_target_slm | ) |
Copy sco.
Reimplemented from ilSCORM2004Asset.
Definition at line 115 of file class.ilSCORM2004Sco.php.
References ilSCORM2004Node\getDescription(), ilSCORM2004Node\getId(), ilSCORM2004Node\getSLMId(), ilSCORM2004Node\getTitle(), and ilSCORM2004Node\getType().
ilSCORM2004Sco::create | ( | $a_upload = false , |
|
$a_template = false |
|||
) |
Create sco.
Reimplemented from ilSCORM2004Asset.
Definition at line 51 of file class.ilSCORM2004Sco.php.
References ilSCORM2004Node\getId().
ilSCORM2004Sco::delete | ( | ) |
Delete.
Reimplemented from ilSCORM2004Node.
Definition at line 102 of file class.ilSCORM2004Sco.php.
ilSCORM2004Sco::getHideObjectivePage | ( | ) |
Get hide objective page.
Definition at line 43 of file class.ilSCORM2004Sco.php.
References $hide_obj_page.
ilSCORM2004Sco::getMainObjectiveText | ( | ) |
Get main objective.
Definition at line 142 of file class.ilSCORM2004Sco.php.
References ilSCORM2004Node\getObjectives().
ilSCORM2004Sco::read | ( | ) |
Read data from database.
Reimplemented from ilSCORM2004Node.
Definition at line 73 of file class.ilSCORM2004Sco.php.
References setHideObjectivePage().
ilSCORM2004Sco::setHideObjectivePage | ( | $a_val | ) |
Set hide objective page.
Definition at line 35 of file class.ilSCORM2004Sco.php.
Referenced by read().
ilSCORM2004Sco::update | ( | ) |
Update.
Reimplemented from ilSCORM2004Node.
Definition at line 88 of file class.ilSCORM2004Sco.php.
|
protected |
Definition at line 19 of file class.ilSCORM2004Sco.php.
Referenced by getHideObjectivePage().