|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilStructureObject:
Collaboration diagram for ilStructureObject:Public Member Functions | |
| __construct (ilObjLearningModule $a_content_obj, int $a_id=0) | |
| delete (bool $a_delete_meta_data=true) | |
| copy (ilObjLearningModule $a_target_lm) | |
| copy chapter More... | |
| exportXML (ilXmlWriter $a_xml_writer, int $a_inst, ilLog $expLog) | |
| exportXMLMetaData (ilXmlWriter $a_xml_writer) | |
| modifyExportIdentifier (string $a_tag, string $a_param, string $a_value) | |
| exportXMLPageObjects (ilXmlWriter $a_xml_writer, int $a_inst=0) | |
| exportXMLStructureObjects (ilXmlWriter $a_xml_writer, int $a_inst, ilLog $expLog) | |
Public Member Functions inherited from ilLMObject | |
| __construct (ilObjLearningModule $a_content_obj, int $a_id=0) | |
| MDUpdateListener (string $a_element) | |
| Meta data update listener Important note: Do never call create() or update() method of ilObject here. More... | |
| createMetaData () | |
| create meta data entry More... | |
| updateMetaData () | |
| update meta data entry More... | |
| deleteMetaData () | |
| delete meta data entry More... | |
| setDataRecord (array $a_record) | |
| this method should only be called by class ilLMObjectFactory More... | |
| read () | |
| setTitle (string $a_title) | |
| getTitle () | |
| setShortTitle (string $a_title) | |
| getShortTitle () | |
| setDescription (string $a_description) | |
| getDescription () | |
| setType (string $a_type) | |
| getType () | |
| setLMId (int $a_lm_id) | |
| getLMId () | |
| setContentObject (ilObjLearningModule $a_content_obj) | |
| getContentObject () | |
| setId (int $a_id) | |
| getId () | |
| getImportId () | |
| setImportId (string $a_id) | |
| setLayout (string $a_val) | |
| getLayout () | |
| create (bool $a_upload=false) | |
| update () | |
| delete (bool $a_delete_meta_data=true) | |
| existsExportID (int $a_lm_id, int $a_exp_id, string $a_type="pg") | |
| Does export ID exist in lm? More... | |
Static Public Member Functions | |
| static | _getPresentationTitle (int $a_st_id, string $a_mode=self::CHAPTER_TITLE, bool $a_include_numbers=false, bool $a_time_scheduled_activation=false, bool $a_force_content=false, int $a_lm_id=0, string $a_lang="-", bool $a_include_short=false) |
| static | getChapterList (int $a_lm_id) |
Static Public Member Functions inherited from ilLMObject | |
| static | preloadDataByLM (int $a_lm_id) |
| Preload data records by lm. More... | |
| static | _lookupTitle (int $a_obj_id) |
| static | _lookupShortTitle (int $a_obj_id) |
| static | _lookupType (int $a_obj_id, int $a_lm_id=0) |
| static | _writeTitle (int $a_obj_id, string $a_title) |
| static | _writeImportId (int $a_id, string $a_import_id) |
| static | _getIdForImportId (string $a_import_id) |
| get current object id for import id (static) More... | |
| static | _getAllObjectsForImportId (string $a_import_id, int $a_in_lm=0) |
| Get all items for an import ID. More... | |
| static | _exists (int $a_id) |
| checks wether a lm content object with specified id exists or not More... | |
| static | getObjectList (int $lm_id, string $type="") |
| static | _deleteAllObjectData (ilObjLearningModule $a_cobj) |
| delete all objects of content object (digi book / learning module) More... | |
| static | _lookupContObjID (int $a_id) |
| get learning module id for lm object More... | |
| static | putInTree (ilLMObject $a_obj, int $a_parent_id=0, int $a_target_node_id=0) |
| put this object into content object tree More... | |
| static | getTree (int $a_cont_obj_id) |
| Get learning module tree. More... | |
| static | clipboardCut (int $a_cont_obj_id, array $a_ids) |
| Copy a set of chapters/pages into the clipboard. More... | |
| static | clipboardCopy (int $a_cont_obj_id, array $a_ids) |
| Copy a set of chapters/pages into the clipboard. More... | |
| static | saveTitles (ilObjLearningModule $a_lm, array $a_titles, string $a_lang="-") |
| Save titles for lm objects. More... | |
| static | saveTitle (int $id, string $title, string $lang="-") |
| static | updateInternalLinks (array $a_copied_nodes, string $a_parent_type="lm") |
| Update internal links, after multiple pages have been copied. More... | |
| static | uniqueTypesCheck (array $a_items) |
| Check for unique types (all pages or all chapters) More... | |
| static | writeLayout (int $a_obj_id, string $a_layout, ?ilObjLearningModule $a_lm=null) |
| Write layout setting. More... | |
| static | lookupLayout (int $a_obj_id) |
| Lookup type. More... | |
| static | getPagesOfChapter (int $a_lm_id, int $a_chap_id) |
| Get pages of chapter. More... | |
| static | _getAllLMObjectsOfLM (int $a_lm_id, string $a_type="") |
| Get all objects of learning module. More... | |
| static | saveExportId (int $a_lm_id, int $a_lmobj_id, string $a_exp_id, string $a_type="pg") |
| static | getExportId (int $a_lm_id, int $a_lmobj_id, string $a_type="pg") |
| static | getDuplicateExportIDs (int $a_lm_id, string $a_type="pg") |
| Get duplicate export IDs (count export ID usages) More... | |
| static | _getNodePresentationTitle (array $a_node, string $a_mode=self::PAGE_TITLE, bool $a_include_numbers=false, bool $a_time_scheduled_activation=false, bool $a_force_content=false, int $a_lm_id=0, string $a_lang="-") |
| static | getShortTitles (int $a_lm_id, string $a_lang="-") |
| static | writeShortTitle (int $a_id, string $a_short_title, string $a_lang="-") |
Data Fields | |
| string | $origin_id |
| ilLMTree | $tree |
Data Fields inherited from ilLMObject | |
| const | CHAPTER_TITLE = "st_title" |
| const | PAGE_TITLE = "pg_title" |
| const | NO_HEADER = "none" |
| int | $lm_id = 0 |
| string | $type = "" |
| int | $id = 0 |
| array | $data_record |
| ilObjLearningModule | $content_object |
| string | $title = "" |
| string | $short_title = "" |
| string | $description = "" |
| bool | $active = true |
Protected Attributes | |
| ILIAS Help Map MapManager | $help_map |
| LOMServices | $lom_services |
Protected Attributes inherited from ilLMObject | |
| string | $layout = "" |
| string | $import_id = "" |
| ilObjUser | $user |
| ilDBInterface | $db |
| LOMServices | $lom_services |
Private Member Functions | |
| delete_rec (ilLMTree $a_tree, bool $a_delete_meta_data=true) | |
| Delete sub tree. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from ilLMObject | |
| static | _lookup (int $a_obj_id, string $a_field) |
| static | getPathToExportIDInLOM () |
Static Protected Attributes inherited from ilLMObject | |
| static | $data_records = array() |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Handles StructureObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition at line 26 of file class.ilStructureObject.php.
| ilStructureObject::__construct | ( | ilObjLearningModule | $a_content_obj, |
| int | $a_id = 0 |
||
| ) |
Definition at line 33 of file class.ilStructureObject.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilLMObject\getLMId(), and ilLMObject\setType().
Here is the call graph for this function:
|
static |
Definition at line 157 of file class.ilStructureObject.php.
References $DIC, $ilDB, ilLMObject\$title, ilLMObject\_lookupContObjID(), ilLMObject\_lookupShortTitle(), ilLMObject\_lookupTitle(), ilDBConstants\FETCHMODE_ASSOC, ilTree\getChildSequenceNumber(), ilLMTree\getInstance(), ilObjectTranslation\getInstance(), ilLMObjTranslation\getTitle(), and ilTree\isInTree().
Referenced by ilLMObject\_getNodePresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMNavigationRendererGUI\addDropdown(), ilLMTOCExplorerGUI\getNodeContent(), ilLMPresentationGUI\ilLocator(), ilLMPresentationGUI\showPrintView(), and ilLMPresentationGUI\showPrintViewSelection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObject::copy | ( | ilObjLearningModule | $a_target_lm | ) |
copy chapter
Definition at line 82 of file class.ilStructureObject.php.
References ilLMObjTranslation\copy(), ilLMObject\getDescription(), ilObject\getId(), ilLMObject\getId(), ilLMObject\getLMId(), ilLMObject\getTitle(), and ilLMObject\getType().
Here is the call graph for this function:| ilStructureObject::delete | ( | bool | $a_delete_meta_data = true | ) |
Definition at line 46 of file class.ilStructureObject.php.
References delete_rec(), and ilLMObject\getId().
Here is the call graph for this function:
|
private |
Delete sub tree.
Definition at line 59 of file class.ilStructureObject.php.
References ilTree\getChilds(), 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::exportXML | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst, | ||
| ilLog | $expLog | ||
| ) |
Definition at line 108 of file class.ilStructureObject.php.
References exportXMLMetaData(), exportXMLPageObjects(), exportXMLStructureObjects(), ilLMObject\getId(), ilLog\write(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:| ilStructureObject::exportXMLMetaData | ( | ilXmlWriter | $a_xml_writer | ) |
Definition at line 129 of file class.ilStructureObject.php.
Referenced by exportXML().
Here is the caller graph for this function:| ilStructureObject::exportXMLPageObjects | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst = 0 |
||
| ) |
Definition at line 244 of file class.ilStructureObject.php.
References 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 | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst, | ||
| ilLog | $expLog | ||
| ) |
Definition at line 259 of file class.ilStructureObject.php.
References ilLMObject\getContentObject(), and ilLMObject\getId().
Referenced by exportXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 281 of file class.ilStructureObject.php.
References ilTree\getNodeData(), ilTree\getSubTree(), and ilTree\readRootId().
Referenced by ilExportIDTableGUI\__construct(), and ilHelpMappingTableGUI\getChapters().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStructureObject::modifyExportIdentifier | ( | string | $a_tag, |
| string | $a_param, | ||
| string | $a_value | ||
| ) |
Definition at line 145 of file class.ilStructureObject.php.
References ilLMObject\getId(), and IL_INST_ID.
Here is the call graph for this function:
|
protected |
Definition at line 28 of file class.ilStructureObject.php.
|
protected |
Definition at line 29 of file class.ilStructureObject.php.
| string ilStructureObject::$origin_id |
Definition at line 30 of file class.ilStructureObject.php.
| ilLMTree ilStructureObject::$tree |
Definition at line 31 of file class.ilStructureObject.php.