|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilLMObject:
Collaboration diagram for ilLMObject:Public Member Functions | |
| __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... | |
| getExportIDInfo (int $a_lm_id, int $a_exp_id, string $a_type="pg") | |
Static Public Member Functions | |
| static | _lookupNID (int $a_lm_id, int $a_lm_obj_id, string $a_type) |
| lookup named identifier (ILIAS_NID) More... | |
| 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 | _writePublicAccessStatus (array $a_pages, int $a_cont_obj_id) |
| update public access flags in lm_data for all pages of a content object More... | |
| static | _isPagePublic (int $a_node_id, bool $a_check_public_mode=false) |
| 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 | 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 | |
| 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 |
Static Protected Member Functions | |
| static | _lookup (int $a_obj_id, string $a_field) |
Protected Attributes | |
| string | $layout = "" |
| string | $import_id = "" |
| ilObjUser | $user |
| ilDBInterface | $db |
Static Protected Attributes | |
| 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 Class ilLMObject
Base class for ilStructureObjects and ilPageObjects (see ILIAS DTD)
Definition at line 26 of file class.ilLMObject.php.
| ilLMObject::__construct | ( | ilObjLearningModule | $a_content_obj, |
| int | $a_id = 0 |
||
| ) |
Definition at line 47 of file class.ilLMObject.php.
References $DIC, ilObject\getId(), read(), setContentObject(), setLMId(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
delete all objects of content object (digi book / learning module)
Definition at line 668 of file class.ilLMObject.php.
References $DIC, $ilDB, ilObject\getId(), and ilLMObjectFactory\getInstance().
Referenced by ilObjContentObject\getExportDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
checks wether a lm content object with specified id exists or not
Definition at line 617 of file class.ilLMObject.php.
References $DIC, $ilDB, $q, and ilInternalLink\_extractObjIdOfTarget().
Referenced by ilCourseObjectiveMaterials\__read(), ilInternalLink\_exists(), ilLinksTableGUI\fillRow(), getDuplicateExportIDs(), ilLMContentRendererGUI\render(), ilHelpGUI\showHelp(), and ilLMPresentationGUI\showPrintView().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all objects of learning module.
Definition at line 1246 of file class.ilLMObject.php.
Referenced by ilLMTableOfContentsExplorerGUI\__construct(), and ilLMTracker\loadLMTrackingData().
Here is the caller graph for this function:
|
static |
Get all items for an import ID.
(only for items notnot in trash)
Definition at line 585 of file class.ilLMObject.php.
References $DIC, $ilDB, $q, and ilObject\_hasUntrashedReference().
Referenced by updateInternalLinks().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get current object id for import id (static)
import ids can exist multiple times (if the same learning module has been imported multiple times). we get the object id of the last imported object, that is not in trash
Definition at line 555 of file class.ilLMObject.php.
References $DIC, $ilDB, $q, ilObject\_getAllReferences(), ilObject\_hasUntrashedReference(), and _lookupContObjID().
Referenced by ilInternalLink\_getIdForImportId(), SurveyQuestion\_resolveInternalLink(), and assQuestion\resolveInternalLink().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1381 of file class.ilLMObject.php.
References ilStructureObject\_getPresentationTitle(), and ilLMPageObject\_getPresentationTitle().
Referenced by ilPublicSectionExplorerGUI\getNodeContent(), and ilLMExplorerGUI\getNodeContent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 501 of file class.ilLMObject.php.
References $DIC, $ilDB, $message, $q, $r, _lookupContObjID(), and ilUtil\yn2tf().
Referenced by ilLMNavigationRendererGUI\addDropdown(), ilLMNavigationStatus\determineStatus(), ilLMContentRendererGUI\determineStatus(), ilLMNavigationStatus\getPredecessorPageId(), ilLMNavigationStatus\getSuccessorPageId(), ilLMTOCExplorerGUI\isNodeClickable(), ilLMPresentationGUI\showPrintView(), and ilLMPresentationGUI\showPrintViewSelection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 242 of file class.ilLMObject.php.
|
static |
get learning module id for lm object
Definition at line 691 of file class.ilLMObject.php.
Referenced by ilObjContentObjectAccess\_checkGoto(), _getIdForImportId(), ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMPageObjectGUI\_goto(), ilStructureObjectGUI\_goto(), _isPagePublic(), ilObjContentObjectGUI\activatePages(), ilObjMediaObjectAccess\checkAccessGlossaryTerm(), ilLMEditorGUI\checkRequestParameters(), clipboardCopy(), ilLMNavigationStatus\determineStatus(), ilLinksTableGUI\fillRow(), ilLearningModuleImporter\finalProcessing(), ilPageLinker\getLinkXML(), ilLMPageObjectGUI\getLinkXML(), ilLMPresentationLinker\getLinkXML(), ilObjMediaObject\getParentObjectIdForUsage(), ilLearningModuleDataSet\importRecord(), ilGlossaryPresentationGUI\listDefinitions(), ilStartUpGUI\processIndexPHP(), ilLMEditShortTitlesGUI\save(), ilHelpGUI\showHelp(), and updateInternalLinks().
Here is the caller graph for this function:
|
static |
lookup named identifier (ILIAS_NID)
Definition at line 109 of file class.ilLMObject.php.
References $id.
|
static |
Definition at line 265 of file class.ilLMObject.php.
Referenced by ilStructureObject\_getPresentationTitle(), and ilLMPageObject\_getPresentationTitle().
Here is the caller graph for this function:
|
static |
Definition at line 260 of file class.ilLMObject.php.
Referenced by ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilObjContentObjectGUI\confirmedDelete(), ilObjContentObject\executeDragDrop(), ilCourseObjectiveMaterialAssignmentTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilCourseObjectivesTableGUI\fillRow(), ilLMQuestionListTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilLMTracker\getBlockedUsersInformation(), ilObjLearningModuleSubItemListGUI\getHTML(), ilImageMapEditorGUI\getMapAreaLinkString(), ilLinkInputGUI\getTranslatedValue(), ilCourseObjectiveMaterialAssignmentTableGUI\parse(), ilLMContentRendererGUI\renderDeactivatedPageMessage(), ilLMContentRendererGUI\renderNoPageInChapterMessage(), ILIAS\Containter\Content\ObjectiveRenderer\renderObjective(), ilLMContentRendererGUI\renderPreconditionsOfPage(), ilHelpGUI\search(), ilHelpGUI\showHelp(), ilHelpGUI\showPage(), and ilObjContentObject\validatePages().
Here is the caller graph for this function:
|
static |
Definition at line 270 of file class.ilLMObject.php.
Referenced by ilStructureObjectGUI\activatePages(), clipboardCopy(), ilLMNavigationStatus\determineStatus(), ilLMContentRendererGUI\determineStatus(), ILIAS\COPage\Link\LinkManager\getDefaultLMTypeLookuper(), ilLMTOCExplorerGUIFactory\getExplorer(), ilObjLearningModuleSubItemListGUI\getHTML(), ilLMTOCExplorerGUI\getRootNode(), ilLMNavigationStatus\getSuccessorPageId(), ilObjContentObjectGUI\saveExportIds(), ilLMPresentationGUI\showPrintView(), uniqueTypesCheck(), updateInternalLinks(), ilCourseObjectivesGUI\updateMaterialAssignment(), and writeLayout().
Here is the caller graph for this function:
|
static |
Definition at line 378 of file class.ilLMObject.php.
References $DIC, $ilDB, and $q.
Referenced by ilQuestionPageParser\handlerEndTag().
Here is the caller graph for this function:
|
static |
update public access flags in lm_data for all pages of a content object
Definition at line 444 of file class.ilLMObject.php.
References $DIC, $ilDB, $ilErr, $message, $q, and $r.
Referenced by ilObjContentObjectGUI\savePublicSection(), and ilObjContentObjectGUI\savePublicSectionPages().
Here is the caller graph for this function:
|
static |
Definition at line 295 of file class.ilLMObject.php.
Referenced by MDUpdateListener(), and saveTitles().
Here is the caller graph for this function:
|
static |
Copy a set of chapters/pages into the clipboard.
Definition at line 812 of file class.ilLMObject.php.
References $DIC, _lookupContObjID(), _lookupType(), ilMD\cloneMD(), ilObject\getId(), ilObjectFactory\getInstanceByObjId(), getTree(), ILIAS\Repository\int(), ilTree\POS_LAST_NODE, putInTree(), and ilStr\subStr().
Referenced by clipboardCut(), ilStructureObjectGUI\copyItems(), ilObjContentObjectGUI\copyItems(), and ilObjContentObjectGUI\copyPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Copy a set of chapters/pages into the clipboard.
Definition at line 771 of file class.ilLMObject.php.
References $id, $path, clipboardCopy(), and getTree().
Referenced by ilStructureObjectGUI\cutItems(), ilObjContentObjectGUI\cutItems(), and ilObjContentObjectGUI\movePage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::create | ( | bool | $a_upload = false | ) |
Definition at line 393 of file class.ilLMObject.php.
References $db, $ilDB, ilHistory\_createEntry(), createMetaData(), getId(), getImportId(), getLayout(), getLMId(), getShortTitle(), getTitle(), getType(), and setId().
Here is the call graph for this function:| ilLMObject::createMetaData | ( | ) |
create meta data entry
Definition at line 129 of file class.ilLMObject.php.
References $user, getDescription(), getId(), getLMId(), getTitle(), and getType().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::delete | ( | bool | $a_delete_meta_data = true | ) |
Definition at line 537 of file class.ilLMObject.php.
References $db, $ilDB, deleteMetaData(), and getId().
Here is the call graph for this function:| ilLMObject::deleteMetaData | ( | ) |
delete meta data entry
Definition at line 166 of file class.ilLMObject.php.
References getId(), getLMId(), and getType().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::existsExportID | ( | int | $a_lm_id, |
| int | $a_exp_id, | ||
| string | $a_type = "pg" |
||
| ) |
Does export ID exist in lm?
Definition at line 1344 of file class.ilLMObject.php.
References ilMDIdentifier\existsIdInRbacObject().
Referenced by ilLMPageObject\copy().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::getContentObject | ( | ) |
Definition at line 343 of file class.ilLMObject.php.
References $content_object.
Referenced by ilStructureObject\exportXMLStructureObjects(), and putInTree().
Here is the caller graph for this function:| ilLMObject::getDescription | ( | ) |
Definition at line 313 of file class.ilLMObject.php.
References $description.
Referenced by ilStructureObject\copy(), ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), and createMetaData().
Here is the caller graph for this function:
|
static |
Get duplicate export IDs (count export ID usages)
Definition at line 1355 of file class.ilLMObject.php.
References Vendor\Package\$e, $res, _exists(), and ilMDIdentifier\_getEntriesForRbacObj().
Referenced by ilExportIDTableGUI\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1321 of file class.ilLMObject.php.
References Vendor\Package\$e, and ilMDIdentifier\_getEntriesForObj().
Referenced by ilLMPageObject\copy(), ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages(), ilExportIDTableGUI\fillRow(), ilLMPresentationLinker\getLink(), and ilLMTOCExplorerGUI\getNodeHref().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::getExportIDInfo | ( | int | $a_lm_id, |
| int | $a_exp_id, | ||
| string | $a_type = "pg" |
||
| ) |
Definition at line 1371 of file class.ilLMObject.php.
References $data, and ilMDIdentifier\readIdData().
Here is the call graph for this function:| ilLMObject::getId | ( | ) |
Definition at line 353 of file class.ilLMObject.php.
References $id.
Referenced by ilStructureObject\copy(), create(), createMetaData(), ilStructureObject\delete(), delete(), ilStructureObject\delete_rec(), deleteMetaData(), ilStructureObject\exportXML(), ilStructureObject\exportXMLMetaData(), ilStructureObject\exportXMLPageObjects(), ilStructureObject\exportXMLStructureObjects(), MDUpdateListener(), ilStructureObject\modifyExportIdentifier(), putInTree(), update(), and updateMetaData().
Here is the caller graph for this function:| ilLMObject::getImportId | ( | ) |
Definition at line 358 of file class.ilLMObject.php.
References $import_id.
Referenced by create().
Here is the caller graph for this function:| ilLMObject::getLayout | ( | ) |
Definition at line 373 of file class.ilLMObject.php.
References $layout.
Referenced by ilLMPageObject\copy(), create(), and update().
Here is the caller graph for this function:| ilLMObject::getLMId | ( | ) |
Definition at line 333 of file class.ilLMObject.php.
References $lm_id.
Referenced by ilStructureObject\__construct(), ilStructureObject\copy(), ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), ilLMPageObject\create(), create(), createMetaData(), deleteMetaData(), ilStructureObject\exportXMLMetaData(), ilLMPageObject\exportXMLMetaData(), MDUpdateListener(), update(), and updateMetaData().
Here is the caller graph for this function:
|
static |
Definition at line 637 of file class.ilLMObject.php.
Referenced by ilLMPageObject\getPageList(), ilHelpExporter\getXmlExportTailDependencies(), and ilLearningModuleExporter\getXmlExportTailDependencies().
Here is the caller graph for this function:
|
static |
Get pages of chapter.
Definition at line 1228 of file class.ilLMObject.php.
Referenced by ilHelpGUI\showHelp().
Here is the caller graph for this function:| ilLMObject::getShortTitle | ( | ) |
Definition at line 237 of file class.ilLMObject.php.
References $short_title.
Referenced by ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), create(), and update().
Here is the caller graph for this function:
|
static |
Definition at line 1417 of file class.ilLMObject.php.
References $DIC, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilLMEditShortTitlesTableGUI\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::getTitle | ( | ) |
Definition at line 227 of file class.ilLMObject.php.
References $title.
Referenced by ilStructureObject\copy(), ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), create(), createMetaData(), update(), and updateMetaData().
Here is the caller graph for this function:
|
static |
Get learning module tree.
Definition at line 759 of file class.ilLMObject.php.
Referenced by clipboardCopy(), and clipboardCut().
Here is the caller graph for this function:| ilLMObject::getType | ( | ) |
Definition at line 323 of file class.ilLMObject.php.
References $type.
Referenced by ilStructureObject\copy(), ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), create(), createMetaData(), deleteMetaData(), ilStructureObject\exportXMLMetaData(), ilLMPageObject\exportXMLMetaData(), MDUpdateListener(), putInTree(), and updateMetaData().
Here is the caller graph for this function:
|
static |
Lookup type.
Definition at line 1211 of file class.ilLMObject.php.
Referenced by ilLMPagesTableGUI\fillRow().
Here is the caller graph for this function:| ilLMObject::MDUpdateListener | ( | string | $a_element | ) |
Meta data update listener Important note: Do never call create() or update() method of ilObject here.
It would result in an endless loop: update object -> update meta -> update object -> ... Use static _writeTitle() ... methods instead.
| string | $a_element | md element |
Definition at line 73 of file class.ilLMObject.php.
References $id, ilLPStatusWrapper\_refreshStatus(), _writeTitle(), getId(), ilObjectLP\getInstance(), getLMId(), getType(), ilLPObjSettings\LP_MODE_COLLECTION_TLT, and ilLPObjSettings\LP_MODE_TLT.
Here is the call graph for this function:
|
static |
Preload data records by lm.
Definition at line 206 of file class.ilLMObject.php.
Referenced by ilLMExplorerGUI\__construct().
Here is the caller graph for this function:
|
static |
put this object into content object tree
Definition at line 712 of file class.ilLMObject.php.
References $DIC, getContentObject(), getId(), ilTree\getRootId(), getType(), and ilTree\POS_FIRST_NODE.
Referenced by clipboardCopy(), ilLearningModuleDataSet\importRecord(), ilStructureObjectGUI\insertChapter(), ilObjContentObjectGUI\insertChapter(), ilStructureObjectGUI\insertPage(), ilLMPageObject\insertPagesFromTemplate(), and ilObjContentObject\removeAutoGlossary().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::read | ( | ) |
Definition at line 183 of file class.ilLMObject.php.
References $db, $ilDB, setImportId(), setLayout(), setShortTitle(), and setTitle().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1273 of file class.ilLMObject.php.
References Vendor\Package\$e, ILIAS\LTI\ToolProvider\$updated, and ilMDIdentifier\_getEntriesForObj().
Referenced by ilLMPageObject\copy(), and ilObjContentObjectGUI\saveExportIds().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Save titles for lm objects.
Definition at line 957 of file class.ilLMObject.php.
References $id, _writeTitle(), ilMD\getGeneral(), ilObject\getId(), ilLMObjectFactory\getInstance(), ilFormPropertyGUI\removeProhibitedCharacters(), and ilMDBase\update().
Referenced by ilStructureObjectGUI\saveAllTitles(), and ilObjContentObjectGUI\saveAllTitles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::setContentObject | ( | ilObjLearningModule | $a_content_obj | ) |
Definition at line 338 of file class.ilLMObject.php.
Referenced by __construct().
Here is the caller graph for this function:| ilLMObject::setDataRecord | ( | array | $a_record | ) |
this method should only be called by class ilLMObjectFactory
Definition at line 178 of file class.ilLMObject.php.
| ilLMObject::setDescription | ( | string | $a_description | ) |
Definition at line 308 of file class.ilLMObject.php.
| ilLMObject::setId | ( | int | $a_id | ) |
Definition at line 348 of file class.ilLMObject.php.
Referenced by create().
Here is the caller graph for this function:| ilLMObject::setImportId | ( | string | $a_id | ) |
Definition at line 363 of file class.ilLMObject.php.
Referenced by read().
Here is the caller graph for this function:| ilLMObject::setLayout | ( | string | $a_val | ) |
Definition at line 368 of file class.ilLMObject.php.
Referenced by read().
Here is the caller graph for this function:| ilLMObject::setLMId | ( | int | $a_lm_id | ) |
Definition at line 328 of file class.ilLMObject.php.
Referenced by __construct(), and ilLMPageObjectGUI\setLMPageObject().
Here is the caller graph for this function:| ilLMObject::setShortTitle | ( | string | $a_title | ) |
Definition at line 232 of file class.ilLMObject.php.
Referenced by read().
Here is the caller graph for this function:| ilLMObject::setTitle | ( | string | $a_title | ) |
Definition at line 222 of file class.ilLMObject.php.
Referenced by read().
Here is the caller graph for this function:| ilLMObject::setType | ( | string | $a_type | ) |
Definition at line 318 of file class.ilLMObject.php.
Referenced by ilStructureObject\__construct(), and ilLMPageObject\__construct().
Here is the caller graph for this function:
|
static |
Check for unique types (all pages or all chapters)
Definition at line 1157 of file class.ilLMObject.php.
References $type, and _lookupType().
Referenced by ilStructureObjectGUI\copyItems(), and ilStructureObjectGUI\cutItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::update | ( | ) |
Definition at line 424 of file class.ilLMObject.php.
References $db, $ilDB, getId(), getLayout(), getLMId(), getShortTitle(), getTitle(), and updateMetaData().
Here is the call graph for this function:
|
static |
Update internal links, after multiple pages have been copied.
Definition at line 994 of file class.ilLMObject.php.
References ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), ilInternalLink\_extractTypeOfTarget(), _getAllObjectsForImportId(), ilMapArea\_getMobsForTarget(), ilInternalLink\_getSourcesOfTarget(), _lookupContObjID(), _lookupType(), ilObject\_lookupType(), ilPageObjectFactory\getInstance(), IL_INST_ID, ilPageObject\lookupTranslations(), and ilObjMediaObject\lookupUsages().
Referenced by ilObjContentObjectGUI\activatePages(), ilObjContentObject\copyAllPagesAndChapters(), ilStructureObjectGUI\insertChapterClip(), ilObjContentObjectGUI\insertChapterClip(), and ilStructureObjectGUI\insertPageClip().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMObject::updateMetaData | ( | ) |
update meta data entry
Definition at line 146 of file class.ilLMObject.php.
References getId(), getLMId(), getTitle(), and getType().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Write layout setting.
Definition at line 1176 of file class.ilLMObject.php.
References Vendor\Package\$c, $DIC, $ilDB, and _lookupType().
Referenced by ilLMPageObjectGUI\saveLayout(), ilStructureObjectGUI\savePageLayout(), and ilObjContentObjectGUI\savePageLayout().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1441 of file class.ilLMObject.php.
References $DIC, ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilLMEditShortTitlesGUI\save().
Here is the call graph for this function:
Here is the caller graph for this function:| bool ilLMObject::$active = true |
Definition at line 43 of file class.ilLMObject.php.
Referenced by ilLMPageObject\_getPresentationTitle().
| ilObjLearningModule ilLMObject::$content_object |
Definition at line 39 of file class.ilLMObject.php.
Referenced by getContentObject().
| array ilLMObject::$data_record |
Definition at line 38 of file class.ilLMObject.php.
|
staticprotected |
Definition at line 44 of file class.ilLMObject.php.
|
protected |
| string ilLMObject::$description = "" |
Definition at line 42 of file class.ilLMObject.php.
Referenced by getDescription().
| int ilLMObject::$id = 0 |
Definition at line 37 of file class.ilLMObject.php.
Referenced by _lookupNID(), clipboardCut(), ilLMPageObject\getId(), getId(), MDUpdateListener(), and saveTitles().
|
protected |
Definition at line 32 of file class.ilLMObject.php.
Referenced by getImportId().
|
protected |
Definition at line 31 of file class.ilLMObject.php.
Referenced by getLayout().
| int ilLMObject::$lm_id = 0 |
Definition at line 35 of file class.ilLMObject.php.
Referenced by getLMId().
| string ilLMObject::$short_title = "" |
Definition at line 41 of file class.ilLMObject.php.
Referenced by getShortTitle().
| string ilLMObject::$title = "" |
Definition at line 40 of file class.ilLMObject.php.
Referenced by ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), getTitle(), and ilLMPageObject\insertPagesFromTemplate().
| string ilLMObject::$type = "" |
Definition at line 36 of file class.ilLMObject.php.
Referenced by getType(), and uniqueTypesCheck().
|
protected |
Definition at line 34 of file class.ilLMObject.php.
Referenced by createMetaData().
| const ilLMObject::CHAPTER_TITLE = "st_title" |
Definition at line 28 of file class.ilLMObject.php.
Referenced by ilLMNavigationRendererGUI\addDropdown(), ilLMTOCExplorerGUI\getNodeContent(), ilLMPresentationGUI\ilLocator(), ilLMPresentationGUI\showPrintView(), ilLMPresentationGUI\showPrintViewSelection(), and ilStructureObjectGUI\subchap().
| const ilLMObject::NO_HEADER = "none" |
Definition at line 30 of file class.ilLMObject.php.
| const ilLMObject::PAGE_TITLE = "pg_title" |
Definition at line 29 of file class.ilLMObject.php.
Referenced by ilObjContentObject\createProperties(), ilPublicSectionExplorerGUI\getNodeContent(), ilLMExplorerGUI\getNodeContent(), and ilLMPresentationGUI\showPrintView().