ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilLMObject. More...
Public Member Functions | |
__construct ($a_content_obj, $a_id=0) | |
MDUpdateListener ($a_element) | |
Meta data update listener. 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... | |
setShortTitle ($a_title) | |
set short title of lm object More... | |
getShortTitle () | |
get short title of lm object More... | |
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... | |
create ($a_upload=false) | |
update () | |
update complete object More... | |
delete ($a_delete_meta_data=true) | |
delete lm object data 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 | _lookupNID ($a_lm_id, $a_lm_obj_id, $a_type) |
lookup named identifier (ILIAS_NID) More... | |
static | preloadDataByLM ($a_lm_id) |
Preload data records by lm. More... | |
static | _lookupTitle ($a_obj_id) |
Lookup title. More... | |
static | _lookupShortTitle ($a_obj_id) |
Lookup short title. More... | |
static | _lookupType ($a_obj_id, $a_lm_id=0) |
Lookup type. More... | |
static | _writeTitle ($a_obj_id, $a_title) |
static | _writeImportId ($a_id, $a_import_id) |
write import id to db (static) More... | |
static | _writePublicAccessStatus ($a_pages, $a_cont_obj_id) |
update public access flags in lm_data for all pages of a content object More... | |
static | _isPagePublic ($a_node_id, $a_check_public_mode=false) |
static | _getIdForImportId ($a_import_id) |
get current object id for import id (static) More... | |
static | _getAllObjectsForImportId ($a_import_id, $a_in_lm=0) |
Get all items for an import ID. More... | |
static | _exists ($a_id) |
checks wether a lm content object with specified id exists or not More... | |
static | getObjectList ($lm_id, $type="") |
static More... | |
static | _deleteAllObjectData (&$a_cobj) |
delete all objects of content object (digi book / learning module) More... | |
static | _lookupContObjID ($a_id) |
get learning module / digibook id for lm object More... | |
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 | clipboardCut ($a_cont_obj_id, $a_ids) |
Copy a set of chapters/pages into the clipboard. 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=self::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... | |
static | getShortTitles ($a_lm_id, $a_lang="-") |
Get short titles. More... | |
static | writeShortTitle ($a_id, $a_short_title, $a_lang="-") |
Write short title. More... | |
Data Fields | |
const | CHAPTER_TITLE = "st_title" |
const | PAGE_TITLE = "pg_title" |
const | NO_HEADER = "none" |
$lm_id | |
$type | |
$id | |
$meta_data | |
$data_record | |
$content_object | |
$title | |
$short_title | |
$description | |
$active = true | |
Static Protected Member Functions | |
static | _lookup ($a_obj_id, $a_field) |
Lookup title. More... | |
Protected Attributes | |
$user | |
$db | |
Static Protected Attributes | |
static | $data_records = array() |
Class ilLMObject.
Base class for ilStructureObjects and ilPageObjects (see ILIAS DTD)
Definition at line 15 of file class.ilLMObject.php.
ilLMObject::__construct | ( | $a_content_obj, | |
$a_id = 0 |
|||
) |
object | $a_content_obj | content object (digi book or learning module) |
Definition at line 46 of file class.ilLMObject.php.
References $DIC, read(), setContentObject(), setLMId(), and user().
|
static |
delete all objects of content object (digi book / learning module)
Definition at line 757 of file class.ilLMObject.php.
References $DIC, $ilDB, $query, and ilLMObjectFactory\getInstance().
Referenced by ilObjContentObject\delete().
|
static |
checks wether a lm content object with specified id exists or not
int | $id | id |
Definition at line 705 of file class.ilLMObject.php.
References $DIC, $ilDB, and ilInternalLink\_extractObjIdOfTarget().
Referenced by ilCourseObjectiveMaterials\__read(), ilInternalLink\_exists(), ilLinksTableGUI\fillRow(), getDuplicateExportIDs(), ilLMContentRendererGUI\render(), ilHelpGUI\showHelp(), and ilLMPresentationGUI\showPrintView().
|
static |
Get all objects of learning module.
Definition at line 1338 of file class.ilLMObject.php.
References $a_type, $DIC, and $ilDB.
Referenced by ilLMTableOfContentsExplorerGUI\__construct(), and ilLMTracker\loadLMTrackingData().
|
static |
Get all items for an import ID.
(only for items notnot in trash)
int | $a_import_id | import id |
Definition at line 671 of file class.ilLMObject.php.
References $DIC, $ilDB, and ilObject\_hasUntrashedReference().
Referenced by updateInternalLinks().
|
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
int | $a_import_id | import id |
Definition at line 638 of file class.ilLMObject.php.
References $DIC, $ilDB, $lm_id, ilObject\_getAllReferences(), ilObject\_hasUntrashedReference(), _lookupContObjID(), and ilObjHelpSettings\isHelpLM().
Referenced by ilInternalLink\_getIdForImportId(), SurveyQuestion\_resolveInternalLink(), and assQuestion\_resolveInternalLink().
|
static |
Get affective title.
Definition at line 1490 of file class.ilLMObject.php.
References ilStructureObject\_getPresentationTitle(), and ilLMPageObject\_getPresentationTitle().
Referenced by ilPublicSectionExplorerGUI\getNodeContent(), and ilLMExplorerGUI\getNodeContent().
|
static |
Definition at line 579 of file class.ilLMObject.php.
References $DIC, $ilDB, $ilLog, $lm_id, $message, and ilUtil\yn2tf().
Referenced by ilLMNavigationStatus\determineStatus(), ilLMContentRendererGUI\determineStatus(), ilLMPresentationGUI\getCurrentPageId(), ilLMContentRendererGUI\getSuccessorPage(), ilLMPresentationGUI\getSuccessorPage(), ilLMTOCExplorerGUI\isNodeClickable(), ilLMNavigationRendererGUI\render(), ilLMPresentationGUI\showPrintView(), and ilLMPresentationGUI\showPrintViewSelection().
|
staticprotected |
Lookup title.
int | lm object id |
Definition at line 274 of file class.ilLMObject.php.
References $DIC, $ilDB, and $query.
|
static |
get learning module / digibook id for lm object
Definition at line 781 of file class.ilLMObject.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjContentObjectAccess\_checkGoto(), ilStartUpGUI\_checkGoto(), _getIdForImportId(), ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMPageObjectGUI\_goto(), ilStructureObjectGUI\_goto(), ilLMPageObject\_splitPage(), ilLMPageObject\_splitPageNext(), SurveyQuestion\addInternalLink(), ilObjMediaObjectAccess\checkAccessGlossaryTerm(), ilLMEditorGUI\checkRequestParameters(), ilLinksTableGUI\fillRow(), ilLearningModuleImporter\finalProcessing(), ilPageLinker\getLinkXML(), ilLMPageObjectGUI\getLinkXML(), ilLMPresentationLinker\getLinkXML(), ilObjMediaObject\getParentObjectIdForUsage(), ilGlossaryPresentationGUI\listDefinitions(), ilObjContentObjectGUI\pastePage(), pasteTree(), ilLMEditShortTitlesGUI\save(), SurveyQuestion\setMaterial(), and updateInternalLinks().
|
static |
lookup named identifier (ILIAS_NID)
Definition at line 110 of file class.ilLMObject.php.
|
static |
Lookup short title.
int | $a_obj_id | object id |
Definition at line 309 of file class.ilLMObject.php.
Referenced by ilStructureObject\_getPresentationTitle(), and ilLMPageObject\_getPresentationTitle().
|
static |
Lookup title.
int | $a_obj_id | object id |
Definition at line 298 of file class.ilLMObject.php.
Referenced by ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), clipboardCopy(), ilObjContentObjectGUI\confirmedDelete(), ilObjContentObject\executeDragDrop(), ilLinksTableGUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilCourseObjectiveMaterialAssignmentTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilLMQuestionListTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilCourseObjectivesTableGUI\fillRow(), ilLMTracker\getBlockedUsersInformation(), ilObjLearningModuleSubItemListGUI\getHTML(), ilImageMapEditorGUI\getMapAreaLinkString(), ilLinkInputGUI\getTranslatedValue(), ilCourseObjectiveMaterialAssignmentTableGUI\parse(), ilLMContentRendererGUI\renderDeactivatedPageMessage(), ilLMContentRendererGUI\renderNoPageInChapterMessage(), ilContainerObjectiveGUI\renderObjective(), ilLMContentRendererGUI\renderPreconditionsOfPage(), ilHelpGUI\search(), ilHelpGUI\showHelp(), ilHelpGUI\showPage(), and ilObjContentObject\validatePages().
|
static |
Lookup type.
int | id of pg st |
int | id of lm object [optional] |
Definition at line 320 of file class.ilLMObject.php.
References $DIC, $ilDB, and $query.
Referenced by ilStructureObjectGUI\activatePages(), clipboardCopy(), ilLMNavigationStatus\determineStatus(), ilLMContentRendererGUI\determineStatus(), ilLMPresentationGUI\getCurrentPageId(), ilLMTOCExplorerGUIFactory\getExplorer(), ilObjLearningModuleSubItemListGUI\getHTML(), ilLMTOCExplorerGUI\getRootNode(), ilLMContentRendererGUI\getSuccessorPage(), ilLMPresentationGUI\getSuccessorPage(), ilPageObject\moveIntLinks(), ilSCORM2004Node\pasteTree(), pasteTree(), ilLMNavigationRendererGUI\render(), ilObjContentObjectGUI\saveExportIds(), ilLMPresentationGUI\showPrintView(), uniqueTypesCheck(), updateInternalLinks(), ilCourseObjectivesGUI\updateMaterialAssignment(), and writeLayout().
|
static |
write import id to db (static)
int | $a_id | lm object id |
string | $a_import_id | import id public |
Definition at line 444 of file class.ilLMObject.php.
Referenced by ilContObjParser\handlerEndTag().
|
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 518 of file class.ilLMObject.php.
References $DIC, $ilDB, $ilErr, $ilLog, and $message.
Referenced by ilObjContentObjectGUI\savePublicSection(), and ilObjContentObjectGUI\savePublicSectionPages().
|
static |
Definition at line 344 of file class.ilLMObject.php.
References $DIC, $ilDB, and $query.
Referenced by MDUpdateListener(), and saveTitles().
|
static |
Copy a set of chapters/pages into the clipboard.
Definition at line 903 of file class.ilLMObject.php.
References $DIC, $id, $ilUser, _lookupTitle(), _lookupType(), and getTree().
Referenced by clipboardCut(), ilStructureObjectGUI\copyItems(), ilObjContentObjectGUI\copyItems(), and ilObjContentObjectGUI\copyPage().
|
static |
Copy a set of chapters/pages into the clipboard.
Definition at line 865 of file class.ilLMObject.php.
References $id, clipboardCopy(), and getTree().
Referenced by ilStructureObjectGUI\cutItems(), ilObjContentObjectGUI\cutItems(), and ilObjContentObjectGUI\movePage().
ilLMObject::create | ( | $a_upload = false | ) |
Definition at line 459 of file class.ilLMObject.php.
References $db, $ilDB, $query, ilHistory\_createEntry(), createMetaData(), getId(), getImportId(), getLayout(), getLMId(), getShortTitle(), getTitle(), getType(), and setId().
ilLMObject::createMetaData | ( | ) |
create meta data entry
Definition at line 130 of file class.ilLMObject.php.
References $ilUser, $user, getDescription(), getId(), getLMId(), getTitle(), and getType().
Referenced by create().
ilLMObject::delete | ( | $a_delete_meta_data = true | ) |
delete lm object data
Definition at line 616 of file class.ilLMObject.php.
References $db, $ilDB, $query, deleteMetaData(), and getId().
ilLMObject::deleteMetaData | ( | ) |
delete meta data entry
Definition at line 169 of file class.ilLMObject.php.
References getId(), getLMId(), and getType().
Referenced by delete().
ilLMObject::existsExportID | ( | $a_lm_id, | |
$a_exp_id, | |||
$a_type = "pg" |
|||
) |
Does export ID exist in lm?
Definition at line 1450 of file class.ilLMObject.php.
References $a_type, and ilMDIdentifier\existsIdInRbacObject().
Referenced by ilLMPageObject\copy().
& ilLMObject::getContentObject | ( | ) |
Definition at line 392 of file class.ilLMObject.php.
References $content_object.
Referenced by ilStructureObject\exportFOPageObjects(), ilLMPageObject\exportXMLPageContent(), and ilStructureObject\exportXMLStructureObjects().
ilLMObject::getDescription | ( | ) |
Definition at line 362 of file class.ilLMObject.php.
References $description.
Referenced by ilStructureObject\copy(), ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), and createMetaData().
|
static |
Get duplicate export IDs (count export ID usages)
Definition at line 1458 of file class.ilLMObject.php.
References $a_type, Vendor\Package\$e, $res, _exists(), and ilMDIdentifier\_getEntriesForRbacObj().
Referenced by ilExportIDTableGUI\__construct().
|
static |
Get export ID.
Definition at line 1428 of file class.ilLMObject.php.
References $a_type, Vendor\Package\$e, and ilMDIdentifier\_getEntriesForObj().
Referenced by ilLMPageObject\copy(), ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages(), ilExportIDTableGUI\fillRow(), ilLMPresentationLinker\getLink(), and ilLMTOCExplorerGUI\getNodeHref().
ilLMObject::getExportIDInfo | ( | $a_lm_id, | |
$a_exp_id, | |||
$a_type = "pg" |
|||
) |
Does export ID exist in lm?
Definition at line 1478 of file class.ilLMObject.php.
References $a_type, $data, and ilMDIdentifier\readIdData().
ilLMObject::getId | ( | ) |
Definition at line 402 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().
ilLMObject::getImportId | ( | ) |
Definition at line 407 of file class.ilLMObject.php.
Referenced by create().
ilLMObject::getLayout | ( | ) |
Get layout.
Definition at line 432 of file class.ilLMObject.php.
Referenced by ilLMPageObject\copy(), create(), and update().
ilLMObject::getLMId | ( | ) |
Definition at line 382 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().
|
static |
static
Definition at line 728 of file class.ilLMObject.php.
References $DIC, $ilDB, $lm_id, $query, and $type.
Referenced by ilLMPageObject\getPageList(), ilHelpExporter\getXmlExportTailDependencies(), ilLearningModuleExporter\getXmlExportTailDependencies(), and ilObjHelpSettings\uploadHelpModule().
|
static |
Get pages of chapter.
Definition at line 1319 of file class.ilLMObject.php.
Referenced by ilHelpGUI\showHelp().
ilLMObject::getShortTitle | ( | ) |
get short title of lm object
Definition at line 263 of file class.ilLMObject.php.
References $short_title.
Referenced by ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), create(), and update().
|
static |
Get short titles.
Definition at line 1532 of file class.ilLMObject.php.
Referenced by ilLMEditShortTitlesTableGUI\__construct().
ilLMObject::getTitle | ( | ) |
get title of lm object
Definition at line 243 of file class.ilLMObject.php.
References $title.
Referenced by ilStructureObject\copy(), ilLMPageObject\copy(), ilLMPageObject\copyToOtherContObject(), create(), createMetaData(), ilStructureObject\exportFO(), update(), and updateMetaData().
|
static |
Get learningmodule tree.
int | learning module object id |
Definition at line 852 of file class.ilLMObject.php.
Referenced by clipboardCopy(), and clipboardCut().
ilLMObject::getType | ( | ) |
Definition at line 372 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().
|
static |
Lookup type.
int | lm object id |
Definition at line 1299 of file class.ilLMObject.php.
References $DIC, $ilDB, and $query.
Referenced by ilLMPagesTableGUI\fillRow().
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 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.
|
static |
Paste item (tree) from clipboard to current lm.
Definition at line 952 of file class.ilLMObject.php.
References $DIC, $ilLog, $ilUser, _lookupContObjID(), _lookupType(), ilMD\cloneMD(), ilObjectFactory\getInstanceByObjId(), IL_LAST_NODE, and putInTree().
Referenced by ilObjContentObject\copyAllPagesAndChapters(), ilStructureObjectGUI\insertChapterClip(), ilObjContentObjectGUI\insertChapterClip(), and ilStructureObjectGUI\insertPageClip().
|
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().
|
static |
put this object into content object tree
Definition at line 802 of file class.ilLMObject.php.
References $DIC, $ilLog, and IL_FIRST_NODE.
Referenced by ilObjContentObject\addFirstChapterAndPage(), ilLearningModuleDataSet\importRecord(), ilStructureObjectGUI\insertChapter(), ilObjContentObjectGUI\insertChapter(), ilStructureObjectGUI\insertPage(), ilLMPageObject\insertPagesFromTemplate(), and pasteTree().
ilLMObject::read | ( | ) |
Definition at line 186 of file class.ilLMObject.php.
References $db, $ilDB, $query, setImportId(), setLayout(), setShortTitle(), and setTitle().
Referenced by __construct().
|
static |
Save export id.
Definition at line 1369 of file class.ilLMObject.php.
References $a_type, $DIC, Vendor\Package\$e, $id, $ilDB, and ilMDIdentifier\_getEntriesForObj().
Referenced by ilLMPageObject\copy(), and ilObjContentObjectGUI\saveExportIds().
|
static |
Save titles for lm objects.
array | titles (key is ID, value is title) |
Definition at line 1046 of file class.ilLMObject.php.
References $id, $title, _writeTitle(), ilMD\getGeneral(), ilLMObjectFactory\getInstance(), ilFormPropertyGUI\removeProhibitedCharacters(), and ilMDBase\update().
Referenced by ilStructureObjectGUI\saveAllTitles(), and ilObjContentObjectGUI\saveAllTitles().
ilLMObject::setContentObject | ( | & | $a_content_obj | ) |
Definition at line 387 of file class.ilLMObject.php.
Referenced by __construct().
ilLMObject::setDataRecord | ( | $a_record | ) |
this method should only be called by class ilLMObjectFactory
Definition at line 181 of file class.ilLMObject.php.
ilLMObject::setDescription | ( | $a_description | ) |
Definition at line 357 of file class.ilLMObject.php.
ilLMObject::setId | ( | $a_id | ) |
Definition at line 397 of file class.ilLMObject.php.
Referenced by create().
ilLMObject::setImportId | ( | $a_id | ) |
Definition at line 412 of file class.ilLMObject.php.
Referenced by read().
ilLMObject::setLayout | ( | $a_val | ) |
Set layout.
string | layout |
Definition at line 422 of file class.ilLMObject.php.
Referenced by read().
ilLMObject::setLMId | ( | $a_lm_id | ) |
Definition at line 377 of file class.ilLMObject.php.
Referenced by __construct().
ilLMObject::setShortTitle | ( | $a_title | ) |
set short title of lm object
string | $a_title | short title of chapter or page |
Definition at line 253 of file class.ilLMObject.php.
Referenced by read().
ilLMObject::setTitle | ( | $a_title | ) |
set title of lm object
string | $a_title | title of chapter or page |
Definition at line 233 of file class.ilLMObject.php.
Referenced by read().
ilLMObject::setType | ( | $a_type | ) |
Definition at line 367 of file class.ilLMObject.php.
References $a_type.
Referenced by ilStructureObject\__construct(), and ilLMPageObject\__construct().
|
static |
Check for unique types (all pages or all chapters)
Definition at line 1243 of file class.ilLMObject.php.
References $type, and _lookupType().
Referenced by ilStructureObjectGUI\copyItems(), and ilStructureObjectGUI\cutItems().
ilLMObject::update | ( | ) |
update complete object
Definition at line 493 of file class.ilLMObject.php.
References $db, $ilDB, $query, getId(), getLayout(), getLMId(), getShortTitle(), getTitle(), and updateMetaData().
|
static |
Update internal links, after multiple pages have been copied.
Definition at line 1080 of file class.ilLMObject.php.
References $mobs, $source, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), ilInternalLink\_extractTypeOfTarget(), _getAllObjectsForImportId(), ilMapArea\_getMobsForTarget(), ilInternalLink\_getSourcesOfTarget(), _lookupContObjID(), _lookupType(), ilObject\_lookupType(), ilPageObjectFactory\getInstance(), ilPageObject\lookupTranslations(), and ilObjMediaObject\lookupUsages().
Referenced by ilObjContentObject\copyAllPagesAndChapters(), ilStructureObjectGUI\insertChapterClip(), ilObjContentObjectGUI\insertChapterClip(), ilStructureObjectGUI\insertPageClip(), and ilObjContentObjectGUI\pastePage().
ilLMObject::updateMetaData | ( | ) |
update meta data entry
Definition at line 149 of file class.ilLMObject.php.
References getId(), getLMId(), getTitle(), and getType().
Referenced by update().
|
static |
Write layout setting.
int | lm object id |
string | layout |
Definition at line 1265 of file class.ilLMObject.php.
References Vendor\Package\$c, $DIC, $ilDB, $query, and _lookupType().
Referenced by ilLMPageObjectGUI\saveLayout(), ilStructureObjectGUI\savePageLayout(), and ilObjContentObjectGUI\savePageLayout().
|
static |
Write short title.
integer | $a_id | object id |
string | $a_short_title | short title |
Definition at line 1560 of file class.ilLMObject.php.
Referenced by ilLMEditShortTitlesGUI\save().
ilLMObject::$active = true |
Definition at line 35 of file class.ilLMObject.php.
Referenced by ilLMPageObject\_getPresentationTitle().
ilLMObject::$content_object |
Definition at line 31 of file class.ilLMObject.php.
Referenced by getContentObject().
ilLMObject::$data_record |
Definition at line 30 of file class.ilLMObject.php.
|
staticprotected |
Definition at line 36 of file class.ilLMObject.php.
|
protected |
Definition at line 41 of file class.ilLMObject.php.
Referenced by create(), delete(), getShortTitles(), read(), update(), and writeShortTitle().
ilLMObject::$description |
Definition at line 34 of file class.ilLMObject.php.
Referenced by getDescription().
ilLMObject::$id |
Definition at line 28 of file class.ilLMObject.php.
Referenced by _lookupNID(), clipboardCopy(), clipboardCut(), getId(), MDUpdateListener(), saveExportId(), and saveTitles().
ilLMObject::$lm_id |
Definition at line 26 of file class.ilLMObject.php.
Referenced by _getIdForImportId(), _isPagePublic(), ilLMPageObject\_splitPage(), ilLMPageObject\_splitPageNext(), getLMId(), getObjectList(), ilLMPageObject\getPageList(), and ilLMPageObject\insertPagesFromTemplate().
ilLMObject::$meta_data |
Definition at line 29 of file class.ilLMObject.php.
ilLMObject::$short_title |
Definition at line 33 of file class.ilLMObject.php.
Referenced by getShortTitle().
ilLMObject::$title |
Definition at line 32 of file class.ilLMObject.php.
Referenced by ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMPageObject\exportFO(), getTitle(), ilLMPageObject\insertPagesFromTemplate(), and saveTitles().
ilLMObject::$type |
Definition at line 27 of file class.ilLMObject.php.
Referenced by ilLMPageObject\_splitPage(), ilLMPageObject\_splitPageNext(), getObjectList(), getType(), and uniqueTypesCheck().
|
protected |
Definition at line 24 of file class.ilLMObject.php.
Referenced by createMetaData().
const ilLMObject::CHAPTER_TITLE = "st_title" |
Definition at line 17 of file class.ilLMObject.php.
Referenced by ilStructureObjectGUI\subchap().
const ilLMObject::NO_HEADER = "none" |
Definition at line 19 of file class.ilLMObject.php.
const ilLMObject::PAGE_TITLE = "pg_title" |
Definition at line 18 of file class.ilLMObject.php.
Referenced by ilPublicSectionExplorerGUI\getNodeContent(), ilLMExplorerGUI\getNodeContent(), and ilLMPresentationGUI\showPrintView().