ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilSCORM2004Chapter. More...
Public Member Functions | |
ilSCORM2004SeqTemplate ($a_slm_object, $a_id=0) | |
Constructor public. | |
ilSCORM2004SeqTemplate ($a_identifier) | |
getMetadataProperties () | |
function getMetadataProperties | |
getIdentifier () | |
function getIdentifier | |
insertTemplateForObjectAtParent ($a_object, $a_parent, $a_target) | |
importTemplate ($a_target, $a_object, $a_parent, $node) | |
function import Template | |
insert ($a_insert_node=false) | |
getSeqNodeId () | |
getId () | |
Get Node ID. | |
setSeqNodeId ($a_seqnodeid) | |
setId ($a_id) | |
Set Node ID. | |
Public Member Functions inherited from ilSCORM2004SeqNode | |
ilSCORM2004SeqNode () | |
Constructor public. | |
getNodeName () | |
getTreenodeId () | |
setNodeName ($a_nodeName) | |
setTreenodeId ($a_treenodeId) | |
insert () | |
update ($a_seq_node_id) | |
Public Member Functions inherited from ilSCORM2004Chapter | |
ilSCORM2004Chapter ($a_slm_object, $a_id=0) | |
Constructor public. | |
delete ($a_delete_meta_data=true) | |
Delete a chapter. | |
copy ($a_target_slm) | |
Copy chapter. | |
exportXML (&$a_xml_writer, $a_inst, &$expLog) | |
Export object to xml (see ilias_co.dtd) | |
exportXMLMetaData (&$a_xml_writer) | |
export structure objects meta data to xml (see ilias_co.dtd) | |
_getPresentationTitle ($a_st_id, $a_include_numbers=false) | |
get presentation title | |
exportXMLPageObjects (&$a_xml_writer, $a_inst=0) | |
export page objects of structure object (see ilias_co.dtd) | |
exportXMLStructureObjects (&$a_xml_writer, $a_inst, &$expLog) | |
export (sub)structure objects of structure object (see ilias_co.dtd) | |
exportFOPageObjects (&$a_xml_writer) | |
export object to fo | |
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. | |
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 () |
Static Public Member Functions | |
static | availableTemplates () |
static | getFileNameForIdentifier ($a_identifier) |
static | templateForChapter ($a_chapter_id) |
Data Fields | |
const | SEQ_TEMPLATE_DIR = './Modules/Scorm2004/templates/sequencing/' |
const | SEQ_TEMPLATE_XSL = './Modules/Scorm2004/templates/xsl/seq_template.xsl' |
const | SEQ_TEMPLATE_XSD = './Modules/Scorm2004/templates/editor/seq_templates/xsd/seq_template.xsd' |
Data Fields inherited from ilSCORM2004Chapter | |
$tree | |
Data Fields inherited from ilSCORM2004Node | |
$slm_id | |
$type | |
$id | |
$slm_object |
Private Member Functions | |
generateObjIds ($a_dom) |
Private Attributes | |
$template | |
$template_file | |
$normalized_template | |
$tree_node | |
$diagnostic = array () | |
$parentchapter = true | |
$importId | |
$id = null | |
$seqNodeId = null | |
$sahs_sc13_treeId = null | |
$importid |
Additional Inherited Members | |
Protected Attributes inherited from ilSCORM2004SeqNode | |
$db = null |
Class ilSCORM2004Chapter.
Sequencing Template class for SCORM 2004 Editing
Definition at line 36 of file class.ilSCORM2004SeqRule.php.
|
static |
Definition at line 93 of file class.ilSCORM2004SeqTemplate.php.
References $ilDB, $query, $result, and $row.
Referenced by ilObjSCORM2004LearningModuleGUI\insertScenarioGUI().
|
private |
Definition at line 232 of file class.ilSCORM2004SeqTemplate.php.
|
static |
Definition at line 283 of file class.ilSCORM2004SeqTemplate.php.
Referenced by ilSCORM2004SeqTemplate().
ilSCORM2004SeqTemplate::getId | ( | ) |
Get Node ID.
int | Node ID |
Reimplemented from ilSCORM2004Node.
Definition at line 262 of file class.ilSCORM2004SeqTemplate.php.
References $id.
ilSCORM2004SeqTemplate::getIdentifier | ( | ) |
function getIdentifier
Definition at line 115 of file class.ilSCORM2004SeqTemplate.php.
ilSCORM2004SeqTemplate::getMetadataProperties | ( | ) |
function getMetadataProperties
Definition at line 80 of file class.ilSCORM2004SeqTemplate.php.
ilSCORM2004SeqTemplate::getSeqNodeId | ( | ) |
Definition at line 257 of file class.ilSCORM2004SeqTemplate.php.
References $seqNodeId.
ilSCORM2004SeqTemplate::ilSCORM2004SeqTemplate | ( | $a_identifier | ) |
Definition at line 42 of file class.ilSCORM2004SeqTemplate.php.
References $_SESSION, $test, getFileNameForIdentifier(), ilSCORM2004SeqNode\ilSCORM2004SeqNode(), and ilSCORM2004SeqNode\setNodeName().
ilSCORM2004SeqTemplate::ilSCORM2004SeqTemplate | ( | $a_slm_object, | |
$a_id = 0 |
|||
) |
Constructor public.
Definition at line 46 of file class.ilSCORM2004SeqRule.php.
ilSCORM2004SeqTemplate::importTemplate | ( | $a_target, | |
$a_object, | |||
$a_parent, | |||
$node | |||
) |
function import Template
Definition at line 136 of file class.ilSCORM2004SeqTemplate.php.
References $ilDB, $importId, $sahs_sc13_treeId, ilSCORM2004Chapter\ilSCORM2004Chapter(), and ilSCORM2004Node\putInTree().
Referenced by insertTemplateForObjectAtParent().
ilSCORM2004SeqTemplate::insert | ( | $a_insert_node = false | ) |
Definition at line 240 of file class.ilSCORM2004SeqTemplate.php.
References $result, and setSeqNodeId().
ilSCORM2004SeqTemplate::insertTemplateForObjectAtParent | ( | $a_object, | |
$a_parent, | |||
$a_target | |||
) |
Definition at line 122 of file class.ilSCORM2004SeqTemplate.php.
References importTemplate().
ilSCORM2004SeqTemplate::setId | ( | $a_id | ) |
Set Node ID.
int | Node ID |
Reimplemented from ilSCORM2004Node.
Definition at line 276 of file class.ilSCORM2004SeqTemplate.php.
ilSCORM2004SeqTemplate::setSeqNodeId | ( | $a_seqnodeid | ) |
Definition at line 271 of file class.ilSCORM2004SeqTemplate.php.
Referenced by insert().
|
static |
Definition at line 294 of file class.ilSCORM2004SeqTemplate.php.
References $ilDB, $query, and $template.
Referenced by ilSCORM2004Utilities\parentHasSeqTemplate(), and ilSCORM2004ChapterGUI\showProperties().
|
private |
Definition at line 32 of file class.ilSCORM2004SeqTemplate.php.
|
private |
Definition at line 37 of file class.ilSCORM2004SeqTemplate.php.
Referenced by getId().
|
private |
Definition at line 34 of file class.ilSCORM2004SeqTemplate.php.
Referenced by importTemplate().
|
private |
Definition at line 40 of file class.ilSCORM2004SeqTemplate.php.
|
private |
Definition at line 30 of file class.ilSCORM2004SeqTemplate.php.
|
private |
Definition at line 33 of file class.ilSCORM2004SeqTemplate.php.
|
private |
Definition at line 39 of file class.ilSCORM2004SeqTemplate.php.
Referenced by importTemplate().
|
private |
Definition at line 38 of file class.ilSCORM2004SeqTemplate.php.
Referenced by getSeqNodeId().
|
private |
Definition at line 28 of file class.ilSCORM2004SeqTemplate.php.
Referenced by templateForChapter().
|
private |
Definition at line 29 of file class.ilSCORM2004SeqTemplate.php.
|
private |
Definition at line 31 of file class.ilSCORM2004SeqTemplate.php.
const ilSCORM2004SeqTemplate::SEQ_TEMPLATE_DIR = './Modules/Scorm2004/templates/sequencing/' |
Definition at line 39 of file class.ilSCORM2004SeqRule.php.
Referenced by ilObjSCORM2004LearningModuleGUI\insertScenarioGUI(), and ilSCORM2004ChapterGUI\showProperties().
const ilSCORM2004SeqTemplate::SEQ_TEMPLATE_XSD = './Modules/Scorm2004/templates/editor/seq_templates/xsd/seq_template.xsd' |
Definition at line 25 of file class.ilSCORM2004SeqTemplate.php.
const ilSCORM2004SeqTemplate::SEQ_TEMPLATE_XSL = './Modules/Scorm2004/templates/xsl/seq_template.xsl' |
Definition at line 40 of file class.ilSCORM2004SeqRule.php.