|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilStructreObject. More...
Inheritance diagram for ilStructureObject:
Collaboration diagram for ilStructureObject:Public Member Functions | |
| ilStructureObject (&$a_content_obj, $a_id=0) | |
| Constructor @access public. More... | |
| create ($a_upload=false) | |
| delete ($a_delete_meta_data=true) | |
| Delete Chapter. More... | |
| copy ($a_target_lm) | |
| copy chapter More... | |
| exportXML (&$a_xml_writer, $a_inst, &$expLog) | |
| export object to xml (see ilias_co.dtd) More... | |
| exportXMLMetaData (&$a_xml_writer) | |
| export structure objects meta data to xml (see ilias_co.dtd) More... | |
| modifyExportIdentifier ($a_tag, $a_param, $a_value) | |
| exportXMLPageObjects (&$a_xml_writer, $a_inst=0) | |
| export page objects of structure object (see ilias_co.dtd) More... | |
| exportXMLStructureObjects (&$a_xml_writer, $a_inst, &$expLog) | |
| export (sub)structure objects of structure object (see ilias_co.dtd) More... | |
| exportFO (&$a_xml_writer) | |
| export object to fo More... | |
| exportFOPageObjects (&$a_xml_writer) | |
| export page objects of structure object (see ilias_co.dtd) More... | |
Public Member Functions inherited from ilLMObject | |
| ilLMObject ($a_content_obj, $a_id=0) | |
| MDUpdateListener ($a_element) | |
| Meta data update listener. More... | |
| _lookupNID ($a_lm_id, $a_lm_obj_id, $a_type) | |
| lookup named identifier (ILIAS_NID) More... | |
| createMetaData () | |
| create meta data entry More... | |
| updateMetaData () | |
| update meta data entry More... | |
| deleteMetaData () | |
| delete meta data entry More... | |
| setDataRecord ($a_record) | |
| this method should only be called by class ilLMObjectFactory More... | |
| read () | |
| setTitle ($a_title) | |
| set title of lm object More... | |
| getTitle () | |
| get title of lm object More... | |
| _writeTitle ($a_obj_id, $a_title) | |
| setDescription ($a_description) | |
| getDescription () | |
| setType ($a_type) | |
| getType () | |
| setLMId ($a_lm_id) | |
| getLMId () | |
| setContentObject (&$a_content_obj) | |
| & | getContentObject () |
| setId ($a_id) | |
| getId () | |
| getImportId () | |
| setImportId ($a_id) | |
| setLayout ($a_val) | |
| Set layout. More... | |
| getLayout () | |
| Get layout. More... | |
| _writeImportId ($a_id, $a_import_id) | |
| write import id to db (static) More... | |
| create ($a_upload=false) | |
| update () | |
| update complete object More... | |
| delete ($a_delete_meta_data=true) | |
| delete lm object data More... | |
| _getIdForImportId ($a_import_id) | |
| get current object id for import id (static) More... | |
| _getAllObjectsForImportId ($a_import_id, $a_in_lm=0) | |
| Get all items for an import ID. More... | |
| _exists ($a_id) | |
| checks wether a lm content object with specified id exists or not More... | |
| getObjectList ($lm_id, $type="") | |
| static More... | |
| _deleteAllObjectData (&$a_cobj) | |
| delete all objects of content object (digi book / learning module) More... | |
| _lookupContObjID ($a_id) | |
| get learning module / digibook id for lm object More... | |
| clipboardCut ($a_cont_obj_id, $a_ids) | |
| Copy a set of chapters/pages into the clipboard. More... | |
| existsExportID ($a_lm_id, $a_exp_id, $a_type="pg") | |
| Does export ID exist in lm? More... | |
| getExportIDInfo ($a_lm_id, $a_exp_id, $a_type="pg") | |
| Does export ID exist in lm? More... | |
Static Public Member Functions | |
| static | _getPresentationTitle ($a_st_id, $a_include_numbers=false, $a_time_scheduled_activation=false, $a_lm_id=0, $a_lang="-") |
| get presentation title More... | |
| static | getChapterList ($a_lm_id) |
| export (sub)structure objects of structure object (see ilias_co.dtd) More... | |
Static Public Member Functions inherited from ilLMObject | |
| static | preloadDataByLM ($a_lm_id) |
| Preload data records by lm. More... | |
| static | _lookupTitle ($a_obj_id) |
| Lookup title. More... | |
| static | _lookupType ($a_obj_id, $a_lm_id=0) |
| Lookup type. More... | |
| _writePublicAccessStatus ($a_pages, $a_cont_obj_id) | |
| update public access flags in lm_data for all pages of a content object@access public More... | |
| static | _isPagePublic ($a_node_id, $a_check_public_mode=false) |
| static | putInTree ($a_obj, $a_parent_id="", $a_target_node_id="") |
| put this object into content object tree More... | |
| static | getTree ($a_cont_obj_id) |
| Get learningmodule tree. More... | |
| static | clipboardCopy ($a_cont_obj_id, $a_ids) |
| Copy a set of chapters/pages into the clipboard. More... | |
| static | pasteTree ($a_target_lm, $a_item_id, $a_parent_id, $a_target, $a_insert_time, &$a_copied_nodes, $a_as_copy=false, $a_source_lm=null) |
| Paste item (tree) from clipboard to current lm. More... | |
| static | saveTitles ($a_lm, $a_titles, $a_lang="-") |
| Save titles for lm objects. More... | |
| static | updateInternalLinks ($a_copied_nodes, $a_parent_type="lm") |
| Update internal links, after multiple pages have been copied. More... | |
| static | uniqueTypesCheck ($a_items) |
| Check for unique types (all pages or all chapters) More... | |
| static | writeLayout ($a_obj_id, $a_layout, $a_lm=null) |
| Write layout setting. More... | |
| static | lookupLayout ($a_obj_id) |
| Lookup type. More... | |
| static | getPagesOfChapter ($a_lm_id, $a_chap_id) |
| Get pages of chapter. More... | |
| static | _getAllLMObjectsOfLM ($a_lm_id, $a_type="") |
| Get all objects of learning module. More... | |
| static | saveExportId ($a_lm_id, $a_lmobj_id, $a_exp_id, $a_type="pg") |
| Save export id. More... | |
| static | getExportId ($a_lm_id, $a_lmobj_id, $a_type="pg") |
| Get export ID. More... | |
| static | getDuplicateExportIDs ($a_lm_id, $a_type="pg") |
| Get duplicate export IDs (count export ID usages) More... | |
| static | _getPresentationTitle ($a_node, $a_mode=IL_PAGE_TITLE, $a_include_numbers=false, $a_time_scheduled_activation=false, $a_force_content=false, $a_lm_id=0, $a_lang="-") |
| Get affective title. More... | |
Data Fields | |
| $is_alias | |
| $origin_id | |
| $tree | |
Data Fields inherited from ilLMObject | |
| $ilias | |
| $lm_id | |
| $type | |
| $id | |
| $meta_data | |
| $data_record | |
| $content_object | |
| $title | |
| $description | |
| $active = true | |
Private Member Functions | |
| delete_rec (&$a_tree, $a_delete_meta_data=true) | |
| Delete sub tree. More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from ilLMObject | |
| static | $data_records = array() |
Class ilStructreObject.
Handles StructureObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition at line 17 of file class.ilStructureObject.php.
|
static |
get presentation title
Definition at line 173 of file class.ilStructureObject.php.
References $ilDB, $query, ilLMObject\$title, $tree, ilLMObject\_lookupContObjID(), ilLMObject\_lookupTitle(), DB_FETCHMODE_ASSOC, ilObjectTranslation\getInstance(), and ilLMTree\getInstance().
Referenced by ilLMObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMTOCExplorerGUI\getNodeContent(), ilLMPresentationGUI\ilLocator(), ilLMPresentationGUI\showPrintView(), ilLMPresentationGUI\showPrintViewSelection(), and ilStructureObjectGUI\subchap().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObject::copy | ( | $a_target_lm | ) |
copy chapter
Definition at line 83 of file class.ilStructureObject.php.
References ilLMObjTranslation\copy(), ilLMObject\getDescription(), ilLMObject\getId(), ilLMObject\getLMId(), ilLMObject\getTitle(), ilLMObject\getType(), and ilStructureObject().
Here is the call graph for this function:| ilStructureObject::create | ( | $a_upload = false | ) |
Reimplemented from ilLMObject.
Definition at line 33 of file class.ilStructureObject.php.
| ilStructureObject::delete | ( | $a_delete_meta_data = true | ) |
Delete Chapter.
Reimplemented from ilLMObject.
Definition at line 41 of file class.ilStructureObject.php.
References delete_rec(), ilLMObject\getId(), and ilHelpMapping\removeScreenIdsOfChapter().
Here is the call graph for this function:
|
private |
Delete sub tree.
Definition at line 58 of file class.ilStructureObject.php.
References ilLMObject\getId(), and ilLMObjectFactory\getInstance().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObject::exportFO | ( | & | $a_xml_writer | ) |
export object to fo
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 316 of file class.ilStructureObject.php.
References $ilBench, exportFOPageObjects(), and ilLMObject\getTitle().
Here is the call graph for this function:| ilStructureObject::exportFOPageObjects | ( | & | $a_xml_writer | ) |
export page objects of structure object (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 344 of file class.ilStructureObject.php.
References $ilBench, ilLMObject\getContentObject(), and ilLMObject\getId().
Referenced by exportFO().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObject::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 116 of file class.ilStructureObject.php.
References $ilBench, exportXMLMetaData(), exportXMLPageObjects(), exportXMLStructureObjects(), and ilLMObject\getId().
Here is the call graph for this function:| ilStructureObject::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 150 of file class.ilStructureObject.php.
References ilLMObject\getId(), ilLMObject\getLMId(), and ilLMObject\getType().
Referenced by exportXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObject::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 251 of file class.ilStructureObject.php.
References $ilBench, ilLMPageObject\_exportXMLAlias(), and ilLMObject\getId().
Referenced by exportXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObject::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 288 of file class.ilStructureObject.php.
References ilLMObject\getContentObject(), ilLMObject\getId(), and ilStructureObject().
Referenced by exportXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
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 376 of file class.ilStructureObject.php.
References $tree.
Referenced by ilExportIDTableGUI\__construct(), and ilHelpMappingTableGUI\getChapters().
Here is the caller graph for this function:| ilStructureObject::ilStructureObject | ( | & | $a_content_obj, |
$a_id = 0 |
|||
| ) |
Constructor @access public.
Definition at line 27 of file class.ilStructureObject.php.
References ilLMObject\setType().
Referenced by copy(), and exportXMLStructureObjects().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObject::modifyExportIdentifier | ( | $a_tag, | |
| $a_param, | |||
| $a_value | |||
| ) |
Definition at line 159 of file class.ilStructureObject.php.
References ilLMObject\getId().
Here is the call graph for this function:| ilStructureObject::$is_alias |
Definition at line 19 of file class.ilStructureObject.php.
| ilStructureObject::$origin_id |
Definition at line 20 of file class.ilStructureObject.php.
| ilStructureObject::$tree |
Definition at line 21 of file class.ilStructureObject.php.
Referenced by _getPresentationTitle(), and getChapterList().