ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
getTileSizes () | |
getObjectTranslation () | |
setObjectTranslation (?ilObjectTranslation $obj_trans) | |
createContainerDirectory () | |
getContainerDirectory () | |
setHiddenFilesFound (bool $a_hiddenfilesfound) | |
getHiddenFilesFound () | |
getStyleSheetId () | |
setStyleSheetId (int $a_style_id) | |
setNewsTimeline (bool $a_val) | |
getNewsTimeline () | |
setNewsTimelineAutoEntries (bool $a_val) | |
getNewsTimelineAutoEntries () | |
setNewsTimelineLandingPage (bool $a_val) | |
getNewsTimelineLandingPage () | |
isNewsTimelineEffective () | |
isNewsTimelineLandingPageEffective () | |
setNewsBlockActivated (bool $a_val) | |
getNewsBlockActivated () | |
setUseNews (bool $a_val) | |
getUseNews () | |
cloneDependencies (int $target_id, int $copy_id) | |
Clone object dependencies (container sorting) More... | |
cloneAllObject (string $session_id, string $client_id, string $new_type, int $ref_id, int $clone_source, array $options, bool $soap_call=false, int $a_submode=1) | |
delete () | |
delete category and all related data More... | |
getViewMode () | |
getOrderType () | |
setOrderType (int $a_value) | |
isClassificationFilterActive () | |
filteredSubtree () | |
Note grp/crs currently allow to filter in their whole subtrees Catetories only their direct childs. More... | |
getSubItems (bool $a_admin_panel_enabled=false, bool $a_include_side_block=false, int $a_get_single=0, ilContainerUserFilter $container_user_filter=null) | |
gotItems () | |
addAdditionalSubItemInformation (array &$object) | |
Add additional information to sub item, e.g. More... | |
getGroupedObjTypes () | |
enablePageEditing () | |
create () | |
putInTree (int $parent_ref_id) | |
update () | |
read () | |
readContainerSettings () | |
removeTranslations () | |
deleteTranslation (string $a_lang) | |
addTranslation (string $a_title, string $a_desc, string $a_lang, string $a_lang_default) | |
![]() | |
__construct (int $id=0, bool $reference=true) | |
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 $desc) | |
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 | _getContainerDirectory (int $a_id) |
static | _lookupContainerSetting (int $a_id, string $a_keyword, string $a_default_value=null) |
static | _hasContainerSetting (int $a_id, string $a_keyword) |
static | _writeContainerSetting (int $a_id, string $a_keyword, string $a_value) |
static | _getContainerSettings (int $a_id) |
static | _deleteContainerSettings (int $a_id, string $a_keyword="", bool $a_keyword_like=false) |
static | _exportContainerSettings (ilXmlWriter $a_xml, int $a_obj_id) |
static | getCompleteDescriptions (array $objects) |
overwrites description fields to long or short description in an assoc array keys needed (obj_id and description) 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 | _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 | |
const | VIEW_SESSIONS = 0 |
const | VIEW_OBJECTIVE = 1 |
const | VIEW_TIMING = 2 |
const | VIEW_ARCHIVE = 3 |
const | VIEW_SIMPLE = 4 |
const | VIEW_BY_TYPE = 5 |
const | VIEW_INHERIT = 6 |
const | VIEW_DEFAULT = self::VIEW_BY_TYPE |
const | SORT_TITLE = 0 |
const | SORT_MANUAL = 1 |
const | SORT_ACTIVATION = 2 |
const | SORT_INHERIT = 3 |
const | SORT_CREATION = 4 |
const | SORT_DIRECTION_ASC = 0 |
const | SORT_DIRECTION_DESC = 1 |
const | SORT_NEW_ITEMS_POSITION_TOP = 0 |
const | SORT_NEW_ITEMS_POSITION_BOTTOM = 1 |
const | SORT_NEW_ITEMS_ORDER_TITLE = 0 |
const | SORT_NEW_ITEMS_ORDER_CREATION = 1 |
const | SORT_NEW_ITEMS_ORDER_ACTIVATION = 2 |
const | TILE_NORMAL = 0 |
const | TILE_SMALL = 1 |
const | TILE_LARGE = 2 |
const | TILE_EXTRA_LARGE = 3 |
const | TILE_FULL = 4 |
array | $items = [] |
![]() | |
const | TITLE_LENGTH = 255 |
const | DESC_LENGTH = 128 |
const | LONG_DESC_LENGTH = 4000 |
const | TABLE_OBJECT_DATA = "object_data" |
array | $objectList |
string | $untranslatedTitle |
Static Public Attributes | |
static bool | $data_preloaded = false |
Protected Member Functions | |
getInitialSubitems () | |
applyContainerUserFilter (array $objects, ilContainerUserFilter $container_user_filter=null) | |
Apply container user filter on objects. More... | |
filterObjIdsByCopyright (array $obj_ids, string $copyright_id) | |
filterObjIdsByDefaultCopyright (array $obj_ids, string $default_identifier) | |
legacyOnlineFilter (array $obj_ids, array $objects, int $val) | |
Legacy online filter. More... | |
![]() | |
doMDUpdateListener (string $a_element) | |
beforeMDUpdateListener (string $a_element) | |
doCreateMetaData () | |
beforeCreateMetaData () | |
doUpdateMetaData () | |
beforeUpdateMetaData () | |
doDeleteMetaData () | |
beforeDeleteMetaData () | |
handleAutoRating () | |
hasAutoRating () | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilContainer
Base class for all container objects (categories, courses, groups)
Definition at line 26 of file class.ilContainer.php.
|
static |
Definition at line 335 of file class.ilContainer.php.
Referenced by ilObjectTileImage\copy(), ilObjectTileImage\delete(), ilObjectCustomIconImpl\delete(), ilObjCategoryGUI\getObjectMetadataGUI(), ilObjectTileImage\persistImageState(), and ilObjCategoryGUI\updateObject().
|
static |
Definition at line 360 of file class.ilContainer.php.
References ilObject\$log, ILIAS\LTI\ToolProvider\$settings, $target_id, ilContainerSortingSettings\_cloneSettings(), ilPageObject\_exists(), ilBlockSetting\cloneSettingsOfBlock(), ilLogger\debug(), ilObject\getId(), ilObjectTranslation\getInstance(), ilLoggerFactory\getLogger(), getNewsBlockActivated(), getNewsTimeline(), getNewsTimelineAutoEntries(), getNewsTimelineLandingPage(), ilObject\getRefId(), getUseNews(), ilXmlWriter\xmlData(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by ilCategoryXmlWriter\export(), ilGroupXMLWriter\start(), and ilCourseXMLWriter\start().
|
static |
Definition at line 152 of file class.ilContainer.php.
References ilFileUtils\getWebspaceDir().
|
static |
int | $a_id |
Definition at line 317 of file class.ilContainer.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjPortfolioBase\cloneBasics(), ilObjCategoryGUI\getActiveBlocks(), ilTaxonomyClassificationProvider\getActiveTaxonomiesForParentRefId(), and ilObjExercise\saveData().
|
static |
Definition at line 270 of file class.ilContainer.php.
References $DIC, $ilDB, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by ilObjectDataSet\getTypes().
|
static |
Definition at line 248 of file class.ilContainer.php.
References $DIC, $ilDB, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by ilContSkillMemberTableGUI\__construct(), ilContainerByTypeContentGUI\__construct(), ilObjectTileImage\__construct(), ilObjCategoryGUI\__construct(), ilObjContentPageGUI\__construct(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilLocatorGUI\addRepositoryItems(), ilObjectCommonSettingFormAdapter\addTitleIconVisibility(), ilObjectCommonSettingFormAdapter\addTopActionsVisibility(), ilObjWiki\cloneObject(), ilObjSession\cloneSettings(), ilObjContentPage\doCloneObject(), ilObjectTileImage\exists(), ilObjectCustomIconImpl\exists(), ilContSkillMemberTableGUI\fillRow(), ilMailMemberSearchGUI\generateContextArray(), ilTaxonomyClassificationProvider\getActiveTaxonomiesForParentRefId(), ilObjPortfolioTemplateGUI\getEditFormCustomValues(), ilObjExerciseGUI\getEditFormCustomValues(), ilObjContentPageListGUI\getInfoScreenStatus(), ilObjCategoryListGUI\getInfoScreenStatus(), ilCourseMembershipGUI\getMailContextOptions(), ilGroupMembershipGUI\getMailContextOptions(), ilNewsItem\getNewsForRefId(), ilObjCategoryGUI\getObjectMetadataGUI(), ilTaxMDGUI\getSelectableTaxonomies(), ilObjCategoryGUI\getTabs(), ilObjGroupGUI\getTabs(), ilObjCourseGUI\getTabs(), ilObjSessionGUI\getTabs(), ilObjectDataSet\getTypes(), ilObjectMetaDataGUI\hasAdvancedMDSettings(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilContainerGUI\initFilter(), ilContainerGUI\initListPresentationForm(), ilGroupMembershipMailNotification\initMail(), ilCourseMembershipMailNotification\initMail(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilContSkillAdminGUI\initSettingsForm(), ilObjectListGUI\insertCommands(), ilObjectGUI\insertHeaderAction(), ilContSkillPresentationGUI\isAccessible(), ilTaggingClassificationProvider\isActive(), ilMembershipNotifications\isActiveForRefId(), ilColumnGUI\isGloballyActivated(), ilObjFileBasedLMAccess\isInfoEnabled(), ilObjContentObjectAccess\isInfoEnabled(), ilBadgeHandler\isObjectActive(), ilCalendarSettings\lookupCalendarActivated(), ilCalendarSettings\lookupCalendarContentPresentationEnabled(), ilContentPageDataSet\readData(), ilContainerRenderer\renderHelperGeneric(), ilContSkillAdminGUI\saveCompetenceAssignment(), ilObject\selfOrParentWithRatingEnabled(), ilObjCategoryGUI\setEditTabs(), ilObjRootFolderGUI\setTitleAndDescription(), ilContainerGUI\setTitleAndDescription(), ilContainerGUI\showContainerFilter(), and ilAdvancedMDRecordObjectOrderings\sortRecords().
|
static |
Definition at line 287 of file class.ilContainer.php.
References $DIC, $ilDB, ilObject\$log, $query, ilLogger\debug(), and ilLoggerFactory\getLogger().
Referenced by ilObjPortfolioBase\cloneBasics(), ilObjWiki\cloneObject(), ilObjSession\cloneSettings(), ilObjectTileImage\copy(), ilObjectCustomIconImpl\copy(), ilObjTalkTemplate\create(), ilObjectTileImage\createFromImportDir(), ilObjContentPage\doCloneObject(), ilObjectDataSet\getDependencies(), ilObjCategoryGUI\getObjectMetadataGUI(), ilCategoryXmlParser\handlerEndTag(), ilGroupXMLParser\handlerEndTag(), ilCourseXMLParser\handlerEndTag(), ilContentPageDataSet\importRecord(), ilAdvancedMetaDataImporter\importXmlRepresentation(), ilObjectCustomIconImpl\persistIconState(), ilObjectTileImage\persistImageState(), ilObjEmployeeTalkSeries\read(), ilObjectCustomIconImpl\remove(), ilObjExercise\saveData(), ilContainerGUI\saveListPresentation(), ilContSkillAdminGUI\saveSettings(), ilObjectCommonSettingFormAdapter\saveTitleIconVisibility(), ilObjectCommonSettingFormAdapter\saveTopActionsVisibility(), ilObjCourseGUI\updateObject(), ilObjCategoryGUI\updateObject(), ilObjectServiceSettingsGUI\updateServiceSettingsForm(), and ilObjectServiceSettingsGUI\updateToolSettings().
ilContainer::addAdditionalSubItemInformation | ( | array & | $object | ) |
Add additional information to sub item, e.g.
used in courses for timings information etc.
Definition at line 784 of file class.ilContainer.php.
Referenced by getSubItems().
ilContainer::addTranslation | ( | string | $a_title, |
string | $a_desc, | ||
string | $a_lang, | ||
string | $a_lang_default | ||
) |
Definition at line 1025 of file class.ilContainer.php.
Referenced by create().
|
protected |
Apply container user filter on objects.
this deserves a decentralized general concept (consumers provide object filter types)
move selects to respective components
ilException |
Workaround: Only text fields take care of $parser_value being passed through new ilQueryParser($parser_value), thus other fields pass values by setting directly in the ADT objects. This could go to a new bridge.
Definition at line 1046 of file class.ilContainer.php.
References ilObject\$db, $DIC, $i, ILIAS\LTI\ToolProvider\$key, ilObjectSearchFactory\_getAdvancedMDSearchInstance(), ilObjectSearchFactory\_getAdvancedSearchInstance(), ilDBInterface\fetchAssoc(), filterObjIdsByCopyright(), ilObject\getId(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstance(), ilDBInterface\in(), legacyOnlineFilter(), ilDBInterface\like(), ilQueryParser\QP_COMBINATION_OR, ilDBInterface\queryF(), ilDBInterface\quote(), ilContainerFilterField\STD_FIELD_AUTHOR, ilContainerFilterField\STD_FIELD_COPYRIGHT, ilContainerFilterField\STD_FIELD_DESCRIPTION, ilContainerFilterField\STD_FIELD_KEYWORD, ilContainerFilterField\STD_FIELD_OBJECT_TYPE, ilContainerFilterField\STD_FIELD_ONLINE, ilContainerFilterField\STD_FIELD_TITLE, ilContainerFilterField\STD_FIELD_TITLE_DESCRIPTION, ilContainerFilterField\STD_FIELD_TUTORIAL_SUPPORT, and ilUtil\stripSlashes().
Referenced by getSubItems().
ilContainer::cloneAllObject | ( | string | $session_id, |
string | $client_id, | ||
string | $new_type, | ||
int | $ref_id, | ||
int | $clone_source, | ||
array | $options, | ||
bool | $soap_call = false , |
||
int | $a_submode = 1 |
||
) |
string | $session_id | |
string | $client_id | |
string | $new_type | |
int | $ref_id | |
int | $clone_source | |
array | $options | |
bool | $soap_call | force soap |
int | $a_submode | submode 1 => copy all, 2 => copy content |
Definition at line 502 of file class.ilContainer.php.
References $ilUser, ilObject\$log, $res, $user, ilCopyWizardOptions\_allocateCopyId(), ilSession\_duplicate(), ilCopyWizardOptions\_getInstance(), ilLoggerFactory\getLogger(), ilSoapFunctions\ilClone(), ILIAS\Repository\int(), and ilObjectCopyGUI\SUBMODE_CONTENT_ONLY.
ilContainer::cloneDependencies | ( | int | $target_id, |
int | $copy_id | ||
) |
Clone object dependencies (container sorting)
public
int | target ref id of new course |
int | copy id return bool |
Definition at line 468 of file class.ilContainer.php.
References ilObject\$log, ilContainerSorting\_getInstance(), ilObjItemGroup\fixContainerItemGroupRefsAfterCloning(), ilObject\getId(), ilObjectLP\getInstance(), and ilObject\getRefId().
ilContainer::create | ( | ) |
Definition at line 810 of file class.ilContainer.php.
References $DIC, ilObject\$lng, ilObject\$log, addTranslation(), ilLogger\debug(), ilLanguage\getDefaultLanguage(), ilObject\getDescription(), ilObject\getId(), ilObjectTranslation\getInstance(), ilLoggerFactory\getLogger(), getNewsBlockActivated(), getNewsTimeline(), getNewsTimelineAutoEntries(), getNewsTimelineLandingPage(), getStyleSheetId(), ilObject\getTitle(), getUseNews(), ilObjectServiceSettingsGUI\NEWS_VISIBILITY, and ilObjectServiceSettingsGUI\USE_NEWS.
Referenced by ilObjEmployeeTalkSeries\read().
ilContainer::createContainerDirectory | ( | ) |
Definition at line 134 of file class.ilContainer.php.
References ilObject\getId(), ilFileUtils\getWebspaceDir(), and ilFileUtils\makeDir().
ilContainer::delete | ( | ) |
delete category and all related data
Definition at line 568 of file class.ilContainer.php.
ilContainer::deleteTranslation | ( | string | $a_lang | ) |
Definition at line 1019 of file class.ilContainer.php.
ilContainer::enablePageEditing | ( | ) |
ilContainer::filteredSubtree | ( | ) |
Note grp/crs currently allow to filter in their whole subtrees Catetories only their direct childs.
Definition at line 613 of file class.ilContainer.php.
References ilObject\getType(), and isClassificationFilterActive().
Referenced by getInitialSubitems().
|
protected |
Definition at line 1222 of file class.ilContainer.php.
References ilObject\$db, ilMDCopyrightSelectionEntry\createIdentifier(), ilDBInterface\fetchAssoc(), filterObjIdsByDefaultCopyright(), ilMDCopyrightSelectionEntry\getDefault(), ilDBInterface\in(), and ilDBInterface\queryF().
Referenced by applyContainerUserFilter().
|
protected |
Definition at line 1248 of file class.ilContainer.php.
References ilObject\$db, ilDBInterface\fetchAssoc(), ilDBInterface\in(), and ilDBInterface\queryF().
Referenced by filterObjIdsByCopyright().
|
static |
overwrites description fields to long or short description in an assoc array keys needed (obj_id and description)
Definition at line 919 of file class.ilContainer.php.
References $DIC, $ilSetting, ILIAS\LTI\ToolProvider\$key, ilObject\$long_desc, ilObject\$type, ilPageObject\_exists(), ilCopyWizardOptions\_getInstance(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObject\DESC_LENGTH, ilObjectDefinition\getClassName(), ilPageObjectFactory\getInstance(), ilObjectDefinition\getLocation(), ilObject\getLongDescriptions(), and ilStr\shortenTextExtended().
Referenced by ilContainerContentGUI\renderItem(), and ilContainerContentGUI\renderItemGroup().
ilContainer::getContainerDirectory | ( | ) |
Definition at line 147 of file class.ilContainer.php.
References ilObject\getId().
ilContainer::getGroupedObjTypes | ( | ) |
Definition at line 789 of file class.ilContainer.php.
References $obj_definition, and ilObject\getType().
ilContainer::getHiddenFilesFound | ( | ) |
|
protected |
Definition at line 621 of file class.ilContainer.php.
References ilObject\$tree, filteredSubtree(), ilTree\getChilds(), ilTree\getNodeData(), ilObject\getRefId(), and ilTree\getSubTree().
Referenced by getSubItems().
ilContainer::getNewsBlockActivated | ( | ) |
Definition at line 233 of file class.ilContainer.php.
References $news_block_activated.
Referenced by _exportContainerSettings(), create(), and update().
ilContainer::getNewsTimeline | ( | ) |
Definition at line 183 of file class.ilContainer.php.
References $news_timeline.
Referenced by _exportContainerSettings(), create(), isNewsTimelineEffective(), isNewsTimelineLandingPageEffective(), and update().
ilContainer::getNewsTimelineAutoEntries | ( | ) |
Definition at line 193 of file class.ilContainer.php.
References $news_timeline_auto_entries.
Referenced by _exportContainerSettings(), create(), and update().
ilContainer::getNewsTimelineLandingPage | ( | ) |
Definition at line 203 of file class.ilContainer.php.
References $news_timeline_landing_page.
Referenced by _exportContainerSettings(), create(), isNewsTimelineLandingPageEffective(), and update().
ilContainer::getObjectTranslation | ( | ) |
Definition at line 123 of file class.ilContainer.php.
References $obj_trans.
Referenced by ilObjStudyProgrammeSettingsGUI\buildForm(), and update().
ilContainer::getOrderType | ( | ) |
Definition at line 585 of file class.ilContainer.php.
ilContainer::getStyleSheetId | ( | ) |
Definition at line 168 of file class.ilContainer.php.
References $style_id.
Referenced by create().
ilContainer::getSubItems | ( | bool | $a_admin_panel_enabled = false , |
bool | $a_include_side_block = false , |
||
int | $a_get_single = 0 , |
||
ilContainerUserFilter | $container_user_filter = null |
||
) |
Definition at line 632 of file class.ilContainer.php.
References $i, ilObject\$id, ILIAS\LTI\ToolProvider\$key, $obj_definition, ilObject\$type, ilContainerSorting\_getInstance(), ilObjFileAccess\_isFileHidden(), addAdditionalSubItemInformation(), applyContainerUserFilter(), ilObjectListGUI\CONTEXT_REPOSITORY, ilObject\getId(), getInitialSubitems(), ilObjectActivation\getItemsByEvent(), ilObject\getRefId(), ilObject\getType(), ilClassificationProvider\getValidProviders(), ILIAS\Repository\int(), isClassificationFilterActive(), and setHiddenFilesFound().
Referenced by ilEmployeeTalkAppointmentGUI\getPendingTalksInSeries().
ilContainer::getTileSizes | ( | ) |
Definition at line 111 of file class.ilContainer.php.
References ilObject\$lng, and ilLanguage\txt().
ilContainer::getUseNews | ( | ) |
Definition at line 243 of file class.ilContainer.php.
References $use_news.
Referenced by _exportContainerSettings(), create(), isNewsTimelineEffective(), isNewsTimelineLandingPageEffective(), and update().
ilContainer::getViewMode | ( | ) |
Definition at line 580 of file class.ilContainer.php.
Referenced by ilContainerSessionsContentGUI\initDetails().
ilContainer::gotItems | ( | ) |
Definition at line 772 of file class.ilContainer.php.
ilContainer::isClassificationFilterActive | ( | ) |
Definition at line 595 of file class.ilContainer.php.
References ilObject\$id, ilObject\getId(), ilObject\getRefId(), ilObject\getType(), and ilClassificationProvider\getValidProviders().
Referenced by filteredSubtree(), and getSubItems().
ilContainer::isNewsTimelineEffective | ( | ) |
Definition at line 208 of file class.ilContainer.php.
References getNewsTimeline(), and getUseNews().
ilContainer::isNewsTimelineLandingPageEffective | ( | ) |
Definition at line 219 of file class.ilContainer.php.
References getNewsTimeline(), getNewsTimelineLandingPage(), and getUseNews().
|
protected |
Legacy online filter.
This can be removed, once all objects use the central online/offline property
int[] | $obj_ids | |
array | $objects | |
int | $val |
Definition at line 1280 of file class.ilContainer.php.
References $i, ILIAS\LTI\ToolProvider\$key, ilObject\$type, ilObjMediaCastAccess\_lookupOnline(), ilObjDataCollectionAccess\_lookupOnline(), ilObjSurveyQuestionPool\_lookupOnline(), ilObjBookingPoolAccess\_lookupOnlineStatus(), ilObjPortfolioTemplateAccess\_lookupOnlineStatus(), ilObjGlossaryAccess\_lookupOnlineStatus(), ilObjWikiAccess\_lookupOnlineStatus(), and ilObjQuestionPoolAccess\isOnline().
Referenced by applyContainerUserFilter().
ilContainer::putInTree | ( | int | $parent_ref_id | ) |
Definition at line 845 of file class.ilContainer.php.
References ilObject\_lookupObjId(), and ilObject\getId().
Referenced by ilECSCourseCreationHandler\createCourseReference().
ilContainer::read | ( | ) |
Definition at line 888 of file class.ilContainer.php.
References ilContainerSortingSettings\_lookupSortMode(), ilObject\getId(), ilObjectTranslation\getInstance(), readContainerSettings(), and setOrderType().
Referenced by ilObjOrgUnit\__construct().
ilContainer::readContainerSettings | ( | ) |
Definition at line 900 of file class.ilContainer.php.
References ilObject\getId(), ilObjectServiceSettingsGUI\NEWS_VISIBILITY, setNewsBlockActivated(), setNewsTimeline(), setNewsTimelineAutoEntries(), setNewsTimelineLandingPage(), setUseNews(), and ilObjectServiceSettingsGUI\USE_NEWS.
Referenced by read().
ilContainer::removeTranslations | ( | ) |
Definition at line 1014 of file class.ilContainer.php.
ilContainer::setHiddenFilesFound | ( | bool | $a_hiddenfilesfound | ) |
Definition at line 158 of file class.ilContainer.php.
Referenced by getSubItems().
ilContainer::setNewsBlockActivated | ( | bool | $a_val | ) |
Definition at line 228 of file class.ilContainer.php.
Referenced by readContainerSettings().
ilContainer::setNewsTimeline | ( | bool | $a_val | ) |
Definition at line 178 of file class.ilContainer.php.
Referenced by readContainerSettings().
ilContainer::setNewsTimelineAutoEntries | ( | bool | $a_val | ) |
Definition at line 188 of file class.ilContainer.php.
Referenced by readContainerSettings().
ilContainer::setNewsTimelineLandingPage | ( | bool | $a_val | ) |
Definition at line 198 of file class.ilContainer.php.
Referenced by readContainerSettings().
ilContainer::setObjectTranslation | ( | ?ilObjectTranslation | $obj_trans | ) |
ilContainer::setOrderType | ( | int | $a_value | ) |
Definition at line 590 of file class.ilContainer.php.
Referenced by ilObjFolder\read(), ilObjCourse\read(), ilObjGroup\read(), and read().
ilContainer::setStyleSheetId | ( | int | $a_style_id | ) |
Definition at line 173 of file class.ilContainer.php.
ilContainer::setUseNews | ( | bool | $a_val | ) |
Definition at line 238 of file class.ilContainer.php.
Referenced by readContainerSettings().
ilContainer::update | ( | ) |
Definition at line 858 of file class.ilContainer.php.
References ilObject\$log, ilLogger\debug(), ilObject\getId(), ilLoggerFactory\getLogger(), ilObject\getLongDescription(), getNewsBlockActivated(), getNewsTimeline(), getNewsTimelineAutoEntries(), getNewsTimelineLandingPage(), getObjectTranslation(), ilObject\getTitle(), getUseNews(), ilLogger\logStack(), ilObjectServiceSettingsGUI\NEWS_VISIBILITY, and ilObjectServiceSettingsGUI\USE_NEWS.
Referenced by ilObjEmployeeTalkSeriesGUI\copyTemplateValues(), and ilObjEmployeeTalkSeries\read().
|
protected |
Definition at line 65 of file class.ilContainer.php.
|
protected |
Definition at line 28 of file class.ilContainer.php.
|
static |
Definition at line 63 of file class.ilContainer.php.
|
protected |
Definition at line 71 of file class.ilContainer.php.
Referenced by getHiddenFilesFound().
array ilContainer::$items = [] |
Definition at line 68 of file class.ilContainer.php.
|
protected |
Definition at line 29 of file class.ilContainer.php.
|
protected |
Definition at line 78 of file class.ilContainer.php.
Referenced by getNewsBlockActivated().
|
protected |
Definition at line 72 of file class.ilContainer.php.
Referenced by getNewsTimeline().
|
protected |
Definition at line 73 of file class.ilContainer.php.
Referenced by getNewsTimelineAutoEntries().
|
protected |
Definition at line 77 of file class.ilContainer.php.
Referenced by getNewsTimelineLandingPage().
|
protected |
Definition at line 69 of file class.ilContainer.php.
Referenced by getGroupedObjTypes(), and getSubItems().
|
protected |
Definition at line 75 of file class.ilContainer.php.
Referenced by getObjectTranslation(), and setObjectTranslation().
|
protected |
Definition at line 70 of file class.ilContainer.php.
|
protected |
Definition at line 66 of file class.ilContainer.php.
|
protected |
Definition at line 80 of file class.ilContainer.php.
|
protected |
Definition at line 74 of file class.ilContainer.php.
Referenced by enablePageEditing().
|
protected |
Definition at line 76 of file class.ilContainer.php.
Referenced by getStyleSheetId().
|
protected |
Definition at line 79 of file class.ilContainer.php.
Referenced by getUseNews().
|
protected |
Definition at line 67 of file class.ilContainer.php.
Referenced by cloneAllObject().
const ilContainer::SORT_ACTIVATION = 2 |
Definition at line 43 of file class.ilContainer.php.
Referenced by ilCourseObjective\__getOrderColumn(), ilContainerSortingSettings\_exportContainerSortingSettings(), ilContainerSortingSettings\_importContainerSortingSettings(), ilObjCourseGUI\initEditForm(), ilContainerGUI\initManualSortingOptionForm(), ilContainerGUI\initSortingForm(), ilContainerGUI\saveSortingSettings(), ilContainerSorting\sortItems(), ilContainerSortingSettings\sortModeToString(), ilContainerSorting\sortSubItems(), and ilObjCourseGUI\updateObject().
const ilContainer::SORT_CREATION = 4 |
Definition at line 45 of file class.ilContainer.php.
Referenced by ilContainerSortingSettings\_exportContainerSortingSettings(), ilContainerSortingSettings\_importContainerSortingSettings(), ilObjFolderGUI\initEditForm(), ilObjRootFolderGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilContainerGUI\initManualSortingOptionForm(), ilContainerGUI\initSortingForm(), ilContainerGUI\saveSortingSettings(), ilContainerSorting\sortItems(), ilContainerSortingSettings\sortModeToString(), and ilContainerSorting\sortSubItems().
const ilContainer::SORT_DIRECTION_ASC = 0 |
Definition at line 47 of file class.ilContainer.php.
Referenced by ilContainerSortingSettings\_exportContainerSortingSettings(), ilContainerSortingSettings\_importContainerSortingSettings(), ilObjStudyProgrammeGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), ilContainerSortingSettings\getSortDirection(), ilContainerGUI\initSortingDirectionForm(), ilContainerSorting\sortItems(), ilContainerSorting\sortOrderDefault(), and ilContainerSorting\sortSubItems().
const ilContainer::SORT_DIRECTION_DESC = 1 |
Definition at line 48 of file class.ilContainer.php.
Referenced by ilContainerSortingSettings\_importContainerSortingSettings(), and ilContainerGUI\initSortingDirectionForm().
const ilContainer::SORT_INHERIT = 3 |
Definition at line 44 of file class.ilContainer.php.
Referenced by ilContainerSortingSettings\_exportContainerSortingSettings(), ilContainerSortingSettings\_lookupSortMode(), ilContainerSortingSettings\_readSortMode(), ilObjFolderGUI\afterSave(), ilObjGroupGUI\afterSave(), ilContainerSortingSettings\getInheritedSettings(), ilObjFolderGUI\initEditForm(), ilObjGroupGUI\initForm(), ilContainerGUI\initSortingForm(), and ilContainerSortingSettings\loadEffectiveSettings().
const ilContainer::SORT_MANUAL = 1 |
Definition at line 42 of file class.ilContainer.php.
Referenced by ilObjCourse\__createDefaultSettings(), ilCourseObjective\__getOrderColumn(), ilContainerSortingSettings\_exportContainerSortingSettings(), ilContainerSortingSettings\_importContainerSortingSettings(), ilObjLinkResourceGUI\activateTabs(), ilContainerGUI\addHeaderRow(), ilObjStudyProgrammeGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), ilLSItemsDB\getLSItems(), ilObjCourse\getOrderType(), ilWebLinkXmlParser\handlerBeginTag(), ilObjFolderGUI\initEditForm(), ilObjRootFolderGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjLinkResourceGUI\initFormSettings(), ilContainerGUI\initSortingForm(), ilContainerGUI\isActiveItemOrdering(), ilContainerGUI\saveSortingSettings(), ilWebLinkItemsContainer\sort(), ilContainerSorting\sortItems(), ilContainerSortingSettings\sortModeToString(), ilContainerSorting\sortSubItems(), ilLSItemsDBTest\testGetLSItemsWithData(), ilLSItemsDBTest\testGetLSItemsWithoutData(), ilWebResourceItemsContainerTest\testSort(), ilObjLinkResource\toXML(), and ilObjLinkResourceGUI\view().
const ilContainer::SORT_NEW_ITEMS_ORDER_ACTIVATION = 2 |
const ilContainer::SORT_NEW_ITEMS_ORDER_CREATION = 1 |
Definition at line 54 of file class.ilContainer.php.
Referenced by ilContainerSortingSettings\_exportContainerSortingSettings(), ilContainerSortingSettings\_importContainerSortingSettings(), ilObjStudyProgrammeGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), ilContainerGUI\initManualSortingOptionForm(), and ilContainerSorting\sortOrderDefault().
const ilContainer::SORT_NEW_ITEMS_ORDER_TITLE = 0 |
const ilContainer::SORT_NEW_ITEMS_POSITION_BOTTOM = 1 |
Definition at line 51 of file class.ilContainer.php.
Referenced by ilContainerSortingSettings\_exportContainerSortingSettings(), ilContainerSortingSettings\_importContainerSortingSettings(), ilObjStudyProgrammeGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), and ilContainerGUI\initManualSortingOptionForm().
const ilContainer::SORT_NEW_ITEMS_POSITION_TOP = 0 |
Definition at line 50 of file class.ilContainer.php.
Referenced by ilContainerSortingSettings\_importContainerSortingSettings(), ilContainerGUI\initManualSortingOptionForm(), and ilContainerSorting\sortOrderDefault().
const ilContainer::SORT_TITLE = 0 |
Definition at line 41 of file class.ilContainer.php.
Referenced by ilCourseObjective\__getOrderColumn(), ilContainerSortingSettings\_exportContainerSortingSettings(), ilContainerSortingSettings\_importContainerSortingSettings(), ilObjGroupGUI\afterSave(), ilObjCategoryGUI\afterSave(), ilWebLinkXmlParser\handlerBeginTag(), ilObjFolderGUI\initEditForm(), ilObjRootFolderGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjLinkResourceGUI\initFormSettings(), ilContainerGUI\initManualSortingOptionForm(), ilContainerGUI\initSortingForm(), ilContainerSortingSettings\loadEffectiveSettings(), ilContainerGUI\saveSortingSettings(), ilWebLinkItemsContainer\sort(), ilContainerSorting\sortItems(), ilContainerSortingSettings\sortModeToString(), ilContainerSorting\sortSubItems(), ilWebResourceItemsContainerTest\testSort(), and ilObjLinkResource\toXML().
const ilContainer::TILE_EXTRA_LARGE = 3 |
Definition at line 60 of file class.ilContainer.php.
Referenced by ilContainerRenderer\renderHelperGeneric().
const ilContainer::TILE_FULL = 4 |
Definition at line 61 of file class.ilContainer.php.
Referenced by ilContainerRenderer\renderHelperGeneric().
const ilContainer::TILE_LARGE = 2 |
Definition at line 59 of file class.ilContainer.php.
Referenced by ilContainerRenderer\renderHelperGeneric().
const ilContainer::TILE_NORMAL = 0 |
Definition at line 57 of file class.ilContainer.php.
const ilContainer::TILE_SMALL = 1 |
Definition at line 58 of file class.ilContainer.php.
Referenced by ilContainerRenderer\renderHelperGeneric().
const ilContainer::VIEW_ARCHIVE = 3 |
Definition at line 34 of file class.ilContainer.php.
const ilContainer::VIEW_BY_TYPE = 5 |
Definition at line 36 of file class.ilContainer.php.
Referenced by ilContainerGUI\getContentGUI(), ilObjWorkspaceFolder\getViewMode(), ilObjFolder\getViewMode(), ilObjGroup\getViewMode(), ilObjGroupGUI\initForm(), ilObjCourseGUI\renderObject(), and ilObjGroup\translateViewMode().
const ilContainer::VIEW_DEFAULT = self::VIEW_BY_TYPE |
Definition at line 39 of file class.ilContainer.php.
Referenced by ilObjCourseAccess\_lookupViewMode(), ilObjGroup\getViewMode(), and ilObjGroup\translateViewMode().
const ilContainer::VIEW_INHERIT = 6 |
Definition at line 37 of file class.ilContainer.php.
Referenced by ilObjGroup\getViewMode(), ilContainerSessionsContentGUI\initDetails(), ilObjGroupGUI\initForm(), and ilObjGroup\translateViewMode().
const ilContainer::VIEW_OBJECTIVE = 1 |
Definition at line 32 of file class.ilContainer.php.
Referenced by ilObjCourseGUI\_modifyItemGUI(), ilContainerGUI\getContentGUI(), ilObjCourseGUI\renderObject(), and ilObjCourseGUI\showPossibleSubObjects().
const ilContainer::VIEW_SESSIONS = 0 |
Definition at line 31 of file class.ilContainer.php.
Referenced by ilContainerGUI\getContentGUI(), ilObjFolder\getViewMode(), ilObjGroup\getViewMode(), ilContainerSessionsContentGUI\initDetails(), ilObjGroupGUI\initForm(), ilObjCourseGUI\renderObject(), and ilObjGroup\translateViewMode().
const ilContainer::VIEW_SIMPLE = 4 |
Definition at line 35 of file class.ilContainer.php.
Referenced by ilContainerGUI\getContentGUI(), ilObjFolder\getViewMode(), ilObjGroup\getViewMode(), ilObjGroupGUI\initForm(), ilObjCourseGUI\renderObject(), and ilObjGroup\translateViewMode().
const ilContainer::VIEW_TIMING = 2 |
Definition at line 33 of file class.ilContainer.php.
Referenced by ilCalendarScheduleFilterTimings\enabledCourseTimings(), ilObjFolderGUI\forwardToTimingsView(), and ilObjCourseGUI\renderObject().