| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Class ilLMObject. More...
 Inheritance diagram for ilLMObject:
 Inheritance diagram for ilLMObject: Collaboration diagram for ilLMObject:
 Collaboration diagram for ilLMObject:| Public Member Functions | |
| ilLMObject ($a_content_obj, $a_id=0) | |
| MDUpdateListener ($a_element) | |
| Meta data update listener. | |
| _lookupNID ($a_lm_id, $a_lm_obj_id, $a_type) | |
| lookup named identifier (ILIAS_NID) | |
| 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 ilLMObjectFactory | |
| read () | |
| setTitle ($a_title) | |
| set title of lm object | |
| getTitle () | |
| get title of lm object | |
| _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. | |
| getLayout () | |
| Get layout. | |
| _writeImportId ($a_id, $a_import_id) | |
| write import id to db (static) | |
| create ($a_upload=false) | |
| update () | |
| update complete object | |
| delete ($a_delete_meta_data=true) | |
| delete lm object data | |
| _getIdForImportId ($a_import_id) | |
| get current object id for import id (static) | |
| _getAllObjectsForImportId ($a_import_id, $a_in_lm=0) | |
| Get all items for an import ID. | |
| _exists ($a_id) | |
| checks wether a lm content object with specified id exists or not | |
| getObjectList ($lm_id, $type="") | |
| static | |
| _deleteAllObjectData (&$a_cobj) | |
| delete all objects of content object (digi book / learning module) | |
| _lookupContObjID ($a_id) | |
| get learning module / digibook id for lm object | |
| clipboardCut ($a_cont_obj_id, $a_ids) | |
| Copy a set of chapters/pages into the clipboard. | |
| existsExportID ($a_lm_id, $a_exp_id, $a_type="pg") | |
| Does export ID exist in lm? | |
| getExportIDInfo ($a_lm_id, $a_exp_id, $a_type="pg") | |
| Does export ID exist in lm? | |
| Static Public Member Functions | |
| static | preloadDataByLM ($a_lm_id) | 
| Preload data records by lm. | |
| static | _lookupTitle ($a_obj_id) | 
| Lookup title. | |
| static | _lookupType ($a_obj_id, $a_lm_id=0) | 
| Lookup type. | |
| _writePublicAccessStatus ($a_pages, $a_cont_obj_id) | |
| update public access flags in lm_data for all pages of a content object | |
| 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 | |
| static | getTree ($a_cont_obj_id) | 
| Get learningmodule tree. | |
| static | clipboardCopy ($a_cont_obj_id, $a_ids) | 
| Copy a set of chapters/pages into the clipboard. | |
| 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. | |
| static | saveTitles ($a_lm, $a_titles, $a_lang="-") | 
| Save titles for lm objects. | |
| static | updateInternalLinks ($a_copied_nodes, $a_parent_type="lm") | 
| Update internal links, after multiple pages have been copied. | |
| static | uniqueTypesCheck ($a_items) | 
| Check for unique types (all pages or all chapters) | |
| static | writeLayout ($a_obj_id, $a_layout, $a_lm=null) | 
| Write layout setting. | |
| static | lookupLayout ($a_obj_id) | 
| Lookup type. | |
| static | getPagesOfChapter ($a_lm_id, $a_chap_id) | 
| Get pages of chapter. | |
| static | saveExportId ($a_lm_id, $a_lmobj_id, $a_exp_id, $a_type="pg") | 
| Save export id. | |
| static | getExportId ($a_lm_id, $a_lmobj_id, $a_type="pg") | 
| Get export ID. | |
| static | getDuplicateExportIDs ($a_lm_id, $a_type="pg") | 
| Get duplicate export IDs (count export ID usages) | |
| 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. | |
| Data Fields | |
| $ilias | |
| $lm_id | |
| $type | |
| $id | |
| $meta_data | |
| $data_record | |
| $content_object | |
| $title | |
| $description | |
| $active = true | |
| Static Protected Attributes | |
| static | $data_records = array() | 
Class ilLMObject.
Base class for ilStructureObjects and ilPageObjects (see ILIAS DTD)
Definition at line 17 of file class.ilLMObject.php.
| ilLMObject::_deleteAllObjectData | ( | & | $a_cobj | ) | 
delete all objects of content object (digi book / learning module)
Definition at line 710 of file class.ilLMObject.php.
References $query, and ilLMObjectFactory\getInstance().
Referenced by ilObjContentObject\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:| ilLMObject::_exists | ( | $a_id | ) | 
checks wether a lm content object with specified id exists or not
| int | $id | id | 
Definition at line 655 of file class.ilLMObject.php.
References ilInternalLink\_extractObjIdOfTarget().
Referenced by ilLinksTableGUI\fillRow(), getDuplicateExportIDs(), ilLMPresentationGUI\ilPage(), ilHelpGUI\showHelp(), and ilLMPresentationGUI\showPrintView().
 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:| ilLMObject::_getAllObjectsForImportId | ( | $a_import_id, | |
| $a_in_lm = 0 | |||
| ) | 
Get all items for an import ID.
(only for items notnot in trash)
| int | $a_import_id | import id | 
Definition at line 621 of file class.ilLMObject.php.
References ilObject\_hasUntrashedReference().
Referenced by updateInternalLinks().
 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:| ilLMObject::_getIdForImportId | ( | $a_import_id | ) | 
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
| int | $a_import_id | import id | 
Definition at line 588 of file class.ilLMObject.php.
References $lm_id, ilObject\_hasUntrashedReference(), _lookupContObjID(), and ilObjHelpSettings\isHelpLM().
Referenced by SurveyQuestion\_resolveInternalLink(), and assQuestion\_resolveInternalLink().
 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:| 
 | static | 
Get affective title.
| @return | 
Reimplemented in ilLMPageObject.
Definition at line 1475 of file class.ilLMObject.php.
Referenced by ilLMExplorerGUI\getNodeContent().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 529 of file class.ilLMObject.php.
References $ilLog, $lm_id, $row, and ilUtil\yn2tf().
Referenced by ilLMPresentationGUI\executeCommand(), ilPublicSectionSelector\formatObject(), ilLMPresentationGUI\getCurrentPageId(), ilLMPresentationGUI\ilLMNavigation(), ilLMPresentationGUI\ilPage(), ilLMExplorer\isClickable(), ilShopPublicSectionSelector\isClickable(), ilLMTOCExplorer\isClickable(), ilTableOfContentsExplorer\isClickable(), ilLMTOCExplorerGUI\isNodeClickable(), ilLMPresentationGUI\showPrintView(), and ilLMPresentationGUI\showPrintViewSelection().
 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:| ilLMObject::_lookupContObjID | ( | $a_id | ) | 
get learning module / digibook id for lm object
Definition at line 737 of file class.ilLMObject.php.
References $query.
Referenced by ilObjContentObjectAccess\_checkGoto(), ilStartUpGUI\_checkGoto(), _getIdForImportId(), ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMPageObjectGUI\_goto(), ilStructureObjectGUI\_goto(), ilLMPageObject\_splitPage(), ilLMPageObject\_splitPageNext(), SurveyQuestion\addInternalLink(), ilWebAccessChecker\checkAccessGlossaryTerm(), ilLinksTableGUI\fillRow(), ilLMPageObjectGUI\getLinkXML(), ilGlossaryPresentationGUI\getLinkXML(), ilLMPresentationGUI\getLinkXML(), ilObjMediaObject\getParentObjectIdForUsage(), ilGlossaryPresentationGUI\listDefinitions(), ilObjContentObjectGUI\pastePage(), pasteTree(), ilPageObjectGUI\setDefaultLinkXml(), SurveyQuestion\setMaterial(), and updateInternalLinks().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::_lookupNID | ( | $a_lm_id, | |
| $a_lm_obj_id, | |||
| $a_type | |||
| ) | 
lookup named identifier (ILIAS_NID)
Definition at line 91 of file class.ilLMObject.php.
References $id.
| 
 | static | 
Lookup title.
| int | lm object id | 
Definition at line 252 of file class.ilLMObject.php.
References $query.
Referenced by ilShopResultPresentationGUI\__appendChildLinks(), ilCourseObjectivePresentationGUI\__showLearningMaterials(), ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), clipboardCopy(), ilObjContentObjectGUI\confirmedDelete(), ilObjContentObject\executeDragDrop(), ilTermUsagesTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilCourseObjectivesTableGUI\fillRow(), ilCourseObjectiveMaterialAssignmentTableGUI\fillRow(), ilLMQuestionListTableGUI\fillRow(), ilObjLearningModuleSubItemListGUI\getHTML(), ilImageMapEditorGUI\getMapAreaLinkString(), ilLinkInputGUI\getTranslatedValue(), ilLMPresentationGUI\ilPage(), ilCourseObjectiveMaterialAssignmentTableGUI\parse(), ilContainerObjectiveGUI\renderObjective(), ilHelpGUI\showHelp(), ilHelpGUI\showPage(), and ilLMPresentationGUI\showPreconditionsOfPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Lookup type.
| int | id of pg st | 
| int | id of lm object [optional] | 
Definition at line 275 of file class.ilLMObject.php.
References $query.
Referenced by ilShopResultPresentationGUI\__appendChildLinks(), ilLMPageObject\_splitPage(), ilLMPageObject\_splitPageNext(), ilStructureObjectGUI\activatePages(), clipboardCopy(), ilLMPresentationGUI\getCurrentPageId(), ilObjLearningModuleSubItemListGUI\getHTML(), ilLMPresentationGUI\ilLMNavigation(), ilLMPresentationGUI\ilPage(), ilLMPresentationGUI\ilTOC(), ilPageObject\moveIntLinks(), pasteTree(), ilObjContentObjectGUI\saveExportIds(), ilLMPresentationGUI\showPrintView(), ilLMPresentationGUI\showTableOfContents(), uniqueTypesCheck(), updateInternalLinks(), ilCourseObjectivesGUI\updateMaterialAssignment(), and writeLayout().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::_writeImportId | ( | $a_id, | |
| $a_import_id | |||
| ) | 
write import id to db (static)
| int | $a_id | lm object id | 
| string | $a_import_id | import id public | 
Definition at line 399 of file class.ilLMObject.php.
Referenced by ilContObjParser\handlerEndTag().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
update public access flags in lm_data for all pages of a content object
public
| array | page ids | 
| integer | content object id | 
Definition at line 468 of file class.ilLMObject.php.
References $ilErr, $ilLog, and $row.
Referenced by ilObjContentObjectGUI\savePublicSection().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::_writeTitle | ( | $a_obj_id, | |
| $a_title | |||
| ) | 
Definition at line 300 of file class.ilLMObject.php.
References $query.
Referenced by MDUpdateListener(), and saveTitles().
 Here is the caller 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 876 of file class.ilLMObject.php.
References $id, $ilUser, _lookupTitle(), _lookupType(), and getTree().
Referenced by clipboardCut(), ilStructureObjectGUI\copyItems(), ilObjContentObjectGUI\copyItems(), and ilObjContentObjectGUI\copyPage().
 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:| ilLMObject::clipboardCut | ( | $a_cont_obj_id, | |
| $a_ids | |||
| ) | 
Copy a set of chapters/pages into the clipboard.
Definition at line 828 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::create | ( | $a_upload = false | ) | 
Reimplemented in ilLMPageObject, and ilStructureObject.
Definition at line 412 of file class.ilLMObject.php.
References $query, ilHistory\_createEntry(), createMetaData(), getId(), getImportId(), getLayout(), getLMId(), getTitle(), getType(), and setId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilLMObject::createMetaData | ( | ) | 
create meta data entry
Definition at line 116 of file class.ilLMObject.php.
References $ilUser, getDescription(), getId(), getLMId(), getTitle(), and getType().
Referenced by create().
 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:| ilLMObject::delete | ( | $a_delete_meta_data = true | ) | 
delete lm object data
Reimplemented in ilLMPageObject, and ilStructureObject.
Definition at line 566 of file class.ilLMObject.php.
References $query, deleteMetaData(), and getId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilLMObject::deleteMetaData | ( | ) | 
delete meta data entry
Definition at line 163 of file class.ilLMObject.php.
References getId(), getLMId(), and getType().
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:| ilLMObject::existsExportID | ( | $a_lm_id, | |
| $a_exp_id, | |||
| $a_type = "pg" | |||
| ) | 
Does export ID exist in lm?
| @return | 
Definition at line 1429 of file class.ilLMObject.php.
References ilMDIdentifier\existsIdInRbacObject().
Referenced by ilLMPageObject\copy().
 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:| & ilLMObject::getContentObject | ( | ) | 
Definition at line 347 of file class.ilLMObject.php.
References $content_object.
Referenced by ilStructureObject\exportFOPageObjects(), ilLMPageObject\exportXMLPageContent(), and ilStructureObject\exportXMLStructureObjects().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::getDescription | ( | ) | 
Definition at line 316 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:
 Here is the caller graph for this function:| 
 | static | 
Get duplicate export IDs (count export ID usages)
Definition at line 1438 of file class.ilLMObject.php.
References $res, _exists(), and ilMDIdentifier\_getEntriesForRbacObj().
Referenced by ilExportIDTableGUI\__construct().
 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:| 
 | static | 
Get export ID.
| @return | 
Definition at line 1407 of file class.ilLMObject.php.
References ilMDIdentifier\_getEntriesForObj().
Referenced by ilTableOfContentsExplorer\buildLinkTarget(), ilLMPageObject\copy(), ilObjContentObject\exportHTMLPages(), ilExportIDTableGUI\fillRow(), ilLMPresentationGUI\getLink(), and ilLMTOCExplorerGUI\getNodeHref().
 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:| ilLMObject::getExportIDInfo | ( | $a_lm_id, | |
| $a_exp_id, | |||
| $a_type = "pg" | |||
| ) | 
Does export ID exist in lm?
| @return | 
Definition at line 1462 of file class.ilLMObject.php.
References ilMDIdentifier\readIdData().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilLMObject::getId | ( | ) | 
Reimplemented in ilLMPageObject.
Definition at line 357 of file class.ilLMObject.php.
References $id.
Referenced by ilStructureObject\copy(), create(), createMetaData(), ilStructureObject\delete(), delete(), ilStructureObject\delete_rec(), deleteMetaData(), ilStructureObject\exportFOPageObjects(), ilStructureObject\exportXML(), ilStructureObject\exportXMLMetaData(), ilStructureObject\exportXMLPageObjects(), ilStructureObject\exportXMLStructureObjects(), MDUpdateListener(), ilStructureObject\modifyExportIdentifier(), update(), and updateMetaData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::getImportId | ( | ) | 
Definition at line 362 of file class.ilLMObject.php.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::getLayout | ( | ) | 
Get layout.
Definition at line 387 of file class.ilLMObject.php.
Referenced by ilLMPageObject\copy(), create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::getLMId | ( | ) | 
Definition at line 337 of file class.ilLMObject.php.
References $lm_id.
Referenced by 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:
 Here is the caller graph for this function:| ilLMObject::getObjectList | ( | $lm_id, | |
| $type = "" | |||
| ) | 
static
Definition at line 682 of file class.ilLMObject.php.
References $lm_id, $query, and $type.
Referenced by ilLMPageObject\getPageList(), ilHelpExporter\getXmlExportTailDependencies(), and ilObjContentObject\importFromZipFile().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get pages of chapter.
| @return | 
Definition at line 1320 of file class.ilLMObject.php.
Referenced by ilHelpGUI\showHelp().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::getTitle | ( | ) | 
get title of lm object
Definition at line 241 of file class.ilLMObject.php.
References $title.
Referenced by ilStructureObject\copy(), ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), create(), createMetaData(), ilStructureObject\exportFO(), update(), and updateMetaData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get learningmodule tree.
| int | learning module object id | 
Definition at line 815 of file class.ilLMObject.php.
Referenced by clipboardCopy(), and clipboardCut().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::getType | ( | ) | 
Definition at line 326 of file class.ilLMObject.php.
References $type.
Referenced by ilStructureObject\copy(), ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), create(), createMetaData(), deleteMetaData(), ilStructureObject\exportXMLMetaData(), ilLMPageObject\exportXMLMetaData(), MDUpdateListener(), and updateMetaData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::ilLMObject | ( | $a_content_obj, | |
| $a_id = 0 | |||
| ) | 
| object | $a_content_obj | content object (digi book or learning module) | 
Definition at line 34 of file class.ilLMObject.php.
References $ilias, read(), setContentObject(), and setLMId().
Referenced by ilLMPageObject\ilLMPageObject(), and ilStructureObject\ilStructureObject().
 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:| 
 | static | 
Lookup type.
| int | lm object id | 
Definition at line 1302 of file class.ilLMObject.php.
References $query.
Referenced by ilLMPresentationGUI\determineLayout(), and ilLMPagesTableGUI\fillRow().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::MDUpdateListener | ( | $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 59 of file class.ilLMObject.php.
References $id, _writeTitle(), getId(), getLMId(), and getType().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Paste item (tree) from clipboard to current lm.
Definition at line 916 of file class.ilLMObject.php.
References $ilias, $ilLog, $ilUser, _lookupContObjID(), _lookupType(), ilMD\cloneMD(), IL_LAST_NODE, and putInTree().
Referenced by ilObjContentObject\copyAllPagesAndChapters(), ilStructureObjectGUI\insertChapterClip(), ilObjContentObjectGUI\insertChapterClip(), and ilStructureObjectGUI\insertPageClip().
 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:| 
 | static | 
Preload data records by lm.
| integer | $a_lm_id | lm id | 
Definition at line 211 of file class.ilLMObject.php.
Referenced by ilLMExplorerGUI\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
put this object into content object tree
Definition at line 757 of file class.ilLMObject.php.
References $ilLog, IL_FIRST_NODE, and ilTree\setTableNames().
Referenced by ilObjContentObjectGUI\insertChapter(), and pasteTree().
 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:| ilLMObject::read | ( | ) | 
Reimplemented in ilLMPageObject.
Definition at line 181 of file class.ilLMObject.php.
References $ilBench, $query, setImportId(), setLayout(), and setTitle().
Referenced by ilLMObject().
 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:| 
 | static | 
Save export id.
| @return | 
Definition at line 1344 of file class.ilLMObject.php.
References $id, and ilMDIdentifier\_getEntriesForObj().
Referenced by ilLMPageObject\copy(), and ilObjContentObjectGUI\saveExportIds().
 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:| 
 | static | 
Save titles for lm objects.
| array | titles (key is ID, value is title) | 
Definition at line 1009 of file class.ilLMObject.php.
References $id, $title, _writeTitle(), ilMD\getGeneral(), ilLMObjectFactory\getInstance(), and ilMDBase\update().
Referenced by ilStructureObjectGUI\saveAllTitles(), and ilObjContentObjectGUI\saveAllTitles().
 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:| ilLMObject::setContentObject | ( | & | $a_content_obj | ) | 
Definition at line 342 of file class.ilLMObject.php.
Referenced by ilLMObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::setDataRecord | ( | $a_record | ) | 
this method should only be called by class ilLMObjectFactory
Definition at line 176 of file class.ilLMObject.php.
| ilLMObject::setDescription | ( | $a_description | ) | 
Definition at line 311 of file class.ilLMObject.php.
| ilLMObject::setId | ( | $a_id | ) | 
Reimplemented in ilLMPageObject.
Definition at line 352 of file class.ilLMObject.php.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::setImportId | ( | $a_id | ) | 
Definition at line 367 of file class.ilLMObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::setLayout | ( | $a_val | ) | 
Set layout.
| string | layout | 
Definition at line 377 of file class.ilLMObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::setLMId | ( | $a_lm_id | ) | 
Definition at line 331 of file class.ilLMObject.php.
Referenced by ilLMObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::setTitle | ( | $a_title | ) | 
set title of lm object
| string | $a_title | title of chapter or page | 
Definition at line 231 of file class.ilLMObject.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::setType | ( | $a_type | ) | 
Definition at line 321 of file class.ilLMObject.php.
Referenced by ilLMPageObject\ilLMPageObject(), and ilStructureObject\ilStructureObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Check for unique types (all pages or all chapters)
Definition at line 1239 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLMObject::update | ( | ) | 
update complete object
Definition at line 444 of file class.ilLMObject.php.
References $query, getId(), getLayout(), getLMId(), getTitle(), and updateMetaData().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Update internal links, after multiple pages have been copied.
Definition at line 1049 of file class.ilLMObject.php.
References $mobs, $t, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), ilInternalLink\_extractTypeOfTarget(), _getAllObjectsForImportId(), ilMapArea\_getMobsForTarget(), ilInternalLink\_getSourcesOfTarget(), _lookupContObjID(), _lookupType(), ilPageObjectFactory\getInstance(), and ilObjMediaObject\lookupUsages().
Referenced by ilObjContentObject\copyAllPagesAndChapters(), ilStructureObjectGUI\insertChapterClip(), ilObjContentObjectGUI\insertChapterClip(), ilStructureObjectGUI\insertPageClip(), and ilObjContentObjectGUI\pastePage().
 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:| ilLMObject::updateMetaData | ( | ) | 
update meta data entry
Definition at line 137 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Write layout setting.
| int | lm object id | 
| string | layout | 
Definition at line 1264 of file class.ilLMObject.php.
References $query, $t, and _lookupType().
Referenced by ilLMPageObjectGUI\saveLayout(), ilStructureObjectGUI\savePageLayout(), and ilObjContentObjectGUI\savePageLayout().
 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:| ilLMObject::$active = true | 
Definition at line 28 of file class.ilLMObject.php.
Referenced by ilLMPageObject\_getPresentationTitle().
| ilLMObject::$content_object | 
Definition at line 25 of file class.ilLMObject.php.
Referenced by getContentObject().
| ilLMObject::$data_record | 
Definition at line 24 of file class.ilLMObject.php.
| 
 | staticprotected | 
Definition at line 29 of file class.ilLMObject.php.
| ilLMObject::$description | 
Definition at line 27 of file class.ilLMObject.php.
Referenced by getDescription().
| ilLMObject::$id | 
Definition at line 22 of file class.ilLMObject.php.
Referenced by _lookupNID(), clipboardCopy(), clipboardCut(), getId(), MDUpdateListener(), saveExportId(), and saveTitles().
| ilLMObject::$ilias | 
Definition at line 19 of file class.ilLMObject.php.
Referenced by ilLMObject(), and pasteTree().
| ilLMObject::$lm_id | 
Definition at line 20 of file class.ilLMObject.php.
Referenced by _getIdForImportId(), _isPagePublic(), ilLMPageObject\_splitPage(), ilLMPageObject\_splitPageNext(), getLMId(), getObjectList(), and ilLMPageObject\getPageList().
| ilLMObject::$meta_data | 
Definition at line 23 of file class.ilLMObject.php.
| ilLMObject::$title | 
Definition at line 26 of file class.ilLMObject.php.
Referenced by ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMPageObject\exportFO(), getTitle(), and saveTitles().
| ilLMObject::$type | 
Definition at line 21 of file class.ilLMObject.php.
Referenced by ilLMPageObject\_splitPage(), ilLMPageObject\_splitPageNext(), getObjectList(), getType(), and uniqueTypesCheck().