ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
create (bool $a_no_meta_data=false) | |
create content object More... | |
read () | |
setLayoutPerPage (bool $a_val) | |
getLayoutPerPage () | |
setDisableDefaultFeedback (bool $a_val) | |
Set disable default feedback for questions. More... | |
getDisableDefaultFeedback () | |
setProgressIcons (bool $a_val) | |
getProgressIcons () | |
setStoreTries (bool $a_val) | |
getStoreTries () | |
setRestrictForwardNavigation (bool $a_val) | |
getRestrictForwardNavigation () | |
getTree () | |
update () | |
updateAutoGlossaries () | |
import () | |
if implemented, this function should be called from an Out/GUI-Object More... | |
createLMTree () | |
setAutoGlossaries (array $a_val) | |
getAutoGlossaries () | |
removeAutoGlossary (int $a_glo_id) | |
setForTranslation (bool $a_val) | |
Set for translation (lm has been imported for translation purposes) More... | |
getForTranslation () | |
getLMTree () | |
createImportDirectory () | |
creates data directory for import files (data_dir/lm_data/lm_<id>/import, depending on data directory that is set in ILIAS setup/ini) More... | |
getDataDirectory () | |
getImportDirectory () | |
setImportDirectory (string $a_import_dir) | |
createExportDirectory (string $a_type="xml") | |
creates data directory for export files (data_dir/lm_data/lm_<id>/export, depending on data directory that is set in ILIAS setup/ini) More... | |
getExportDirectory (string $a_type="xml") | |
getLayout () | |
setLayout (string $a_layout) | |
getPageHeader () | |
get page header mode (ilLMOBject::CHAPTER_TITLE | ilLMOBject::PAGE_TITLE | ilLMOBject::NO_HEADER) More... | |
setPageHeader (string $a_pg_header=ilLMObject::CHAPTER_TITLE) | |
set page header mode More... | |
getTOCMode () | |
get toc mode ("chapters" | "pages") More... | |
setTOCMode (string $a_toc_mode="chapters") | |
set toc mode More... | |
setActiveLMMenu (bool $a_act_lm_menu) | |
isActiveLMMenu () | |
setActiveTOC (bool $a_toc) | |
isActiveTOC () | |
setActiveNumbering (bool $a_num) | |
isActiveNumbering () | |
setActivePrintView (bool $a_print) | |
isActivePrintView () | |
setActivePreventGlossaryAppendix (bool $a_print) | |
isActivePreventGlossaryAppendix () | |
setHideHeaderFooterPrint (bool $a_val) | |
Set hide header footer in print mode. More... | |
getHideHeaderFooterPrint () | |
setActiveDownloads (bool $a_down) | |
isActiveDownloads () | |
setActiveDownloadsPublic (bool $a_down) | |
isActiveDownloadsPublic () | |
setPublicNotes (bool $a_pub_notes) | |
publicNotes () | |
setCleanFrames (bool $a_clean) | |
cleanFrames () | |
setHeaderPage (int $a_pg) | |
getHeaderPage () | |
setFooterPage (int $a_pg) | |
getFooterPage () | |
readProperties () | |
updateProperties () | |
createProperties () | |
create new properties record More... | |
checkTree () | |
fixTree () | |
checkStructure () | |
Check tree (this has been copied from fixTree due to a bug fixing, should be reorganised) More... | |
exportXML (ilXmlWriter $a_xml_writer, int $a_inst, string $a_target_dir, ilLog $expLog) | |
exportXMLMetaData (ilXmlWriter $a_xml_writer) | |
exportXMLStructureObjects (ilXmlWriter $a_xml_writer, int $a_inst, ilLog $expLog) | |
exportXMLPageObjects (ilXmlWriter $a_xml_writer, int $a_inst, ilLog $expLog) | |
exportXMLMediaObjects (ilXmlWriter $a_xml_writer, int $a_inst, string $a_target_dir, ilLog $expLog) | |
exportFileItems (string $a_target_dir, ilLog $expLog) | |
exportXMLProperties (ilXmlWriter $a_xml_writer, ilLog $expLog) | |
getExportFiles () | |
setPublicExportFile (string $a_type, string $a_file) | |
specify public export file for type More... | |
getPublicExportFile (string $a_type) | |
getOfflineFiles (string $dir) | |
executeDragDrop (int $source_id, int $target_id, bool $first_child, bool $as_subitem=false, string $movecopy="move") | |
validatePages () | |
Validate all pages. More... | |
copyAllPagesAndChapters (ilObjLearningModule $a_target_obj, int $a_copy_id=0) | |
autoLinkGlossaryTerms (int $a_glo_ref_id) | |
setRating (bool $a_value) | |
hasRating () | |
setRatingPages (bool $a_value) | |
hasRatingPages () | |
getPublicExportFiles () | |
Get public export files. More... | |
isInfoEnabled () | |
![]() | |
getObjectProperties () | |
flushObjectProperties () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
processAutoRating () | |
read () | |
getId () | |
setId (int $id) | |
setRefId (int $ref_id) | |
getRefId () | |
getType () | |
setType (string $type) | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
getUntranslatedTitle () | |
Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
setTitle (string $title) | |
getDescription () | |
setDescription (string $description) | |
getLongDescription () | |
get object long description (stored in object_description) More... | |
getImportId () | |
setImportId (string $import_id) | |
setOfflineStatus (bool $status) | |
getOfflineStatus () | |
supportsOfflineHandling () | |
getOwner () | |
getOwnerName () | |
get full name of object owner More... | |
setOwner (int $usr_id) | |
getCreateDate () | |
Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
getLastUpdateDate () | |
Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
create () | |
note: title, description and type should be set when this function is called More... | |
update () | |
MDUpdateListener (string $element) | |
Metadata update listener. More... | |
createMetaData () | |
updateMetaData () | |
deleteMetaData () | |
updateOwner () | |
update owner of object in db More... | |
putInTree (int $parent_ref_id) | |
maybe this method should be in tree object!? More... | |
setPermissions (int $parent_ref_id) | |
setParentRolePermissions (int $parent_ref_id) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
createReference () | |
creates reference for object More... | |
countReferences () | |
delete () | |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
applyDidacticTemplate (int $tpl_id) | |
getXMLZip () | |
getHTMLDirectory () | |
appendCopyInfo (int $target_id, int $copy_id) | |
Prepend Copy info if object with same name exists in that container. More... | |
cloneDependencies (int $target_id, int $copy_id) | |
Clone object dependencies. More... | |
cloneMetaData (ilObject $target_obj) | |
Copy meta data. More... | |
selfOrParentWithRatingEnabled () | |
getPossibleSubObjects (bool $filter=true) | |
get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
static | writeHeaderPage (int $a_lm_id, int $a_page_id) |
static | writeFooterPage (int $a_lm_id, int $a_page_id) |
static | _moveLMStyles (int $a_from_style, int $a_to_style) |
move learning modules from one style to another More... | |
static | _lookupRestrictForwardNavigation (int $a_obj_id) |
static | _lookupStyleSheetId (int $a_cont_obj_id) |
static | _lookupContObjIdByStyleId (int $a_style_id) |
static | _lookupDisableDefaultFeedback (int $a_id) |
static | _lookupStoreTries (int $a_id) |
static | _getNrOfAssignedLMs (int $a_style_id) |
gets the number of learning modules assigned to a content style More... | |
static | _getNrLMsIndividualStyles () |
get number of learning modules with individual styles More... | |
static | _getNrLMsNoStyle () |
get number of learning modules assigned no style More... | |
static | _deleteStyleAssignments (int $a_style_id) |
delete all style references to style More... | |
static | getAvailableLayouts () |
get all available lm layouts More... | |
static | _checkPreconditionsOfPage (int $cont_ref_id, int $cont_obj_id, int $page_id) |
checks whether the preconditions of a page are fulfilled or not More... | |
static | _getMissingPreconditionsOfPage (int $cont_ref_id, int $cont_obj_id, int $page_id) |
gets all missing preconditions of page More... | |
static | _getMissingPreconditionsTopChapter (int $cont_obj_ref_id, int $cont_obj_id, int $page_id) |
get top chapter of page for that any precondition is missing More... | |
static | hasSuccessorPage (int $a_cont_obj_id, int $a_page_id) |
checks if page has a successor page More... | |
static | lookupAutoGlossaries (int $a_lm_id) |
static | isOnlineHelpModule (int $a_id, bool $a_as_obj_id=false) |
Is module an online module. More... | |
![]() | |
static | _lookupObjIdByImportId (string $import_id) |
Get (latest) object id for an import id. More... | |
static | _lookupImportId (int $obj_id) |
static | _lookupOwnerName (int $owner_id) |
Lookup owner name for owner id. More... | |
static | _getIdForImportId (string $import_id) |
static | _getAllReferences (int $id) |
get all reference ids for object ID More... | |
static | _lookupTitle (int $obj_id) |
static | lookupOfflineStatus (int $obj_id) |
Lookup offline status using objectDataCache. More... | |
static | _lookupOwner (int $obj_id) |
Lookup owner user ID for object ID. More... | |
static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
static | _lookupDescription (int $obj_id) |
static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
static | _getLastUpdateOfObjects (array $obj_ids) |
static | _lookupObjId (int $ref_id) |
static | _setDeletedDate (int $ref_id, int $deleted_by) |
static | setDeletedDates (array $ref_ids, int $user_id) |
static | _resetDeletedDate (int $ref_id) |
static | _lookupDeletedDate (int $ref_id) |
static | _writeTitle (int $obj_id, string $title) |
write title to db (static) More... | |
static | _writeDescription (int $obj_id, string $desc) |
write description to db (static) More... | |
static | _writeImportId (int $obj_id, string $import_id) |
write import id to db (static) More... | |
static | _lookupType (int $id, bool $reference=false) |
static | _isInTrash (int $ref_id) |
static | _hasUntrashedReference (int $obj_id) |
checks whether an object has at least one reference that is not in trash More... | |
static | _lookupObjectId (int $ref_id) |
static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
get all objects of a certain type More... | |
static | _exists (int $id, bool $reference=false, ?string $type=null) |
checks if an object exists in object_data More... | |
static | _getObjectsByType (string $obj_type="", ?int $owner=null) |
static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
Prepare copy wizard object selection. More... | |
static | getIconForType (string $type) |
static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
Get icon for repository item. More... | |
static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
Collect deletion dependencies. More... | |
static | getDeletionDependencies (int $obj_id) |
Get deletion dependencies. More... | |
static | getLongDescriptions (array $obj_ids) |
static | getAllOwnedRepositoryObjects (int $user_id) |
static | fixMissingTitles ($type, array &$obj_title_map) |
Try to fix missing object titles. More... | |
static | _lookupCreationDate (int $obj_id) |
static | _getObjectTypeIdByTitle (string $type, ?\ilDBInterface $ilDB=null) |
Data Fields | |
ilLMTree | $lm_tree |
string | $layout = '' |
int | $style_id = 0 |
string | $pg_header = '' |
bool | $online = false |
bool | $for_translation = false |
array | $auto_glossaries = array() |
![]() | |
const | TITLE_LENGTH = 255 |
const | DESC_LENGTH = 128 |
const | LONG_DESC_LENGTH = 4000 |
const | TABLE_OBJECT_DATA = "object_data" |
array | $objectList |
string | $untranslatedTitle |
Protected Member Functions | |
doMDUpdateListener (string $a_element) | |
![]() | |
doMDUpdateListener (string $a_element) | |
beforeMDUpdateListener (string $a_element) | |
doCreateMetaData () | |
beforeCreateMetaData () | |
doUpdateMetaData () | |
beforeUpdateMetaData () | |
doDeleteMetaData () | |
beforeDeleteMetaData () | |
handleAutoRating () | |
hasAutoRating () | |
Static Protected Member Functions | |
static | _lookup (int $a_obj_id, string $a_field) |
Private Attributes | |
string | $import_dir = '' |
ilGlobalTemplateInterface | $main_tpl |
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
Definition at line 25 of file class.ilObjContentObject.php.
|
static |
checks whether the preconditions of a page are fulfilled or not
Definition at line 1003 of file class.ilObjContentObject.php.
References $path, ilConditionHandler\_checkAllConditionsOfTarget(), ilTree\getPathFull(), ilTree\isInTree(), ilTree\readRootId(), ilTree\setTableNames(), and ilTree\setTreeTablePK().
Referenced by ilLMNavigationRendererGUI\addDropdown(), ilLMContentRendererGUI\determineStatus(), ilLMPresentationGUI\showPrintView(), and ilLMPresentationGUI\showPrintViewSelection().
|
static |
delete all style references to style
Definition at line 692 of file class.ilObjContentObject.php.
References $DIC, $ilDB, and $q.
Referenced by ilObjStyleSheet\delete().
|
static |
gets all missing preconditions of page
Definition at line 1029 of file class.ilObjContentObject.php.
References $path, ilConditionHandler\_checkCondition(), ilConditionHandler\_getPersistedConditionsOfTarget(), ilTree\getPathFull(), ilTree\isInTree(), ilTree\readRootId(), ilTree\setTableNames(), and ilTree\setTreeTablePK().
Referenced by ilLMContentRendererGUI\renderPreconditionsOfPage().
|
static |
get top chapter of page for that any precondition is missing
Definition at line 1062 of file class.ilObjContentObject.php.
References $path, ilConditionHandler\_checkCondition(), ilConditionHandler\_getPersistedConditionsOfTarget(), ilTree\getPathFull(), ilTree\isInTree(), ilTree\readRootId(), ilTree\setTableNames(), and ilTree\setTreeTablePK().
Referenced by ilLMContentRendererGUI\renderPreconditionsOfPage().
|
static |
get number of learning modules with individual styles
Definition at line 656 of file class.ilObjContentObject.php.
References $DIC, $ilDB, and $q.
Referenced by ilContentStyleSettingsGUI\edit().
|
static |
get number of learning modules assigned no style
Definition at line 675 of file class.ilObjContentObject.php.
References $DIC, $ilDB, and $q.
Referenced by ilContentStyleSettingsGUI\edit().
|
static |
gets the number of learning modules assigned to a content style
Definition at line 638 of file class.ilObjContentObject.php.
References $DIC, $ilDB, and $q.
Referenced by ilContentStyleSettingsGUI\edit().
|
staticprotected |
|
static |
Definition at line 590 of file class.ilObjContentObject.php.
References $DIC, $ilDB, $q, $res, and ILIAS\Repository\int().
Referenced by ilObjStyleSheet\_getClonableContentStyles().
|
static |
Definition at line 606 of file class.ilObjContentObject.php.
References $DIC, $ilDB, $q, and $res.
Referenced by ilLMPageConfig\configureByObjectId(), and ilLMPageGUI\onFeedbackEditingForwarding().
|
static |
Definition at line 570 of file class.ilObjContentObject.php.
Referenced by ilLMPageGUI\processAnswer().
|
static |
Definition at line 620 of file class.ilObjContentObject.php.
References $DIC, $ilDB, $q, and $res.
Referenced by ilLMPageGUI\__construct().
|
static |
Definition at line 576 of file class.ilObjContentObject.php.
References $DIC, $ilDB, $q, and $res.
Referenced by ilPCParagraphGUI\setStyle().
|
static |
move learning modules from one style to another
Definition at line 520 of file class.ilObjContentObject.php.
References $DIC, $ilDB, $q, and ilObjectFactory\getInstanceByObjId().
Referenced by ilContentStyleSettingsGUI\moveIndividualStyles(), and ilContentStyleSettingsGUI\moveLMStyles().
ilObjContentObject::autoLinkGlossaryTerms | ( | int | $a_glo_ref_id | ) |
Definition at line 2036 of file class.ilObjContentObject.php.
References $c, $id, ilPCParagraph\autoLinkGlossariesPage(), ilPageObject\getAllPages(), ilObject\getId(), ilGlossaryTerm\getTermList(), ilObject\getType(), and null.
ilObjContentObject::checkStructure | ( | ) |
Check tree (this has been copied from fixTree due to a bug fixing, should be reorganised)
Definition at line 1249 of file class.ilObjContentObject.php.
References ilObject\$db, $ilDB, $q, ilObject\$tree, ilPageObject\_exists(), ilObject\getId(), getLMTree(), ilTree\getNodeData(), ilTree\getRootId(), ilTree\getSubTree(), and ilTree\isInTree().
ilObjContentObject::checkTree | ( | ) |
ilInvalidTreeStructureException |
Definition at line 1113 of file class.ilObjContentObject.php.
References ilObject\$tree, ilTree\checkTree(), ilTree\checkTreeChilds(), and ilObject\getId().
Referenced by copyAllPagesAndChapters(), and executeDragDrop().
ilObjContentObject::cleanFrames | ( | ) |
Definition at line 839 of file class.ilObjContentObject.php.
References $clean_frames.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::copyAllPagesAndChapters | ( | ilObjLearningModule | $a_target_obj, |
int | $a_copy_id = 0 |
||
) |
Definition at line 1966 of file class.ilObjContentObject.php.
References ilCopyWizardOptions\_getInstance(), checkTree(), ilObject\getId(), ilLMPageObject\getPageList(), ilObject\getRefId(), null, ilTree\POS_LAST_NODE, and ilLMObject\updateInternalLinks().
Referenced by validatePages().
ilObjContentObject::create | ( | bool | $a_no_meta_data = false | ) |
create content object
Definition at line 105 of file class.ilObjContentObject.php.
References $id, ilObject\createMetaData(), createProperties(), and updateAutoGlossaries().
ilObjContentObject::createExportDirectory | ( | string | $a_type = "xml" | ) |
creates data directory for export files (data_dir/lm_data/lm_<id>/export, depending on data directory that is set in ILIAS setup/ini)
Definition at line 379 of file class.ilObjContentObject.php.
References ilObject\$error, $ilErr, ilFileUtils\getDataDir(), ilObject\getId(), ilFileUtils\makeDir(), and ilFileUtils\makeDirParents().
ilObjContentObject::createImportDirectory | ( | ) |
creates data directory for import files (data_dir/lm_data/lm_<id>/import, depending on data directory that is set in ILIAS setup/ini)
Definition at line 323 of file class.ilObjContentObject.php.
References ilObject\$error, $ilErr, ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDir().
ilObjContentObject::createLMTree | ( | ) |
Definition at line 237 of file class.ilObjContentObject.php.
References ilObject\getId().
ilObjContentObject::createProperties | ( | ) |
create new properties record
Definition at line 945 of file class.ilObjContentObject.php.
References ilObject\$db, $ilDB, ilObject\getId(), ilDBInterface\insert(), ilLMObject\PAGE_TITLE, and readProperties().
Referenced by create().
|
protected |
Definition at line 2110 of file class.ilObjContentObject.php.
References ilLPStatusWrapper\_refreshStatus(), ilObject\getId(), ilObjectLP\getInstance(), ilObjectTranslation\getInstance(), ilObject\getType(), ilLPObjSettings\LP_MODE_COLLECTION_TLT, and ilLPObjSettings\LP_MODE_TLT.
ilObjContentObject::executeDragDrop | ( | int | $source_id, |
int | $target_id, | ||
bool | $first_child, | ||
bool | $as_subitem = false , |
||
string | $movecopy = "move" |
||
) |
Definition at line 1709 of file class.ilObjContentObject.php.
References checkTree(), ilObject\getId(), ilLMObjectFactory\getInstance(), and ilTree\POS_FIRST_NODE.
ilObjContentObject::exportFileItems | ( | string | $a_target_dir, |
ilLog | $expLog | ||
) |
Definition at line 1508 of file class.ilObjContentObject.php.
References ilLog\write().
Referenced by exportXML().
ilObjContentObject::exportXML | ( | ilXmlWriter | $a_xml_writer, |
int | $a_inst, | ||
string | $a_target_dir, | ||
ilLog | $expLog | ||
) |
Definition at line 1348 of file class.ilObjContentObject.php.
References exportFileItems(), exportXMLMediaObjects(), exportXMLMetaData(), exportXMLPageObjects(), exportXMLProperties(), exportXMLStructureObjects(), ilObject\getType(), ilLog\write(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
ilObjContentObject::exportXMLMediaObjects | ( | ilXmlWriter | $a_xml_writer, |
int | $a_inst, | ||
string | $a_target_dir, | ||
ilLog | $expLog | ||
) |
Definition at line 1473 of file class.ilObjContentObject.php.
References ilObject\_lookupType(), and ilLog\write().
Referenced by exportXML().
ilObjContentObject::exportXMLMetaData | ( | ilXmlWriter | $a_xml_writer | ) |
Definition at line 1403 of file class.ilObjContentObject.php.
Referenced by exportXML().
ilObjContentObject::exportXMLPageObjects | ( | ilXmlWriter | $a_xml_writer, |
int | $a_inst, | ||
ilLog | $expLog | ||
) |
Definition at line 1436 of file class.ilObjContentObject.php.
References ilPageObject\_exists(), ilObject\getId(), ilLMPageObject\getPageList(), ilObject\getType(), and ilLog\write().
Referenced by exportXML().
ilObjContentObject::exportXMLProperties | ( | ilXmlWriter | $a_xml_writer, |
ilLog | $expLog | ||
) |
Definition at line 1520 of file class.ilObjContentObject.php.
References cleanFrames(), getDisableDefaultFeedback(), getFooterPage(), getHeaderPage(), getLayout(), getLayoutPerPage(), getPageHeader(), getProgressIcons(), getRestrictForwardNavigation(), getStoreTries(), getTOCMode(), hasRating(), hasRatingPages(), IL_INST_ID, isActiveLMMenu(), isActiveNumbering(), isActivePrintView(), isActiveTOC(), publicNotes(), ilUtil\tf2yn(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by exportXML().
ilObjContentObject::exportXMLStructureObjects | ( | ilXmlWriter | $a_xml_writer, |
int | $a_inst, | ||
ilLog | $expLog | ||
) |
Definition at line 1419 of file class.ilObjContentObject.php.
Referenced by exportXML().
ilObjContentObject::fixTree | ( | ) |
Definition at line 1120 of file class.ilObjContentObject.php.
References ilObject\$db, $ilDB, $q, ilObject\$tree, ilPageObject\_exists(), ilTree\deleteTree(), ilObject\getId(), ilLMObjectFactory\getInstance(), getLMTree(), ilTree\getNodeData(), ilTree\getRootId(), ilTree\getSubTree(), ilTree\isInTree(), and ilTree\renumber().
ilObjContentObject::getAutoGlossaries | ( | ) |
Definition at line 257 of file class.ilObjContentObject.php.
References $auto_glossaries.
Referenced by ilLMGlossaryTableGUI\__construct(), removeAutoGlossary(), updateAutoGlossaries(), and validatePages().
|
static |
get all available lm layouts
Definition at line 964 of file class.ilObjContentObject.php.
Referenced by ilObjContentObjectGUI\getLayoutOption(), and ilLMPageObjectGUI\initEditLayoutForm().
ilObjContentObject::getDataDirectory | ( | ) |
Definition at line 348 of file class.ilObjContentObject.php.
References ilFileUtils\getDataDir(), and ilObject\getId().
Referenced by getExportDirectory().
ilObjContentObject::getDisableDefaultFeedback | ( | ) |
Definition at line 161 of file class.ilObjContentObject.php.
References $disable_def_feedback.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getExportDirectory | ( | string | $a_type = "xml" | ) |
Definition at line 408 of file class.ilObjContentObject.php.
References ilObject\$db, $ilDB, $q, ilLMObject\_deleteAllObjectData(), ilFileUtils\delDir(), ilObject\deleteMetaData(), ilFileUtils\getDataDir(), getDataDirectory(), and ilObject\getId().
Referenced by getExportFiles(), and getPublicExportFiles().
ilObjContentObject::getExportFiles | ( | ) |
Definition at line 1622 of file class.ilObjContentObject.php.
References ilObject\$type, and getExportDirectory().
ilObjContentObject::getFooterPage | ( | ) |
Definition at line 859 of file class.ilObjContentObject.php.
References $footer_page.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getForTranslation | ( | ) |
Definition at line 307 of file class.ilObjContentObject.php.
References $for_translation.
Referenced by updateProperties().
ilObjContentObject::getHeaderPage | ( | ) |
Definition at line 849 of file class.ilObjContentObject.php.
References $header_page.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getHideHeaderFooterPrint | ( | ) |
Definition at line 799 of file class.ilObjContentObject.php.
References $hide_header_footer_print.
Referenced by updateProperties().
ilObjContentObject::getImportDirectory | ( | ) |
Definition at line 354 of file class.ilObjContentObject.php.
References $import_dir, ilFileUtils\getDataDir(), and ilObject\getId().
ilObjContentObject::getLayout | ( | ) |
Definition at line 476 of file class.ilObjContentObject.php.
References $layout.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getLayoutPerPage | ( | ) |
Definition at line 148 of file class.ilObjContentObject.php.
References $layout_per_page.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getLMTree | ( | ) |
Definition at line 312 of file class.ilObjContentObject.php.
References $lm_tree.
Referenced by checkStructure(), and fixTree().
ilObjContentObject::getOfflineFiles | ( | string | $dir | ) |
Definition at line 1676 of file class.ilObjContentObject.php.
References ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
ilObjContentObject::getPageHeader | ( | ) |
get page header mode (ilLMOBject::CHAPTER_TITLE | ilLMOBject::PAGE_TITLE | ilLMOBject::NO_HEADER)
Definition at line 709 of file class.ilObjContentObject.php.
References $pg_header.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getProgressIcons | ( | ) |
Definition at line 171 of file class.ilObjContentObject.php.
References $progr_icons.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getPublicExportFile | ( | string | $a_type | ) |
Definition at line 1671 of file class.ilObjContentObject.php.
Referenced by getPublicExportFiles(), and updateProperties().
ilObjContentObject::getPublicExportFiles | ( | ) |
Get public export files.
Definition at line 2150 of file class.ilObjContentObject.php.
References ilObject\$type, getExportDirectory(), ilObject\getId(), ilObjectTranslation\getInstance(), and getPublicExportFile().
ilObjContentObject::getRestrictForwardNavigation | ( | ) |
Definition at line 191 of file class.ilObjContentObject.php.
References $restrict_forw_nav.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getStoreTries | ( | ) |
Definition at line 181 of file class.ilObjContentObject.php.
References $store_tries.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getTOCMode | ( | ) |
get toc mode ("chapters" | "pages")
Definition at line 727 of file class.ilObjContentObject.php.
References $toc_mode.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::getTree | ( | ) |
ilObjContentObject::hasRating | ( | ) |
Definition at line 2094 of file class.ilObjContentObject.php.
References $rating.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::hasRatingPages | ( | ) |
Definition at line 2104 of file class.ilObjContentObject.php.
References $rating_pages.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
|
static |
checks if page has a successor page
Definition at line 1094 of file class.ilObjContentObject.php.
References ilObject\$tree, ilTree\fetchSuccessorNode(), ilTree\isInTree(), ilTree\setTableNames(), and ilTree\setTreeTablePK().
Referenced by ilPageObjectGUI\showPage().
ilObjContentObject::import | ( | ) |
if implemented, this function should be called from an Out/GUI-Object
Definition at line 232 of file class.ilObjContentObject.php.
ilObjContentObject::isActiveDownloads | ( | ) |
Definition at line 809 of file class.ilObjContentObject.php.
References $downloads_active.
Referenced by updateProperties(), and validatePages().
ilObjContentObject::isActiveDownloadsPublic | ( | ) |
Definition at line 819 of file class.ilObjContentObject.php.
References $downloads_public_active.
Referenced by updateProperties(), and validatePages().
ilObjContentObject::isActiveLMMenu | ( | ) |
Definition at line 746 of file class.ilObjContentObject.php.
References $lm_menu_active.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::isActiveNumbering | ( | ) |
Definition at line 766 of file class.ilObjContentObject.php.
References $numbering.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::isActivePreventGlossaryAppendix | ( | ) |
Definition at line 786 of file class.ilObjContentObject.php.
References $prevent_glossary_appendix_active.
Referenced by updateProperties(), and validatePages().
ilObjContentObject::isActivePrintView | ( | ) |
Definition at line 776 of file class.ilObjContentObject.php.
References $print_view_active.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::isActiveTOC | ( | ) |
Definition at line 756 of file class.ilObjContentObject.php.
References $toc_active.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::isInfoEnabled | ( | ) |
Definition at line 2185 of file class.ilObjContentObject.php.
References ilObject\getId(), and ilObjContentObjectAccess\isInfoEnabled().
|
static |
Is module an online module.
Definition at line 2076 of file class.ilObjContentObject.php.
References ilObject\_lookupObjId().
Referenced by ilContObjectExport\buildExportFileXML(), ilLMPageConfig\configureByObjectId(), ilLearningModuleExporter\getXmlExportTailDependencies(), ilObjContentObjectGUI\setContentSubTabs(), and ilObjContentObjectGUI\showExportIDsOverview().
|
static |
Definition at line 2017 of file class.ilObjContentObject.php.
Referenced by ilLMPage\beforePageContentUpdate().
ilObjContentObject::publicNotes | ( | ) |
Definition at line 829 of file class.ilObjContentObject.php.
References $pub_notes.
Referenced by exportXMLProperties(), updateProperties(), and validatePages().
ilObjContentObject::read | ( | ) |
Definition at line 121 of file class.ilObjContentObject.php.
References ilObject\$db, $ilDB, ilObject\getId(), readProperties(), and setAutoGlossaries().
ilObjContentObject::readProperties | ( | ) |
Definition at line 864 of file class.ilObjContentObject.php.
References ilObject\$db, $ilDB, $lm_set, $q, ilObject\getId(), setActiveDownloads(), setActiveDownloadsPublic(), setActiveLMMenu(), setActiveNumbering(), setActivePreventGlossaryAppendix(), setActivePrintView(), setActiveTOC(), setCleanFrames(), setDisableDefaultFeedback(), setFooterPage(), setForTranslation(), setHeaderPage(), setHideHeaderFooterPrint(), setLayout(), setLayoutPerPage(), setPageHeader(), setProgressIcons(), setPublicExportFile(), setPublicNotes(), setRating(), setRatingPages(), setRestrictForwardNavigation(), setStoreTries(), setTOCMode(), and ilUtil\yn2tf().
Referenced by createProperties(), and read().
ilObjContentObject::removeAutoGlossary | ( | int | $a_glo_id | ) |
Definition at line 262 of file class.ilObjContentObject.php.
References ilObject\$lng, getAutoGlossaries(), ilObject\getId(), ilTree\POS_FIRST_NODE, ilLMObject\putInTree(), setAutoGlossaries(), and ilLanguage\txt().
ilObjContentObject::setActiveDownloads | ( | bool | $a_down | ) |
Definition at line 804 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setActiveDownloadsPublic | ( | bool | $a_down | ) |
Definition at line 814 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setActiveLMMenu | ( | bool | $a_act_lm_menu | ) |
Definition at line 741 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setActiveNumbering | ( | bool | $a_num | ) |
Definition at line 761 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setActivePreventGlossaryAppendix | ( | bool | $a_print | ) |
Definition at line 781 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setActivePrintView | ( | bool | $a_print | ) |
Definition at line 771 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setActiveTOC | ( | bool | $a_toc | ) |
Definition at line 751 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setAutoGlossaries | ( | array | $a_val | ) |
Definition at line 243 of file class.ilObjContentObject.php.
References ilObject\_lookupType(), and ILIAS\Repository\int().
Referenced by read(), and removeAutoGlossary().
ilObjContentObject::setCleanFrames | ( | bool | $a_clean | ) |
Definition at line 834 of file class.ilObjContentObject.php.
Referenced by readProperties(), and updateProperties().
ilObjContentObject::setDisableDefaultFeedback | ( | bool | $a_val | ) |
Set disable default feedback for questions.
Definition at line 156 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setFooterPage | ( | int | $a_pg | ) |
Definition at line 854 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setForTranslation | ( | bool | $a_val | ) |
Set for translation (lm has been imported for translation purposes)
Definition at line 302 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setHeaderPage | ( | int | $a_pg | ) |
Definition at line 844 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setHideHeaderFooterPrint | ( | bool | $a_val | ) |
Set hide header footer in print mode.
Definition at line 794 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setImportDirectory | ( | string | $a_import_dir | ) |
Definition at line 368 of file class.ilObjContentObject.php.
ilObjContentObject::setLayout | ( | string | $a_layout | ) |
Definition at line 481 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setLayoutPerPage | ( | bool | $a_val | ) |
Definition at line 143 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setPageHeader | ( | string | $a_pg_header = ilLMObject::CHAPTER_TITLE | ) |
set page header mode
string | $a_pg_header | ilLMOBject::CHAPTER_TITLE | ilLMOBject::PAGE_TITLE | ilLMOBject::NO_HEADER |
Definition at line 718 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setProgressIcons | ( | bool | $a_val | ) |
Definition at line 166 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setPublicExportFile | ( | string | $a_type, |
string | $a_file | ||
) |
specify public export file for type
Definition at line 1664 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setPublicNotes | ( | bool | $a_pub_notes | ) |
Definition at line 824 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setRating | ( | bool | $a_value | ) |
Definition at line 2089 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setRatingPages | ( | bool | $a_value | ) |
Definition at line 2099 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setRestrictForwardNavigation | ( | bool | $a_val | ) |
Definition at line 186 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setStoreTries | ( | bool | $a_val | ) |
Definition at line 176 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::setTOCMode | ( | string | $a_toc_mode = "chapters" | ) |
set toc mode
string | $a_toc_mode | "chapters" | "pages" |
Definition at line 736 of file class.ilObjContentObject.php.
Referenced by readProperties().
ilObjContentObject::update | ( | ) |
Definition at line 201 of file class.ilObjContentObject.php.
References updateAutoGlossaries(), ilObject\updateMetaData(), and updateProperties().
ilObjContentObject::updateAutoGlossaries | ( | ) |
Definition at line 210 of file class.ilObjContentObject.php.
References ilObject\$db, $ilDB, and getAutoGlossaries().
Referenced by create(), and update().
ilObjContentObject::updateProperties | ( | ) |
Definition at line 902 of file class.ilObjContentObject.php.
References ilObject\$db, $ilDB, $q, cleanFrames(), getDisableDefaultFeedback(), getFooterPage(), getForTranslation(), getHeaderPage(), getHideHeaderFooterPrint(), ilObject\getId(), getLayout(), getLayoutPerPage(), getPageHeader(), getProgressIcons(), getPublicExportFile(), getRestrictForwardNavigation(), getStoreTries(), getTOCMode(), hasRating(), hasRatingPages(), isActiveDownloads(), isActiveDownloadsPublic(), isActiveLMMenu(), isActiveNumbering(), isActivePreventGlossaryAppendix(), isActivePrintView(), isActiveTOC(), publicNotes(), setCleanFrames(), and ilUtil\tf2yn().
Referenced by update().
ilObjContentObject::validatePages | ( | ) |
Validate all pages.
Definition at line 1840 of file class.ilObjContentObject.php.
References Vendor\Package\$e, ilObject\$error, ilObject\$title, ilPageObject\_exists(), ilCopyWizardOptions\_getInstance(), ilLMObject\_lookupTitle(), cleanFrames(), ilObject\cloneMetaData(), copyAllPagesAndChapters(), getAutoGlossaries(), ilObject\getDescription(), getDisableDefaultFeedback(), getFooterPage(), getHeaderPage(), ilObject\getId(), ilObjectTranslation\getInstance(), getLayout(), getLayoutPerPage(), ilObject\getOfflineStatus(), getPageHeader(), ilLMPageObject\getPageList(), getProgressIcons(), getRestrictForwardNavigation(), getStoreTries(), getTOCMode(), ilObject\getType(), hasRating(), hasRatingPages(), isActiveDownloads(), isActiveDownloadsPublic(), isActiveLMMenu(), isActiveNumbering(), isActivePreventGlossaryAppendix(), isActivePrintView(), isActiveTOC(), ILIAS\Repository\lng(), publicNotes(), and ilLMMenuEditor\writeActive().
|
static |
Definition at line 501 of file class.ilObjContentObject.php.
Referenced by ilLearningModuleImporter\finalProcessing().
|
static |
Definition at line 486 of file class.ilObjContentObject.php.
Referenced by ilLearningModuleImporter\finalProcessing().
array ilObjContentObject::$auto_glossaries = array() |
Definition at line 61 of file class.ilObjContentObject.php.
Referenced by getAutoGlossaries().
|
protected |
Definition at line 35 of file class.ilObjContentObject.php.
Referenced by cleanFrames().
|
protected |
Definition at line 64 of file class.ilObjContentObject.php.
|
protected |
Definition at line 49 of file class.ilObjContentObject.php.
Referenced by getDisableDefaultFeedback().
|
protected |
Definition at line 38 of file class.ilObjContentObject.php.
Referenced by isActiveDownloads().
|
protected |
Definition at line 37 of file class.ilObjContentObject.php.
Referenced by isActiveDownloadsPublic().
|
protected |
Definition at line 30 of file class.ilObjContentObject.php.
|
protected |
Definition at line 33 of file class.ilObjContentObject.php.
Referenced by getFooterPage().
bool ilObjContentObject::$for_translation = false |
Definition at line 58 of file class.ilObjContentObject.php.
Referenced by getForTranslation().
|
protected |
Definition at line 32 of file class.ilObjContentObject.php.
Referenced by getHeaderPage().
|
protected |
Definition at line 39 of file class.ilObjContentObject.php.
Referenced by getHideHeaderFooterPrint().
|
private |
Definition at line 62 of file class.ilObjContentObject.php.
Referenced by getImportDirectory().
string ilObjContentObject::$layout = '' |
Definition at line 54 of file class.ilObjContentObject.php.
Referenced by getLayout().
|
protected |
Definition at line 50 of file class.ilObjContentObject.php.
Referenced by getLayoutPerPage().
|
protected |
Definition at line 63 of file class.ilObjContentObject.php.
|
protected |
Definition at line 44 of file class.ilObjContentObject.php.
Referenced by isActiveLMMenu().
ilLMTree ilObjContentObject::$lm_tree |
Definition at line 53 of file class.ilObjContentObject.php.
Referenced by getLMTree(), and getTree().
|
protected |
Definition at line 52 of file class.ilObjContentObject.php.
|
protected |
Definition at line 66 of file class.ilObjContentObject.php.
|
private |
Definition at line 65 of file class.ilObjContentObject.php.
|
protected |
Definition at line 29 of file class.ilObjContentObject.php.
|
protected |
Definition at line 27 of file class.ilObjContentObject.php.
|
protected |
Definition at line 42 of file class.ilObjContentObject.php.
Referenced by isActiveNumbering().
bool ilObjContentObject::$online = false |
Definition at line 57 of file class.ilObjContentObject.php.
string ilObjContentObject::$pg_header = '' |
Definition at line 56 of file class.ilObjContentObject.php.
Referenced by getPageHeader().
|
protected |
Definition at line 40 of file class.ilObjContentObject.php.
Referenced by isActivePreventGlossaryAppendix().
|
protected |
Definition at line 41 of file class.ilObjContentObject.php.
Referenced by isActivePrintView().
|
protected |
Definition at line 48 of file class.ilObjContentObject.php.
Referenced by getProgressIcons().
|
protected |
Definition at line 36 of file class.ilObjContentObject.php.
Referenced by publicNotes().
|
protected |
Definition at line 31 of file class.ilObjContentObject.php.
|
protected |
Definition at line 28 of file class.ilObjContentObject.php.
|
protected |
Definition at line 59 of file class.ilObjContentObject.php.
Referenced by hasRating().
|
protected |
Definition at line 60 of file class.ilObjContentObject.php.
Referenced by hasRatingPages().
|
protected |
Definition at line 46 of file class.ilObjContentObject.php.
Referenced by getRestrictForwardNavigation().
|
protected |
Definition at line 47 of file class.ilObjContentObject.php.
Referenced by getStoreTries().
int ilObjContentObject::$style_id = 0 |
Definition at line 55 of file class.ilObjContentObject.php.
|
protected |
Definition at line 43 of file class.ilObjContentObject.php.
Referenced by isActiveTOC().
|
protected |
Definition at line 45 of file class.ilObjContentObject.php.
Referenced by getTOCMode().
|
protected |
Definition at line 51 of file class.ilObjContentObject.php.
|
protected |
Definition at line 34 of file class.ilObjContentObject.php.