| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class ilSCORM2004Chapter. More...
 Inheritance diagram for ilSCORM2004Chapter:
 Inheritance diagram for ilSCORM2004Chapter: Collaboration diagram for ilSCORM2004Chapter:
 Collaboration diagram for ilSCORM2004Chapter:| Public Member Functions | |
| 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. | |
| 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 | |
| $tree | |
|  Data Fields inherited from ilSCORM2004Node | |
| $slm_id | |
| $type | |
| $id | |
| $slm_object | |
| Private Member Functions | |
| delete_rec ($a_delete_meta_data=true) | |
| Delete data records of chapter (and nested objects) | |
| 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 ilSCORM2004Chapter.
Chapter class for SCORM 2004 Editing
Definition at line 36 of file class.ilSCORM2004Chapter.php.
| ilSCORM2004Chapter::_getPresentationTitle | ( | $a_st_id, | |
| $a_include_numbers = false | |||
| ) | 
get presentation title
Definition at line 187 of file class.ilSCORM2004Chapter.php.
References $ilDB.
| ilSCORM2004Chapter::copy | ( | $a_target_slm | ) | 
Copy chapter.
Definition at line 90 of file class.ilSCORM2004Chapter.php.
References ilSCORM2004Node\getDescription(), ilSCORM2004Node\getId(), ilSCORM2004Node\getSLMId(), ilSCORM2004Node\getTitle(), ilSCORM2004Node\getType(), and ilSCORM2004Chapter().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORM2004Chapter::delete | ( | $a_delete_meta_data = true | ) | 
Delete a chapter.
Definition at line 53 of file class.ilSCORM2004Chapter.php.
References delete_rec(), ilSCORM2004Node\deleteSeqInfo(), and ilSCORM2004Node\getId().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Delete data records of chapter (and nested objects)
Definition at line 64 of file class.ilSCORM2004Chapter.php.
References ilSCORM2004Node\delete(), ilSCORM2004Node\getId(), and ilSCORM2004NodeFactory\getInstance().
Referenced by delete().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM2004Chapter::exportFOPageObjects | ( | & | $a_xml_writer | ) | 
export object to fo
| object | $a_xml_writer | ilXmlWriter object that receives the xml data export page objects of structure object (see ilias_co.dtd) | 
| object | $a_xml_writer | ilXmlWriter object that receives the xml data | 
Definition at line 342 of file class.ilSCORM2004Chapter.php.
| ilSCORM2004Chapter::exportXML | ( | & | $a_xml_writer, | 
| $a_inst, | |||
| & | $expLog | ||
| ) | 
Export object to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data | 
Definition at line 118 of file class.ilSCORM2004Chapter.php.
| ilSCORM2004Chapter::exportXMLMetaData | ( | & | $a_xml_writer | ) | 
export structure objects meta data to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data | 
Definition at line 155 of file class.ilSCORM2004Chapter.php.
| ilSCORM2004Chapter::exportXMLPageObjects | ( | & | $a_xml_writer, | 
| $a_inst = 0 | |||
| ) | 
export page objects of structure object (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data | 
Definition at line 240 of file class.ilSCORM2004Chapter.php.
| ilSCORM2004Chapter::exportXMLStructureObjects | ( | & | $a_xml_writer, | 
| $a_inst, | |||
| & | $expLog | ||
| ) | 
export (sub)structure objects of structure object (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data | 
Definition at line 280 of file class.ilSCORM2004Chapter.php.
| ilSCORM2004Chapter::ilSCORM2004Chapter | ( | $a_slm_object, | |
| $a_id = 0 | |||
| ) | 
Constructor public.
Definition at line 44 of file class.ilSCORM2004Chapter.php.
References ilSCORM2004Node\ilSCORM2004Node(), and ilSCORM2004Node\setType().
Referenced by copy(), ilSCORM2004SeqChapter\ilSCORM2004SeqChapter(), and ilSCORM2004SeqTemplate\importTemplate().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORM2004Chapter::$tree | 
Definition at line 38 of file class.ilSCORM2004Chapter.php.