ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilObject Class Reference

Class ilObject Basic functions for all objects. More...

+ Inheritance diagram for ilObject:
+ Collaboration diagram for ilObject:

Public Member Functions

 __construct ($a_id=0, $a_reference=true)
 Constructor public. More...
 
 withReferences ()
 determines wehter objects are referenced or not (got ref ids or not) More...
 
 read ()
 read object data from db into object More...
 
 getId ()
 get object id public More...
 
 setId ($a_id)
 set object id public More...
 
 setRefId ($a_id)
 set reference id public More...
 
 getRefId ()
 get reference id public More...
 
 getType ()
 get object type public More...
 
 setType ($a_type)
 set object type public More...
 
 getPresentationTitle ()
 get presentation title Normally same as title Overwritten for sessions More...
 
 getTitle ()
 get object title public More...
 
 getUntranslatedTitle ()
 get untranslated object title public More...
 
 setTitle ($a_title)
 set object title More...
 
 getDescription ()
 get object description More...
 
 setDescription ($a_desc)
 set object description More...
 
 getLongDescription ()
 get object long description (stored in object_description) More...
 
 getImportId ()
 get import id More...
 
 setImportId ($a_import_id)
 set import id More...
 
 setOfflineStatus ($a_status)
 Set offline status. More...
 
 getOfflineStatus ()
 Get offline status. More...
 
 supportsOfflineHandling ()
 Check whether object supports offline handling. More...
 
 getOwner ()
 get object owner More...
 
 getOwnerName ()
 
 setOwner ($a_owner)
 set object owner More...
 
 getCreateDate ()
 get create date public More...
 
 getLastUpdateDate ()
 get last update date public More...
 
 getDiskUsage ()
 Gets the disk usage of the object in bytes. More...
 
 create ()
 create More...
 
 update ()
 update object in db More...
 
 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...
 
 updateOwner ()
 update owner of object in db More...
 
 putInTree ($a_parent_ref)
 maybe this method should be in tree object!? More...
 
 setPermissions ($a_parent_ref)
 set permissions of object More...
 
 setParentRolePermissions ($a_parent_ref)
 Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More...
 
 createReference ()
 creates reference for object More...
 
 countReferences ()
 count references of object 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 If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public More...
 
 applyDidacticTemplate ($a_tpl_id)
 Apply template. More...
 
 setRegisterMode ($a_bool)
 
 isUserRegistered ($a_user_id=0)
 
 requireRegistration ()
 
 getXMLZip ()
 
 getHTMLDirectory ()
 
 appendCopyInfo ($a_target_id, $a_copy_id)
 Prepend Copy info if object with same name exists in that container. More...
 
 cloneDependencies ($a_target_id, $a_copy_id)
 Clone object dependencies. More...
 
 cloneMetaData ($target_obj)
 Copy meta data. More...
 
 getPossibleSubObjects ($a_filter=true)
 get all possible subobjects of this type the object can decide which types of subobjects are possible jut in time overwrite if the decision distinguish from standard model More...
 

Static Public Member Functions

static _lookupObjIdByImportId ($a_import_id)
 
static _lookupImportId ($a_obj_id)
 
static _lookupOwnerName ($a_owner_id)
 lookup owner name for owner id More...
 
static _getIdForImportId ($a_import_id)
 get current object id for import id (static) More...
 
static _getAllReferences ($a_id)
 get all reference ids of object More...
 
static _lookupTitle ($a_id)
 lookup object title More...
 
static lookupOfflineStatus ($a_obj_id)
 Lookup offline status using objectDataCache. More...
 
static _lookupOwner ($a_id)
 lookup object owner More...
 
static _getIdsForTitle ($title, $type='', $partialmatch=false)
 
static _lookupDescription ($a_id)
 lookup object description More...
 
static _lookupLastUpdate ($a_id, $a_as_string=false)
 lookup last update More...
 
static _getLastUpdateOfObjects ($a_objs)
 Get last update for a set of media objects. More...
 
static _lookupObjId ($a_id)
 
static _setDeletedDate ($a_ref_id)
 only called in ilTree::saveSubTree More...
 
static setDeletedDates ($a_ref_ids)
 Set deleted date. More...
 
static _resetDeletedDate ($a_ref_id)
 only called in ilObjectGUI::insertSavedNodes More...
 
static _lookupDeletedDate ($a_ref_id)
 only called in ilObjectGUI::insertSavedNodes More...
 
static _writeTitle ($a_obj_id, $a_title)
 write title to db (static) More...
 
static _writeDescription ($a_obj_id, $a_desc)
 write description to db (static) More...
 
static _writeImportId ($a_obj_id, $a_import_id)
 write import id to db (static) More...
 
static _lookupType ($a_id, $a_reference=false)
 lookup object type More...
 
static _isInTrash ($a_ref_id)
 checks wether object is in trash More...
 
static _hasUntrashedReference ($a_obj_id)
 checks wether an object has at least one reference that is not in trash More...
 
static _lookupObjectId ($a_ref_id)
 lookup object id More...
 
static _getObjectsDataForType ($a_type, $a_omit_trash=false)
 get all objects of a certain type More...
 
static _exists ($a_id, $a_reference=false, $a_type=null)
 checks if an object exists in object_data More...
 
static _getObjectsByType ($a_obj_type="", $a_owner="")
 Get objects by type. More...
 
static _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true)
 Prepare copy wizard object selection. More...
 
static collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0)
 Collect deletion dependencies. More...
 
static getDeletionDependencies ($a_obj_id)
 Get deletion dependencies. More...
 
static getLongDescriptions (array $a_obj_ids)
 Get long description data. More...
 
static getAllOwnedRepositoryObjects ($a_user_id)
 Get all ids of objects user owns. More...
 
static fixMissingTitles ($a_type, array &$a_obj_title_map)
 Try to fix missing object titles. More...
 
static _lookupCreationDate ($a_id)
 Lookup creation date. More...
 
static hasAutoRating ($a_type, $a_ref_id)
 Check if auto rating is active for parent group/course. More...
 

Data Fields

const TITLE_LENGTH = 255
 max length of object title More...
 
const DESC_LENGTH = 128
 
 $lng
 
 $id
 
 $ref_id
 
 $type
 
 $title
 
 $untranslatedTitle
 
 $desc
 
 $long_desc
 
 $owner
 
 $create_date
 
 $last_update
 
 $import_id
 
 $register = false
 
 $referenced
 
 $objectList
 
 $max_title
 
 $max_desc
 
 $add_dots
 

Protected Attributes

 $objDefinition
 
 $db
 
 $log
 
 $error
 
 $tree
 
 $app_event_handler
 
 $rbacadmin
 
 $rbacreview
 

Private Attributes

 $offline = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObject::__construct (   $a_id = 0,
  $a_reference = true 
)

Constructor public.

Parameters
integerreference_id or object_id
booleantreat the id as reference_id (true) or object_id (false)

Definition at line 138 of file class.ilObject.php.

References $DIC, $objDefinition, DEBUG, and read().

139  {
140  global $DIC;
141 
142 
143  $this->ilias = $DIC["ilias"];
144 
145  $this->db = $DIC->database();
146  $this->log = $DIC["ilLog"];
147  $this->error = $DIC["ilErr"];
148  $this->tree = $DIC->repositoryTree();
149  $this->app_event_handler = $DIC["ilAppEventHandler"];
150  $objDefinition = $DIC["objDefinition"];
151 
152  if (DEBUG) {
153  echo "<br/><font color=\"red\">type(" . $this->type . ") id(" . $a_id . ") referenced(" . $a_reference . ")</font>";
154  }
155 
156  if (isset($DIC["lng"])) {
157  $this->lng = $DIC["lng"];
158  }
159  $this->objDefinition = $objDefinition;
160 
161  $this->max_title = self::TITLE_LENGTH;
162  $this->max_desc = self::DESC_LENGTH;
163  $this->add_dots = true;
164 
165  $this->referenced = $a_reference;
166  $this->call_by_reference = $a_reference;
167 
168  if ($a_id == 0) {
169  $this->referenced = false; // newly created objects are never referenced
170  } // they will get referenced if createReference() is called
171 
172  if ($this->referenced) {
173  $this->ref_id = $a_id;
174  } else {
175  $this->id = $a_id;
176  }
177  // read object data
178  if ($a_id != 0) {
179  $this->read();
180  }
181  }
global $DIC
Definition: saml.php:7
read()
read object data from db into object
const DEBUG
redirection script todo: (a better solution should control the processing via a xml file) ...
+ Here is the call graph for this function:

Member Function Documentation

◆ _exists()

static ilObject::_exists (   $a_id,
  $a_reference = false,
  $a_type = null 
)
static

checks if an object exists in object_data

public

Parameters
integerobject id or reference id
booleantrue if id is a reference, else false (default)
stringrestrict on a certain type.
Returns
boolean true if object exists

Definition at line 1673 of file class.ilObject.php.

References $a_type, $DIC, $ilDB, and $r.

Referenced by ilBookingParticipant\__construct(), ilObjectFeedWriter\__construct(), ilBookingAssignObjectsTableGUI\__construct(), _lookupOwnerName(), ilNavigationHistory\addItem(), ilPCFileList\afterPageUpdate(), ilPCMediaObject\afterPageUpdate(), ilPCFileList\beforePageDelete(), ilPCMediaObject\beforePageDelete(), ilSoapAdministration\checkObjectAccess(), ilPageObject\collectMediaObjects(), ilExerciseManagementCollectFilesJob\collectSubmissionFiles(), ilExAssTypeWikiTeamGUI\createWiki(), ilNewsItem\delete(), ilPageObject\delete(), ilObjSCORMLearningModuleGUI\deleteTrackingForUser(), ilPublicUserProfileGUI\deliverVCard(), ilExerciseManagementGUI\downloadAllObject(), ilSCORM2004Asset\exportFileItems(), ilObjContentObject\exportHTML(), ilCOPageHTMLExport\exportPageElements(), ilForum\fetchPostNodeData(), ilPageHistoryTableGUI\fillRow(), ilMediaCastTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilPageObject\getContentObject(), ilObjStyleSheet\getContentStylePath(), ilSoapCourseAdministration\getCoursesForUser(), ilPublicUserProfileGUI\getEmbeddable(), ilSCORM2004ScoGUI\getExportResources(), ilSoapGroupAdministration\getGroupsForUser(), ilGoogleMapGUI\getHtml(), ilOpenLayersMapGUI\getHtml(), ilObjMediaObject\getLinkedMediaObjects(), ilNoteGUI\getNoteListHTML(), ilTagging\getObjectsForTagAndUser(), ilExSubmissionObjectGUI\getOverviewContentPortfolio(), ilGoogleMapGUI\getUserListHtml(), ilOpenLayersMapGUI\getUserListHtml(), ilSoapObjectAdministration\getXMLTree(), ilAdvancedMDRecordParser\handlerBeginTag(), ilAdvancedMDFieldDefinitionInternalLink\importValueFromXML(), ilCalendarRemoteAccessHandler\initUser(), ilExerciseManagementGUI\listTextAssignmentObject(), ilIndividualAssessmentSettingsStorageDB\loadInfoSettings(), ilIndividualAssessmentSettingsStorageDB\loadSettings(), ilWebDAVRepositoryHelper\objectWithRefIdExists(), ilSCORM2004TrackingItemsPerUserFilterGUI\parse(), ilSCORMTrackingItemsPerUserFilterGUI\parse(), ilNewsTimelineItemGUI\render(), ilExAssTypeWikiTeamGUI\renderOverviewContent(), ilNewsForContextBlockGUI\showNews(), ilPageObjectGUI\showPage(), ilObjSCORMLearningModuleGUI\showTrackingItems(), ilObjSCORM2004LearningModuleGUI\showTrackingItems(), ilObjSCORMLearningModuleGUI\stopUserOfflineMode(), ilObjectTest\testCreationDeletion(), ilSCORMTrackingItems\userDataArrayForExport(), ilIndividualAssessmentMembers\userExists(), ilIndividualAssessmentMember\withExaminerId(), and ilContObjectManifestBuilder\writeResources().

1674  {
1675  global $DIC;
1676 
1677  $ilDB = $DIC->database();
1678 
1679  if ($a_reference) {
1680  $q = "SELECT * FROM object_data " .
1681  "LEFT JOIN object_reference ON object_reference.obj_id=object_data.obj_id " .
1682  "WHERE object_reference.ref_id= " . $ilDB->quote($a_id, "integer");
1683  } else {
1684  $q = "SELECT * FROM object_data WHERE obj_id=" . $ilDB->quote($a_id, "integer");
1685  }
1686 
1687  if ($a_type) {
1688  $q .= " AND object_data.type = " . $ilDB->quote($a_type, "text");
1689  }
1690 
1691  $r = $ilDB->query($q);
1692 
1693  return $ilDB->numRows($r) ? true : false;
1694  }
global $DIC
Definition: saml.php:7
$a_type
Definition: workflow.php:92
$r
Definition: example_031.php:79
global $ilDB
+ Here is the caller graph for this function:

◆ _getAllReferences()

static ilObject::_getAllReferences (   $a_id)
static

get all reference ids of object

Parameters
int$a_idobject id

Definition at line 965 of file class.ilObject.php.

References $DIC, $ilDB, $query, and $res.

Referenced by ilLearningSequenceParticipants\__construct(), ilTimingsUser\__construct(), ilCourseParticipants\__construct(), ilGroupParticipants\__construct(), ilObjectCustomUserFieldsGUI\__construct(), ilParticipant\__construct(), ilAdvancedMDRecordGUI\__construct(), ilLPListOfProgressGUI\__initDetails(), ilCourseObjectiveMaterials\__read(), ilCourseObjectiveQuestion\__read(), ilObjWikiAccess\_checkGoto(), ilObjGlossaryAccess\_checkGoto(), ilObjContentObjectAccess\_checkGoto(), ilStartUpGUI\_checkGoto(), ilObjStyleSheet\_getClonableContentStyles(), ilGlossaryTerm\_getIdForImportId(), ilInternalLink\_getIdForImportId(), ilLMObject\_getIdForImportId(), ilSessionParticipants\_getInstanceByObjId(), ilObjGroup\_getMembers(), ilNewsItem\_getNewsItemsOfUser(), ilNote\_getRelatedObjectsOfUser(), ilLPStatusCollectionTLT\_getStatusInfo(), ilLPStatusCollectionManual\_getStatusInfo(), ilLPStatusEvent\_getStatusInfo(), ilLMPageObjectGUI\_goto(), ilStructureObjectGUI\_goto(), ilGlossaryTermGUI\_goto(), ilObjWikiGUI\_goto(), ilObjForumGUI\_goto(), ilObjUserTracking\_hasLearningProgressOtherUsers(), _hasUntrashedReference(), ilContainerReferenceAccess\_isAccessible(), ilObjCourseAccess\_isActivated(), ilObjSurveyQuestionPool\_isWriteable(), ilObjQuestionPool\_isWriteable(), ilObjTestSettingsGeneralGUI\addAvailabilityProperties(), ilCalendarScheduleFilterTimings\addCustomEvents(), ilLPXmlWriter\addLPInformation(), ilInfoScreenGUI\addObjectSections(), ilCalendarCategoryGUI\addReferenceLinks(), ilECSCourseCreationHandler\addUrlEntry(), ilObjGlossaryGUI\addUsagesToInfo(), ilAccountCode\applyRoleAssignments(), ilSoapCourseAdministration\assignCourseMember(), ilSoapGroupAdministration\assignGroupMember(), ilUserImportParser\assignToRole(), ilPCParagraph\autoLinkGlossaries(), ilCalendarExport\buildAppointmentUrl(), ilTestQuestionsTableGUI\buildQuestionTitleLink(), ilOrgUnitImporter\buildRef(), ilObjBlogAccess\canBeDelivered(), ilPortfolioAccessHandler\canBeDelivered(), ilMailSearchGroupsGUI\cancel(), ilMailSearchCoursesGUI\cancel(), ilBookCronNotification\checkAccess(), ilObjMediaObjectAccess\checkAccessObject(), ilPortfolioExerciseGUI\checkExercise(), ilBlogExerciseGUI\checkExercise(), ilSearchAutoComplete\checkObjectPermission(), ilGlossaryTermPermission\checkPermission(), ilContainerSorting\cloneSorting(), ilMDCopyrightUsageTableGUI\collectData(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilLORandomTestQuestionPools\copy(), ilECSCourseCreationHandler\createCourseReference(), ilLinkChecker\createPermanentLink(), ilSoapCourseAdministration\deleteCourse(), ilContainerReferenceAppEventListener\deleteReferences(), ilUserImportParser\detachFromRole(), ilObjTestGUI\determineObjectiveOrientedContainer(), ilCalendarAppointmentGUI\distributeNotifications(), ilECSCourseCreationHandler\doAttributeMapping(), ilGroupAppEventListener\doAutoFill(), ilCourseAppEventListener\doAutoFill(), ilECSCourseCreationHandler\doSync(), ilECSEnrolmentStatusCommandQueueHandler\doUpdate(), ilConsultationHoursGUI\edit(), ilSoapCourseAdministration\excludeCourseMember(), ilSoapGroupAdministration\excludeGroupMember(), ilForumPostingDraftsBlockGUI\fillDataSection(), ilECSImportedContentTableGUI\fillRow(), ilOerHarvester\filter(), ilLuceneSearchResultFilter\filter(), ilSearchResult\filter(), ilObjCourse\findCoursesWithNotEnoughMembers(), ilObjGroup\findGroupsWithNotEnoughMembers(), ilSoapUtils\findMappedReferenceForNode(), ilSessionClassificationPathGUI\findSessionContainerForItem(), ilLPCronObjectStatistics\gatherCourseLPData(), ilChatroomTabGUIFactory\getAdminTabsForCommand(), ilObjPortfolioTemplate\getAvailablePortfolioTemplates(), ilForumAppEventListener\getCachedReferences(), ilCalendarSelectionBlockGUI\getCalendars(), ilAppointmentBaseFileHandler\getCatInfo(), ilTestRandomQuestionSetConfig\getCommaSeparatedSourceQuestionPoolLinks(), ilSoapCourseAdministration\getCoursesForUser(), ilPortfolioPageGUI\getCoursesOfUser(), ilBlogExerciseGUI\getExerciseInfo(), ilPortfolioExerciseGUI\getExerciseInfo(), ilSoapExerciseAdministration\getExerciseXML(), ilAppointmentCourseFileHandler\getFiles(), ilSoapFileAdministration\getFileXML(), ilTestQuestionSetConfig\getFirstQuestionPoolRefIdByObjId(), ilMediaPoolPageUsagesTableGUI\getFirstWritableRefId(), ilTermUsagesTableGUI\getFirstWritableRefId(), ilMediaObjectUsagesTableGUI\getFirstWritableRefId(), ilSoapGroupAdministration\getGroupsForUser(), ilCalendarAppointmentPanelGUI\getHTML(), ilSoapSCORMAdministration\getIMSManifestXML(), ilExcRepoObjAssignmentInfo\getInfo(), ilContainerSortingSettings\getInheritedSettings(), ilAwarenessUserProviderMemberships\getInitialUserSet(), ilLSEventHandler\getInstanceByObjId(), assQuestion\getInstances(), ilAdvancedMDValues\getInstancesForObjectId(), ilStudyProgrammeUserAssignment\getInstancesOfUser(), ilMediaPoolPageUsagesTableGUI\getItems(), ilMediaObjectUsagesTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilLPStatusEvent\getMembers(), ilObjectLP\getMembers(), ilLPStatusCollection\getMembers(), ilNotification\getNotificationsForObject(), ilPDSelectedItemsBlockMembershipsProvider\getObjectsByMembership(), ilOrgUnitType\getOrgUnits(), ilTestQuestionBrowserTableGUI\getQuestionParentObjIds(), ilTestQuestionSetConfig\getQuestionPoolPathString(), ilAppointmentPresentationGUI\getReadableRefIds(), ilContainerReferenceImporter\getReference(), ilSoapObjectAdministration\getRefIdsByImportId(), ilForumCronNotification\getRefIdsByObjId(), ilSoapObjectAdministration\getRefIdsByObjId(), ilObjForumNotificationDataProvider\getRefIdsByObjId(), ilLSLPEventHandler\getRefIdsOfObjId(), ilLSEventHandler\getRefIdsOfObjId(), ilObjTestDynamicQuestionSetConfig\getSourceQuestionPoolLink(), ilObjTestDynamicQuestionSetConfig\getSourceQuestionPoolRefIds(), ilStudyProgrammeUserProgress\getStudyProgramme(), ilStudyProgrammeUserAssignment\getStudyProgramme(), ilTrQuery\getSubItemsStatusForUser(), ilSoapTestAdministration\getTestResults(), ilLearningSequenceExporter\getWriter(), ilObjectXMLWriter\getXML(), ilGlossaryExporter\getXmlExportTailDependencies(), ilSurveyQuestionPoolExporter\getXmlRepresentation(), ilContainerReferenceExporter\getXmlRepresentation(), ilGroupExporter\getXmlRepresentation(), ilCategoryExporter\getXmlRepresentation(), ilCourseExporter\getXmlRepresentation(), ilContainerExporter\getXmlRepresentation(), ilRemoteObjectBase\handleDelete(), ilTaggingAppEventListener\handleEvent(), ilSkillAppEventListener\handleEvent(), ilTrackingAppEventListener\handleEvent(), ilCertificateAppEventListener\handleLPUpdate(), ilECSAppEventListener\handleMembership(), ilObjectLP\handleMove(), ilRepUtilGUI\handleMultiReferences(), ilExAssTypeWikiTeam\handleNewUpload(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilECSCmsTreeSynchronizer\handleTreeUpdate(), ilECSCategoryMapping\handleUpdate(), ilLTIAppEventListener\handleUpdateStatus(), ilOerHarvester\harvest(), ilNotification\hasNotification(), ilParticipants\hasParticipantListAccess(), ilSoapTestAdministration\hasWritePermissionForTest(), ilLMPresentationGUI\ilPage(), ilSurveySyncTableGUI\importData(), ilObjTestXMLParser\importRandomQuestionSourcePoolDefinition(), ilItemGroupDataSet\importRecord(), ilSessionDataSet\importRecord(), ilGroupImporter\importXmlRepresentation(), ilCategoryImporter\importXmlRepresentation(), ilCourseImporter\importXmlRepresentation(), ilObjPollGUI\initEditCustomForm(), ilObjPortfolioTemplateGUI\initEditCustomForm(), ilContainerNewsSettingsGUI\initForm(), ilExSubmissionObjectGUI\initGUIForSubmit(), ilObjGroupReferenceListGUI\initItem(), ilObjCourseReferenceListGUI\initItem(), ilObjCategoryReferenceListGUI\initItem(), ilObjectOwnershipManagementTableGUI\initItems(), ilObjSurveyGUI\initPropertiesForm(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilSoapCourseAdministration\isAssignedToCourse(), ilSoapGroupAdministration\isAssignedToGroup(), ilLOTestQuestionAdapter\isQualifiedStartRun(), ilAssQuestionSkillAssignmentsGUI\isSyncOriginalPossibleAndAllowed(), ilUserCertificateGUI\listCertificates(), ilGlossaryPresentationGUI\listDefinitions(), ilMailSearchCoursesGUI\mailCourses(), ilMailSearchGroupsGUI\mailGroups(), ilCalendarScheduleFilterTimings\modifyEvent(), ilPCContentInclude\modifyPageContentPostXsl(), ilObjTestListGUI\modifyTitleLink(), ilECSReleasedContentTableGUI\parse(), ilCalendarCategoryTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilCalendarManageTableGUI\parse(), ilExAssignmentReminder\parseGradeReminders(), ilExAssignmentReminder\parsePeerReminders(), ilSearchResultPresentation\parseResultReferences(), ilExAssignmentReminder\parseSubmissionReminders(), ilLPCollectionOfRepositoryObjects\read(), ilContainerReference\read(), ilSessionDataSet\readDidacticTemplateType(), ilCalendarCategoryGUI\readPermissions(), ilCalendarCategories\readSelectedCategories(), ilSoapWebLinkAdministration\readWebLink(), ilSoapObjectAdministration\removeFromSystemByImportId(), ilPDTaggingBlockGUI\removeTagsWithoutAccess(), ilLearningHistoryTimelineItem\render(), ilNoteGUI\renderTargets(), ilObjUserGUI\roleassignmentObject(), ilContainerNewsSettingsGUI\save(), ilAccountRegistrationGUI\saveForm(), ilTrQuery\searchObjects(), ilSystemNotification\sendMail(), ilMembershipCronMinMembers\sendMessage(), ilNote\sendNotifications(), ilObjectCopyCourseGroupSelectionTableGUI\setObjects(), ilObjStudyProgramme\setProgressesCompletedFor(), ilCalendarAppointmentGUI\showInfoScreen(), ilMailSearchGroupsGUI\showMembers(), ilPDTaggingBlockGUI\showResourcesForTag(), ilPageEditorGUI\showSnippetInfo(), ilECSCmsTreeSynchronizer\syncCategory(), SurveyQuestionGUI\syncCopies(), ilECSCourseCreationHandler\syncNodeToTop(), ilObjectTest\testObjectReference(), ilObjectTest\testSetGetLookup(), ilObjGroup\translateViewMode(), ilStudyProgrammeType\updateAssignedStudyProgrammesIcons(), ilSoapCourseAdministration\updateCourse(), ilECSCourseCreationHandler\updateCourseData(), ilSoapExerciseAdministration\updateExercise(), ilSoapFileAdministration\updateFile(), ilECSCourseCreationHandler\updateParallelCourses(), ilECSCourseCreationHandler\updateParallelGroups(), ilObjectServiceSettingsGUI\updateServiceSettingsForm(), and ilSoapWebLinkAdministration\updateWebLink().

966  {
967  global $DIC;
968 
969  $ilDB = $DIC->database();
970 
971  $query = "SELECT * FROM object_reference WHERE obj_id = " .
972  $ilDB->quote($a_id, 'integer');
973 
974  $res = $ilDB->query($query);
975  $ref = array();
976  while ($obj_rec = $ilDB->fetchAssoc($res)) {
977  $ref[$obj_rec["ref_id"]] = $obj_rec["ref_id"];
978  }
979 
980  return $ref;
981  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
global $ilDB
+ Here is the caller graph for this function:

◆ _getIdForImportId()

static ilObject::_getIdForImportId (   $a_import_id)
static

get current object id for import id (static)

Parameters
int$a_import_idimport id
Returns
int id

Definition at line 942 of file class.ilObject.php.

References $DIC, and $ilDB.

Referenced by ilInternalLink\_getIdForImportId(), and ilDataSet\parseObjectExportId().

943  {
944  global $DIC;
945 
946  $ilDB = $DIC->database();
947 
948  $ilDB->setLimit(1, 0);
949  $q = "SELECT * FROM object_data WHERE import_id = " . $ilDB->quote($a_import_id, "text") .
950  " ORDER BY create_date DESC";
951  $obj_set = $ilDB->query($q);
952 
953  if ($obj_rec = $ilDB->fetchAssoc($obj_set)) {
954  return $obj_rec["obj_id"];
955  } else {
956  return 0;
957  }
958  }
global $DIC
Definition: saml.php:7
global $ilDB
+ Here is the caller graph for this function:

◆ _getIdsForTitle()

static ilObject::_getIdsForTitle (   $title,
  $type = '',
  $partialmatch = false 
)
static

Definition at line 1030 of file class.ilObject.php.

References $DIC, $ilDB, $query, $result, $row, $title, and $type.

Referenced by ilTestEvaluationData\getParticipants(), ilRoleXmlImporter\importSimpleXml(), ilObjRoleGUI\mailToRoleObject(), and ilObjectTest\testSetGetLookup().

1031  {
1032  global $DIC;
1033 
1034  $ilDB = $DIC->database();
1035 
1036  $query = (!$partialmatch)
1037  ? "SELECT obj_id FROM object_data WHERE title = " . $ilDB->quote($title, "text")
1038  : "SELECT obj_id FROM object_data WHERE " . $ilDB->like("title", "text", '%' . $title . '%');
1039  if ($type != '') {
1040  $query .= " AND type = " . $ilDB->quote($type, "text");
1041  }
1042 
1043  $result = $ilDB->query($query);
1044 
1045  $object_ids = array();
1046  while ($row = $ilDB->fetchAssoc($result)) {
1047  $object_ids[] = $row['obj_id'];
1048  }
1049 
1050  return is_array($object_ids) ? $object_ids : array();
1051  }
$result
global $DIC
Definition: saml.php:7
$query
$row
global $ilDB
+ Here is the caller graph for this function:

◆ _getLastUpdateOfObjects()

static ilObject::_getLastUpdateOfObjects (   $a_objs)
static

Get last update for a set of media objects.

Parameters
array

Definition at line 1090 of file class.ilObject.php.

References $DIC, and $ilDB.

Referenced by ilPageObject\getLastUpdateOfIncludedElements().

1091  {
1092  global $DIC;
1093 
1094  $ilDB = $DIC->database();
1095 
1096  if (!is_array($a_objs)) {
1097  $a_objs = array($a_objs);
1098  }
1099  $types = array();
1100  $set = $ilDB->query("SELECT max(last_update) as last_update FROM object_data " .
1101  "WHERE " . $ilDB->in("obj_id", $a_objs, false, "integer") . " ");
1102  $rec = $ilDB->fetchAssoc($set);
1103 
1104  return ($rec["last_update"]);
1105  }
global $DIC
Definition: saml.php:7
global $ilDB
+ Here is the caller graph for this function:

◆ _getObjectsByType()

static ilObject::_getObjectsByType (   $a_obj_type = "",
  $a_owner = "" 
)
static

Get objects by type.

Definition at line 1727 of file class.ilObject.php.

References $DIC, $ilDB, $r, and $row.

Referenced by ilLanguage\_getInstalledLanguages(), ilObjUserTracking\_hasLearningProgressOtherUsers(), ilObjLanguageFolderGUI\confirmRefreshObject(), ilLPCronObjectStatistics\gatherCourseLPData(), ilChatroomTabGUIFactory\getAdminTabsForCommand(), ilObjPortfolioTemplate\getAvailablePortfolioTemplates(), ilObjLanguage\getInstalledLanguages(), ilObjLanguageFolder\getLanguages(), ilObjLanguage\refreshAll(), and ilObjectTest\testSetGetLookup().

1728  {
1729  global $DIC;
1730 
1731  $ilDB = $DIC->database();
1732 
1733  $order = " ORDER BY title";
1734 
1735  // where clause
1736  if ($a_obj_type) {
1737  $where_clause = "WHERE type = " .
1738  $ilDB->quote($a_obj_type, "text");
1739 
1740  if ($a_owner != "") {
1741  $where_clause .= " AND owner = " . $ilDB->quote($a_owner, "integer");
1742  }
1743  }
1744 
1745  $q = "SELECT * FROM object_data " . $where_clause . $order;
1746  $r = $ilDB->query($q);
1747 
1748  $arr = array();
1749  if ($ilDB->numRows($r) > 0) {
1750  while ($row = $ilDB->fetchAssoc($r)) {
1751  $row["desc"] = $row["description"];
1752  $arr[$row["obj_id"]] = $row;
1753  }
1754  }
1755 
1756  return $arr;
1757  }
global $DIC
Definition: saml.php:7
$r
Definition: example_031.php:79
$row
global $ilDB
+ Here is the caller graph for this function:

◆ _getObjectsDataForType()

static ilObject::_getObjectsDataForType (   $a_type,
  $a_omit_trash = false 
)
static

get all objects of a certain type

Parameters
string$a_typedesired object type
boolean$a_omit_trashomit objects, that are in trash only (default: false)
Returns
array array of object data arrays ("id", "title", "type", "description")

Definition at line 1338 of file class.ilObject.php.

References $a_type, $DIC, $ilDB, and _hasUntrashedReference().

Referenced by ilObjStyleSheet\_addMissingStyleClassesToAllStyles().

1339  {
1340  global $DIC;
1341 
1342  $ilDB = $DIC->database();
1343 
1344  $q = "SELECT * FROM object_data WHERE type = " . $ilDB->quote($a_type, "text");
1345  $obj_set = $ilDB->query($q);
1346 
1347  $objects = array();
1348  while ($obj_rec = $ilDB->fetchAssoc($obj_set)) {
1349  if ((!$a_omit_trash) || ilObject::_hasUntrashedReference($obj_rec["obj_id"])) {
1350  $objects[$obj_rec["title"] . "." . $obj_rec["obj_id"]] = array("id" => $obj_rec["obj_id"],
1351  "type" => $obj_rec["type"], "title" => $obj_rec["title"],
1352  "description" => $obj_rec["description"]);
1353  }
1354  }
1355  ksort($objects);
1356  return $objects;
1357  }
static _hasUntrashedReference($a_obj_id)
checks wether an object has at least one reference that is not in trash
global $DIC
Definition: saml.php:7
$a_type
Definition: workflow.php:92
global $ilDB
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _hasUntrashedReference()

static ilObject::_hasUntrashedReference (   $a_obj_id)
static

checks wether an object has at least one reference that is not in trash

Definition at line 1302 of file class.ilObject.php.

References $ref_id, _getAllReferences(), and _isInTrash().

Referenced by ilLMObject\_getAllObjectsForImportId(), ilGlossaryTerm\_getIdForImportId(), ilSCORM2004Node\_getIdForImportId(), ilLMObject\_getIdForImportId(), _getObjectsDataForType(), ilObjSurveyQuestionPool\_isWriteable(), ilObjQuestionPool\_isWriteable(), ilOrgUnitImporter\buildRef(), ilMailSearchGroupsGUI\cancel(), ilMailSearchCoursesGUI\cancel(), ilChatroomAdminViewGUI\forcePublicRoom(), ilSoapObjectAdministration\getObjIdsByRefIds(), ilObjSAHSLearningModule\getScormModulesForGlossary(), ilTaggingAppEventListener\handleEvent(), ilOrgUnitSimpleImport\simpleImportElement(), and ilObjectTest\testTreeTrash().

1303  {
1304  $ref_ids = ilObject::_getAllReferences($a_obj_id);
1305  foreach ($ref_ids as $ref_id) {
1306  if (!ilObject::_isInTrash($ref_id)) {
1307  return true;
1308  }
1309  }
1310 
1311  return false;
1312  }
static _isInTrash($a_ref_id)
checks wether object is in trash
static _getAllReferences($a_id)
get all reference ids of object
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _isInTrash()

static ilObject::_isInTrash (   $a_ref_id)
static

checks wether object is in trash

Definition at line 1290 of file class.ilObject.php.

References $DIC, and $tree.

Referenced by _hasUntrashedReference(), ilSoapCourseAdministration\addCourse(), ilSoapExerciseAdministration\addExercise(), ilSoapFileAdministration\addFile(), ilSoapGroupAdministration\addGroup(), ilSoapRBACAdministration\addRole(), ilSoapRBACAdministration\addRoleFromTemplate(), ilOrgUnitImporter\buildRef(), ilSoapAdministration\checkObjectAccess(), ilSoapWebLinkAdministration\createWebLink(), ilObjFolder\downloadFolder(), ilContainerGUI\downloadMultipleObjects(), ilBasicSkillGUI\editLevelTrigger(), ilSoapDataCollectionAdministration\exportDataCollectionContent(), ilSoapCourseAdministration\getCoursesForUser(), ilSoapExerciseAdministration\getExerciseXML(), ilSoapFileAdministration\getFileXML(), ilSoapGroupAdministration\getGroup(), ilSoapGroupAdministration\getGroupsForUser(), ilSoapSCORMAdministration\getIMSManifestXML(), ilSoapObjectAdministration\getObjectByReference(), ilSoapRBACAdministration\getObjectTreeOperations(), ilOrgUnitType\getOrgUnits(), ilSoapObjectAdministration\getPathForRefId(), ilSoapTestAdministration\getTestResults(), ilSoapObjectAdministration\getXMLTree(), ilCopyWizardSettingsXMLParser\handlerBeginTag(), ilSoapSCORMAdministration\hasSCORMCertificate(), ilSoapObjectAdministration\moveObject(), ilSoapWebLinkAdministration\readWebLink(), ilObjFolder\recurseFolder(), ilContainerGUI\recurseFolder(), ilSoapObjectAdministration\removeFromSystemByImportId(), ilSoapTestAdministration\removeTestResults(), ilObjectTest\testTreeTrash(), ilSoapExerciseAdministration\updateExercise(), ilSoapFileAdministration\updateFile(), ilSoapGroupAdministration\updateGroup(), ilSoapWebLinkAdministration\updateWebLink(), and ilFolderDownloadBackgroundTaskHandler\validateAccess().

1291  {
1292  global $DIC;
1293 
1294  $tree = $DIC->repositoryTree();
1295 
1296  return $tree->isSaved($a_ref_id);
1297  }
global $DIC
Definition: saml.php:7
+ Here is the caller graph for this function:

◆ _lookupCreationDate()

static ilObject::_lookupCreationDate (   $a_id)
static

Lookup creation date.

Parameters

Definition at line 2224 of file class.ilObject.php.

References $DIC, and $ilDB.

Referenced by ilSearchResultTableGUI\fillRow(), ilObjHelpSettings\getHelpModules(), and ilSearchResultPresentation\renderItemList().

2225  {
2226  global $DIC;
2227 
2228  $ilDB = $DIC->database();
2229 
2230  $set = $ilDB->query("SELECT create_date FROM object_data " .
2231  " WHERE obj_id = " . $ilDB->quote($a_id, "integer"));
2232  $rec = $ilDB->fetchAssoc($set);
2233  return $rec["create_date"];
2234  }
global $DIC
Definition: saml.php:7
global $ilDB
+ Here is the caller graph for this function:

◆ _lookupDeletedDate()

static ilObject::_lookupDeletedDate (   $a_ref_id)
static

only called in ilObjectGUI::insertSavedNodes

Definition at line 1167 of file class.ilObject.php.

References $DIC, $ilDB, and $query.

Referenced by ilObjectTest\testObjectReference(), and ilObjectTest\testSetGetLookup().

1168  {
1169  global $DIC;
1170 
1171  $ilDB = $DIC->database();
1172 
1173  $query = "SELECT deleted FROM object_reference" .
1174  " WHERE ref_id = " . $ilDB->quote($a_ref_id, "integer");
1175  $set = $ilDB->query($query);
1176  $rec = $ilDB->fetchAssoc($set);
1177 
1178  return $rec["deleted"];
1179  }
global $DIC
Definition: saml.php:7
$query
global $ilDB
+ Here is the caller graph for this function:

◆ _lookupDescription()

static ilObject::_lookupDescription (   $a_id)
static

lookup object description

Parameters
int$a_idobject id

Definition at line 1058 of file class.ilObject.php.

References $DIC.

Referenced by ilLPStatusEvent\_getStatusInfo(), ilObjUser\_lookupDesktopItems(), ilDidacticTemplateLocalRoleAction\apply(), ilMDCopyrightUsageTableGUI\collectData(), ilECSSettingsGUI\exportImported(), ilECSSettingsGUI\exportReleased(), ilTaxonomyListTableGUI\fillRow(), ilObjectTranslation\getDefaultDescription(), ilObjTest\getGroupData(), ilCourseGroupingAssignmentTableGUI\getItems(), ilObjCategoryGUI\getObjectMetadataGUI(), ilObjTest\getRoleData(), ilCourseObjectivesGUI\initFormLimits(), ilObjGroupReferenceListGUI\initItem(), ilObjCourseReferenceListGUI\initItem(), ilObjCategoryReferenceListGUI\initItem(), ilSearchResultPresentation\lookupDescription(), ilRoleSelectionTableGUI\parse(), ilCalendarSharedRoleListTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilObjectCopyProgressTableGUI\parse(), ilCourseObjectiveQuestionsTableGUI\parse(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilObjectCopySearchResultTableGUI\parseSearchResults(), ilDclRecordEditGUI\parseSearchResults(), ilScorm2004DataSet\readData(), ilMediaObjectDataSet\readData(), ilConditionHandlerTableGUI\setConditions(), ilObjTaxonomyGUI\setTabs(), ilPDTaggingBlockGUI\showResourcesForTag(), ilObjectTest\testSetGetLookup(), ilSCORMOfflineMode\tracking2sop(), and ilRoleXmlExport\writeRole().

1059  {
1060  global $DIC;
1061 
1062  $ilObjDataCache = $DIC["ilObjDataCache"];
1063 
1064  return $ilObjDataCache->lookupDescription($a_id);
1065  }
global $DIC
Definition: saml.php:7
+ Here is the caller graph for this function:

◆ _lookupImportId()

static ilObject::_lookupImportId (   $a_obj_id)
static

Definition at line 534 of file class.ilObject.php.

References $DIC, $ilDB, $query, $res, and $row.

Referenced by ilMediaObjectDataSet\readData(), and ilPageObject\resolveMediaAliases().

535  {
536  global $DIC;
537 
538  $ilDB = $DIC->database();
539 
540  $query = "SELECT import_id FROM object_data " .
541  "WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer");
542  $res = $ilDB->query($query);
543  $row = $ilDB->fetchObject($res);
544  return $row->import_id;
545  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
$row
global $ilDB
+ Here is the caller graph for this function:

◆ _lookupLastUpdate()

static ilObject::_lookupLastUpdate (   $a_id,
  $a_as_string = false 
)
static

lookup last update

Parameters
int$a_idobject id

Definition at line 1072 of file class.ilObject.php.

References $DIC, ilDatePresentation\formatDate(), and IL_CAL_DATETIME.

Referenced by ilObjectTest\testSetGetLookup().

1073  {
1074  global $DIC;
1075 
1076  $ilObjDataCache = $DIC["ilObjDataCache"];
1077 
1078  if ($a_as_string) {
1079  return ilDatePresentation::formatDate(new ilDateTime($ilObjDataCache->lookupLastUpdate($a_id), IL_CAL_DATETIME));
1080  } else {
1081  return $ilObjDataCache->lookupLastUpdate($a_id);
1082  }
1083  }
const IL_CAL_DATETIME
global $DIC
Definition: saml.php:7
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date public.
Date and time handling
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _lookupObjectId()

static ilObject::_lookupObjectId (   $a_ref_id)
static

lookup object id

Parameters
int$a_idobject id

Definition at line 1319 of file class.ilObject.php.

References $DIC.

Referenced by ilMailMemberSearchTableGUI\__construct(), ilGlossaryAdvMetaDataAdapter\__construct(), ilLOXmlWriter\__construct(), ilWebDAVMountInstructions\__construct(), ilSCORMOfflineMode\__construct(), ilObject2GUI\__construct(), ilGlossaryTermGUI\__construct(), ilSCORM13Player\__construct(), ilObjSurveyQuestionPool\_getAvailableQuestionpools(), ilObjForumGUI\_goto(), ilAppointmentPresentationGUI\addContainerInfo(), ilModulesCourseTasks\assignAdminsToCourse(), ilModulesGroupTasks\assignAdminsToGroup(), ilModulesCourseTasks\assignLearnersToCourse(), ilModulesGroupTasks\assignMembersToGroup(), ilModulesCourseTasks\assignTutorsToCourse(), ilCtrl\checkLPSettingsForward(), ilContainerSorting\cloneSorting(), ilPDSelectedItemsBlockGUI\confirmRemoveObject(), ilObjStudyProgrammeTreeGUI\createNewLeaf(), ilObjPortfolioGUI\createPortfolioFromAssignment(), ilExSubmissionObjectGUI\createPortfolioFromAssignmentObject(), ilObjStudyProgrammeTreeGUI\delete(), ilContainerGUI\editPageContentObject(), ilSAHSEditGUI\executeCommand(), ilSAHSPresentationGUI\executeCommand(), ilSCORMOfflineModeGUI\executeCommand(), ilObjSAHSLearningModuleGUI\exportModule(), ilBaseViewGUI\findEffectiveRefId(), ilLTIViewGUI\findEffectiveRefId(), ilSoapExerciseAdministration\getExerciseXML(), ilOrgUnitExporter\getExternalId(), ilSoapFileAdministration\getFileXML(), ilNewsForContextBlockGUI\getHTML(), ilSoapSCORMAdministration\getIMSManifestXML(), ilBookingReservationsTableGUI\getItems(), ilNotification\getNotificationsForObject(), ilWebDAVRepositoryHelper\getObjectIdFromRefId(), ilSoapObjectAdministration\getObjIdsByRefIds(), ilTrQuery\getParticipantsForObject(), ilLPCollectionOfLMChapters\getPossibleItems(), ilSoapSCORMAdministration\getSCORMCompletionStatus(), ilBookingReservationsTableGUI\getSelectableUserColumns(), ilTrQuery\getSummaryDataForObject(), ilGlossaryTerm\getTermList(), ilSoapTestAdministration\getTestAccess(), ilSoapTestAdministration\getTestResults(), ilTrQuery\getUserDataForObject(), ilBadgeHandler\getUserIds(), ilTrQuery\getUserObjectMatrix(), ilMembershipRegistrationCodeUtils\handleCode(), ilTestExpressPageObjectGUI\handleToolbarCommand(), ilSoapSCORMAdministration\hasSCORMCertificate(), ilLTIViewGUI\initGUI(), ilObjContentObjectGUI\initMenuEntryForm(), ilRepositoryExplorer\isClickable(), ilRepositoryExplorerGUI\isNodeClickable(), ilWebDAVTree\iterateRecursiveThroughTree(), ilObjAssessmentFolderGUI\logAdminObject(), ilObjForum\lookupStatisticsByRefId(), assTextQuestionGUI\magicAfterTestOutput(), ilForum\moveThreads(), ilObjSCORMLearningModuleGUI\newModuleVersion(), ilRbacLogTableGUI\parseChangesFaPa(), ilModulesCourseTasks\readAdminsFromCourse(), ilModulesGroupTasks\readAdminsFromGroup(), ilModulesCourseTasks\readLearnersFromCourse(), ilModulesGroupTasks\readMembersFromGroup(), ilModulesCourseTasks\readTutorsFromCourse(), ilSoapWebLinkAdministration\readWebLink(), ilSoapObjectAdministration\removeFromSystemByImportId(), ilObjGlossary\removeOfflineGlossaries(), ilNewsTimelineGUI\save(), ilLPListOfProgressGUI\saveProgress(), ilLPTableBaseGUI\sendMail(), ilSAHSPresentationGUI\setInfoTabs(), ilObjStudyProgrammeTreeGUI\storeTreeOrder(), ilObjectTest\testSetGetLookup(), ilNewsTimelineGUI\update(), ilSoapExerciseAdministration\updateExercise(), ilSoapFileAdministration\updateFile(), and ilSoapWebLinkAdministration\updateWebLink().

1320  {
1321  global $DIC;
1322 
1323  $ilObjDataCache = $DIC["ilObjDataCache"];
1324 
1325  return (int) $ilObjDataCache->lookupObjId($a_ref_id);
1326  }
global $DIC
Definition: saml.php:7
+ Here is the caller graph for this function:

◆ _lookupObjId()

static ilObject::_lookupObjId (   $a_id)
static

Definition at line 1107 of file class.ilObject.php.

References $DIC.

Referenced by ilTrSummaryTableGUI\__construct(), ilMainMenuSearchGUI\__construct(), ilSessionParticipants\__construct(), ilTrMatrixTableGUI\__construct(), ilObjectFeedWriter\__construct(), ilUserFeedWriter\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilClassificationBlockGUI\__construct(), ilObjNotificationSettingsGUI\__construct(), LTI\ilMainMenuGUI\__construct(), ilCalendarSelectionBlockGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilObjRoleGUI\__construct(), ilObjForumNotificationDataProvider\__construct(), ilAuthShibbolethSettingsGUI\__construct(), ilSessionOverviewGUI\__construct(), ilAdvancedMDSettingsGUI\__construct(), ilItemGroupItems\__construct(), ilPreviewGUI\__construct(), ilRegistrationGUI\__construct(), ilBadgeManagementGUI\__construct(), ilLMTracker\__construct(), ilRepositoryExplorerGUI\__construct(), ilCalendarVisibility\__construct(), ilParticipants\__construct(), ilTimingCache\__construct(), ilCalendarCategoryGUI\__construct(), ilInternalLinkGUI\__construct(), ilContainerContentGUI\__forwardToColumnGUI(), ilCourseContentGUI\__forwardToColumnGUI(), ilLearningProgressGUI\__getNextClass(), ilCourseContentGUI\__renderItem(), ilCourseContentGUI\__renderUserItem(), ilLearningProgressBaseGUI\__showEditUser(), ilLinkChecker\__validateLinks(), ilStartUpGUI\_checkGoto(), ilCourseObjectiveMaterials\_getAssignableMaterials(), ilObjQuestionPool\_getAvailableQuestionpools(), ilObjTest\_getAvailableTests(), ilLPStatusCollection\_getInProgress(), ilObjContentObjectAccess\_getLastAccessedPage(), ilNewsItem\_getNewsItemsOfUser(), ilConditionHandler\_getPersistedConditionsOfTrigger(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilLPStatusEvent\_getStatusInfo(), ilObjChatroomGUI\_goto(), ilObjGroupReferenceGUI\_goto(), ilObjCourseReferenceGUI\_goto(), ilObjCategoryReferenceGUI\_goto(), ilObjItemGroupGUI\_goto(), ilRemoteObjectBaseGUI\_goto(), ilObjSessionGUI\_goto(), ilObjectPluginGUI\_goto(), ilObjContentPageGUI\_goto(), ilObjLearningSequence\_goto(), ilObjMailGUI\_goto(), ilObjPollGUI\_goto(), ilObjExerciseGUI\_goto(), ilObjFileBasedLMGUI\_goto(), ilObjSAHSLearningModuleGUI\_goto(), ilObjFileGUI\_goto(), ilObjSurveyQuestionPoolGUI\_goto(), ilObjWikiGUI\_goto(), ilObjForumGUI\_goto(), ilObjBookingPoolGUI\_goto(), ilObjMediaCastGUI\_goto(), ilObjCategoryGUI\_goto(), ilObjGroupGUI\_goto(), ilObjGlossaryGUI\_goto(), ilObjLinkResourceGUI\_goto(), ilObjQuestionPoolGUI\_goto(), ilObjMediaPoolGUI\_goto(), ilObjSurveyGUI\_goto(), ilObjSystemFolderGUI\_goto(), ilObjUserFolderGUI\_goto(), ilObjCourseGUI\_goto(), ilObjTestGUI\_goto(), ilObjContentObjectGUI\_goto(), ilContainerReferenceAccess\_isAccessible(), ilSessionParticipants\_isParticipant(), ilConditionHandler\_isReferenceHandlingOptional(), ilChangeEvent\_recordReadEvent(), ilObjectActivation\addAdditionalSubItemInformation(), ilObjRoleTemplateGUI\addAdminLocatorItems(), ilObjStyleSheetGUI\addAdminLocatorItems(), ilObjRoleGUI\addAdminLocatorItems(), ilObjUserGUI\addAdminLocatorItems(), ilNavigationHistory\addItem(), ilForumModeratorsGUI\addModerator(), ilAppointmentPresentationGUI\addObjectLinks(), ilCalendarCategoryGUI\addReferenceLinks(), ilLocatorGUI\addRepositoryItems(), ilCalendarPresentationGUI\addStandardTabs(), ilExportContainer\addSubitems(), ilContainerReferenceGUI\afterSave(), ilObjCategoryGUI\afterSave(), ilContainerStartObjectsGUI\askDeleteStarterObject(), ilSoapCourseAdministration\assignCourseMember(), ilSoapGroupAdministration\assignGroupMember(), ilRbacAdmin\assignUser(), ilTemplate\buildLoginTarget(), ilFolderDownloadBackgroundTaskHandler\calculateRecursive(), ilLearningProgressAccess\checkAccess(), ilAccess\checkAccessOfUser(), ilSurveyEvaluationGUI\checkAnonymizedEvaluationAccess(), ilChatroom\checkPermissions(), ilLOEditorStatus\checkTestOnline(), ilECSMappingSettingsGUI\cInitMappingForm(), ilLPCollectionOfMediaObjects\cloneCollection(), ilLPCollection\cloneCollection(), ilLPCollectionOfSCOs\cloneCollection(), ilLPCollectionOfRepositoryObjects\cloneCollection(), ilObjCategory\cloneDependencies(), ilObjCourse\cloneDependencies(), ilConditionHandler\cloneDependencies(), ilObjCourseGrouping\cloneGrouping(), ilContainerSorting\cloneSorting(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilLOEditorGUI\confirmDeleteTest(), ilLOEditorGUI\confirmDeleteTests(), ilPDSelectedItemsBlockGUI\confirmedUnsubscribe(), ilBasicSkillGUI\confirmLevelResourcesRemoval(), ilRepUtilGUI\confirmRemoveFromSystemObject(), ilObjectCopyGUI\copyContainer(), ilContainerGUI\copyObject(), ilECSCourseCreationHandler\createCourseReferenceObjects(), ilGroupAddToGroupActionGUI\createGroup(), assQuestion\createNewQuestion(), ilECSCourseCreationHandler\createParallelCourse(), ilObjRole\createPermissionIntersection(), ilObjectRolePermissionTableGUI\createTooltip(), ilContainerGUI\cutObject(), ilRbacAdmin\deassignUser(), ilAdministrationCommandGUI\delete(), ilSoapCourseAdministration\deleteCourse(), ilOerHarvester\deleteDeprecated(), ilObjRole\deleteLocalPolicies(), ilRepUtil\deleteObjects(), ilObjBlog\deliverRSS(), ilForumModeratorsGUI\detachModeratorRole(), ilECSMappingSettingsGUI\dMap(), ilECSCourseCreationHandler\doAttributeMapping(), ilLTIAppEventListener\doCronUpdate(), ilExSubmission\downloadAllAssignmentFiles(), ilSCORMPresentationGUI\downloadCertificate(), ilPCResourcesGUI\edit(), ilLearningProgressGUI\editManual(), ilCourseContentGUI\editTimings(), ilCalendarScheduleFilterTimings\enabledCourseTimings(), ilCourseLPBadge\evaluate(), ilSoapCourseAdministration\excludeCourseMember(), ilSoapGroupAdministration\excludeGroupMember(), ilObjectPluginGUI\executeCommand(), ilWikiHandlerGUI\executeCommand(), ilWikiPageGUI\executeCommand(), ilSurveyEditorGUI\executeCopyQuestionsToPoolObject(), ilSurveyEditorGUI\executeCreateQuestionObject(), ilSkillProfileGUI\exportProfiles(), ilSkillTreeNodeGUI\exportSelectedNodes(), ilStudyProgrammeRepositorySearchGUI\fillAutoCompleteToolbar(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilWikiImportantPagesBlockGUI\fillDataSection(), ilRegistrationGUI\fillMembershipLimitation(), ilSysStyleCatAssignmentTableGUI\fillRow(), ilExportSelectionTableGUI\fillRow(), ilAdvancedMDRecordTableGUI\fillRow(), ilECSImportedContentTableGUI\fillRow(), ilContentStylesTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilSkillLevelResourcesTableGUI\fillRow(), ilDidacticTemplateSettingsTableGUI\fillRow(), ilSkillLevelTableGUI\fillRow(), ilCourseObjectivesTableGUI\fillRow(), ilSystemStylesTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilObjectCopySelectionTableGUI\fillRow(), ilNewsForContextBlockGUI\fillRow(), ilUserTableGUI\fillRow(), ilObjectLP\findMembershipsByPath(), ilObjItemGroup\fixContainerItemGroupRefsAfterCloning(), ilChatroomAdminViewGUI\forcePublicRoom(), ilObjFolderGUI\forwardToTimingsView(), ilCourseObjectiveMaterialAssignmentTableGUI\getAllSubObjects(), ilContainerGUI\getAsynchItemListObject(), ilObjectGUI\getCenterColumnHTML(), ilRepositoryExplorerGUI\getChildsOfNode(), ilContainer\getCompleteDescriptions(), ilParticipants\getDefaultMemberRole(), ilScormMailTemplateLPContext\getDescription(), ilObjWikiGUI\getGotoLink(), ilObjTest\getGroupData(), ilHelp\getHelpLMId(), ilHelpMapping\getHelpSectionsForId(), ilADTInternalLinkPresentationBridge\getHTML(), ilNavigationHistoryGUI\getHTML(), ilFileUploadGUI\getHTML(), ilCalendarAppointmentPanelGUI\getHTML(), ilPathGUI\getHTML(), ilLocatorGUI\getHTML(), ilContainerSortingSettings\getInheritedSettings(), ilParticipants\getInstance(), ilFolderDownloadBackgroundTaskHandler\getInstanceFromTask(), ilCourseGroupingAssignmentTableGUI\getItems(), ilUserRoleStartingPointTableGUI\getItems(), ilBadgeUserTableGUI\getItems(), ilNavigationHistory\getItems(), ilTrSummaryTableGUI\getItems(), ilLMPageObjectGUI\getLinkXML(), ilGlossaryPresentationGUI\getLinkXML(), ilLMPresentationGUI\getLinkXML(), ilLearnerProgressDB\getLPStatusRefresher(), ilContainerObjectiveGUI\getMainContent(), ilImageMapEditorGUI\getMapAreaLinkString(), ilLPStatusEvent\getMembers(), ilObjectLP\getMembers(), ilLPStatusCollection\getMembers(), ilCalendarSubscriptionGUI\getModalForSubscription(), ilLTIViewGUI\getNavEntries(), ilNewsItem\getNewsForRefId(), ilMaterialExplorer\getNodeIcon(), ilOrgUnitExplorerGUI\getNodeIcon(), ilAdministrationExplorerGUI\getNodeIcon(), ilRepositoryExplorerGUI\getNodeIcon(), ilRepositorySelectorExplorerGUI\getNodeIcon(), ilObjStudyProgrammeTreeExplorerGUI\getNodeIcon(), ilObjSurvey\getNotificationTargetUserIds(), ilTrQuery\getObjectIds(), ilOrgUnitPermissionTableGUI\getObjId(), ilObjectRolePermissionTableGUI\getObjId(), ilObjectRoleTemplatePermissionTableGUI\getObjId(), ilObjLearningSequenceContentTableGUI\getObjIdFor(), ilNewsObjectAdapter\getObjIdForRefId(), ilConditionObjectAdapter\getObjIdForRefId(), ilLearnerProgressDB\getObjIdForRefId(), LSItemOnlineStatus\getOnlineStatus(), ilBlogPostingGUI\getParentObjId(), ilMembershipNotifications\getParticipants(), ilTestRandomQuestionSetSourcePoolDefinition\getPoolInfoLabel(), ilObjSurvey\getQuestionblocksTable(), ilContainerContentGUI\getRightColumnHTML(), ilCourseContentGUI\getRightColumnHTML(), ilObjectGUI\getRightColumnHTML(), ilUserStartingPointGUI\getRoleStartingPointForm(), ilDclIliasReferenceRecordRepresentation\getSingleHTML(), ilUserUtil\getStartingPointAsUrl(), ilRepositoryGlobalScreenProvider\getStaticSubItems(), ilPersonalSkillsGUI\getSuggestedResources(), ilLOUtils\getTestResultLinkForUser(), ilLearningSequenceParticipantsTableGUI\getTitleFor(), ilRepositorySelector2InputGUI\getTitleForNodeId(), ilObjOrgUnitTree\getTitles(), ilLinkInputGUI\getTranslatedValue(), ilObjGroupReferenceListGUI\getTypeIcon(), ilObjCourseReferenceListGUI\getTypeIcon(), ilObjCategoryReferenceListGUI\getTypeIcon(), ilSoapUserAdministration\getUsersForContainer(), ilObjFolder\getViewMode(), ilObjGroup\getViewMode(), ilItemGroupDataSet\getXmlRecord(), ilSessionDataSet\getXmlRecord(), ilECSCourseCreationHandler\handle(), ilLPListOfSettingsGUI\handleLPUsageInfo(), ilECSCategoryMapping\handleUpdate(), ilLOUtils\hasActiveRun(), hasAutoRating(), ilBasicSkill\hasRecentSelfEvaluation(), ilLMPresentationGUI\ilLocator(), ilObjSessionGUI\infoScreen(), ilObjectCopyGUI\init(), ilSubItemListGUI\init(), ilCourseLPBadgeGUI\initConfigForm(), ilObjSessionGUI\initContainer(), ilSessionParticipantsTableGUI\initFilter(), ilUserTableGUI\initFilter(), ilLOTestAssignmentForm\initForm(), ilCalendarAppointmentGUI\initForm(), ilObjGroupGUI\initForm(), ilConditionHandlerGUI\initFormCondition(), ilObjectActivationGUI\initFormEdit(), ilCourseObjectivesGUI\initFormRandom(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilCalendarCategories\initialize(), ilContainerXmlParser\initItem(), ilMainMenuGUI\initMemberView(), ilWikiPageGUI\initPrintViewSelectionForm(), ilLOTestQuestionAdapter\initTestRun(), ilObjectActivationGUI\initTimingMode(), ilPCContentIncludeGUI\insertFromPool(), ilPCMediaObjectGUI\insertFromPool(), ilPCQuestionGUI\insertFromPool(), ilPageObject\insertInstIntoIDs(), ilPCResourcesGUI\insertResourcesIntoPageContent(), ilObjectListGUI\insertSubscribeCommand(), ilSoapCourseAdministration\isAssignedToCourse(), ilSoapGroupAdministration\isAssignedToGroup(), ilLOUtils\isCompleted(), ilRepositoryExplorerGUI\isNodeClickable(), ilObjContentObject\isOnlineHelpModule(), ilLOSettings\isRandomTestType(), ilCourseObjectivesGUI\isRandomTestType(), ilBookingEntry\isTargetObjectVisible(), ilAdministrationGUI\jump(), ilSAHSPresentationGUI\launchSahs(), ilSCORMPresentationGUI\launchSahs(), ilLOUtils\lookupObjectiveRequiredPercentage(), ilCertificateObjectHelper\lookupObjId(), ilObjectPluginGUI\lookupParentTitleInCreationMode(), ilLOEditorStatus\lookupQuestionsAssigned(), ilCalendarScheduleFilterTimings\modifyEvent(), ilObjSessionGUI\modifyItemGUI(), ilObjGroupGUI\modifyItemGUI(), ilObjFolderGUI\modifyItemGUI(), ilLTIProviderReleasedObjectsTableGUI\parse(), ilLPCollectionSettingsTableGUI\parse(), ilECSCategoryMappingTableGUI\parse(), ilObjectCopyProgressTableGUI\parse(), ilObjectTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ilLOXmlParser\parseMaterials(), ilLOXmlParser\parseTests(), ilTimingsPersonalTableGUI\parseTitle(), ilTimingsManageTableGUI\parseTitle(), ilDclIliasReferenceFieldRepresentation\passThroughFilter(), ilAdministrationCommandGUI\paste(), ilContainerGUI\pasteObject(), ilAdministrationCommandGUI\performPasteIntoMultipleObjects(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilRepositoryObjectSearchGUI\performSearch(), ilContainer\putInTree(), ilObjTest\randomSelectQuestions(), ilCalendarCategories\readAllConsultationHoursCalendarOfContainer(), ilCalendarCategories\readConsultationHoursCalendar(), ilMediaObjectDataSet\readData(), ilLearningHistoryTimelineItem\render(), ilBookingScheduleGUI\render(), ilContainerObjectiveGUI\renderObjective(), ilObjWikiGUI\renderSideBlock(), ilNoteGUI\renderTargets(), ilContainerObjectiveGUI\renderTest(), ilUtil\replaceLinkProperties(), ilAccountMail\replacePlaceholders(), ilObjectLP\resetLPDataForUserIds(), ilBasicSkill\resetUserSkillLevelStatus(), ilRepUtil\restoreObjects(), ilExportGUI\saveItemSelection(), ilCourseObjectivesGUI\saveRandom(), ilUserStartingPointGUI\saveStartingPoint(), ilObjectCopyGUI\saveTarget(), ilObjSCORM2004LearningModuleGUI\selectGlossary(), ilObjGlossaryGUI\selectGlossary(), ilObjGlossaryGUI\selectGlossaryLink(), ilObjContentObjectGUI\selectLMGlossary(), ilObjContentObjectGUI\selectLMGlossaryLink(), ilMembershipCronNotifications\sendMail(), ilObjBlog\sendNotification(), ilPageObjectGUI\setDefaultLinkXml(), ilContainerContentGUI\setOutput(), ilUserUtil\setPersonalStartingPoint(), ilQuestionEditGUI\setPoolRefId(), ilMailNotification\setRefId(), ilUserUtil\setStartingPoint(), ilObjItemGroupGUI\setTabs(), ilObjectGUI\setTitleAndDescription(), ilDclTreePickInputGUI\setValueByArray(), ilCalendarSubscriptionGUI\show(), ilCalendarBlockGUI\showCalendarSubscription(), ilObjBibliographicGUI\showContent(), ilRepUtilGUI\showDeleteConfirmation(), ilInternalLinkGUI\showLinkHelp(), ilAdministrationCommandGUI\showLinkIntoMultipleObjectsTree(), ilMemberViewGUI\showMemberViewSwitch(), ilNewsForContextBlockGUI\showNews(), ilAdministrationCommandGUI\showPasteTree(), ilRepositoryGUI\showTree(), ilAdministrationExplorerGUI\sortChilds(), ilRepositorySelectorExplorerGUI\sortChilds(), ilRepositoryExplorerGUI\sortChilds(), ilObjSCORMTracking\store(), ilObjectTest\testSetGetLookup(), ilObjectTest\testTreeTrash(), ilAdvancedMDRecord\toXML(), ilObjGroup\translateViewMode(), ilSoapCourseAdministration\updateCourse(), ilLOTestQuestionAdapter\updateFixedQuestions(), ilLearningProgressGUI\updateManual(), ilContainerReferenceGUI\updateObject(), ilLOTestQuestionAdapter\updateRandomQuestions(), ilContainerObjectiveGUI\updateResult(), ilMembershipRegistrationCodeUtils\useCode(), ilECSCategoryMappingRule\validate(), ilLPCollectionOfRepositoryObjects\validateEntry(), ilCourseLPBadgeGUI\validateForm(), ilSoapObjectAdministration\validateReferences(), ilPDNewsGUI\view(), ilObjStudyProgrammeMembersGUI\view(), ilCourseContentGUI\view(), ilContainerXmlWriter\writeSubitems(), and ilBasicSkill\writeUserSkillLevelStatus().

1108  {
1109  global $DIC;
1110 
1111  $ilObjDataCache = $DIC["ilObjDataCache"];
1112 
1113  return (int) $ilObjDataCache->lookupObjId($a_id);
1114  }
global $DIC
Definition: saml.php:7
+ Here is the caller graph for this function:

◆ _lookupObjIdByImportId()

static ilObject::_lookupObjIdByImportId (   $a_import_id)
static

Definition at line 486 of file class.ilObject.php.

References $DIC, $ilDB, $query, $res, and $row.

Referenced by ilOrgUnitImporter\buildRef(), ilOrgUnitSimpleUserImport\buildUserId(), ilSoapObjectAdministration\getObjIdByImportId(), ilSoapObjectAdministration\getRefIdsByImportId(), ilSoapObjectAdministration\getXMLTree(), ilAuthProviderECS\handleLogin(), ilGlossaryDataSet\importRecord(), ilRoleXmlImporter\initRole(), ilAuthContainerECS\loginObserver(), ilSoapObjectAdministration\removeFromSystemByImportId(), ilOrgUnitSimpleImport\simpleImportElement(), and ilObjectTest\testSetGetLookup().

487  {
488  global $DIC;
489 
490  $ilDB = $DIC->database();
491 
492  $query = "SELECT * FROM object_data " .
493  "WHERE import_id = " . $ilDB->quote($a_import_id, "text") . " " .
494  "ORDER BY create_date DESC";
495  $res = $ilDB->query($query);
496  while ($row = $ilDB->fetchObject($res)) {
497  return $row->obj_id;
498  }
499  return 0;
500  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
$row
global $ilDB
+ Here is the caller graph for this function:

◆ _lookupOwner()

static ilObject::_lookupOwner (   $a_id)
static

lookup object owner

Parameters
int$a_idobject id

Definition at line 1020 of file class.ilObject.php.

References $DIC, and $owner.

Referenced by ilMDCopyrightUsageTableGUI\collectData(), ilPortfolioPageAction\deletePagesOfBlog(), ilPageObjectGUI\executeCommand(), ilLPTableBaseGUI\getExportMeta(), ilObjBlogGUI\getHTML(), ilPCLearningHistory\getPresentation(), ilObjTest\randomSelectQuestions(), ilObjBlogGUI\renderList(), ilNoteGUI\renderTargets(), and ilObjectTest\testSetGetLookup().

1021  {
1022  global $DIC;
1023 
1024  $ilObjDataCache = $DIC["ilObjDataCache"];
1025 
1026  $owner = $ilObjDataCache->lookupOwner($a_id);
1027  return $owner;
1028  }
global $DIC
Definition: saml.php:7
+ Here is the caller graph for this function:

◆ _lookupOwnerName()

static ilObject::_lookupOwnerName (   $a_owner_id)
static

lookup owner name for owner id

Definition at line 572 of file class.ilObject.php.

References $DIC, $lng, $owner, and _exists().

Referenced by getOwnerName(), ilNoteGUI\renderTargets(), and ilObjectTest\testSetGetLookup().

573  {
574  global $DIC;
575 
576  $lng = $DIC->language();
577 
578  if ($a_owner_id != -1) {
579  if (ilObject::_exists($a_owner_id)) {
580  $owner = new ilObjUser($a_owner_id);
581  }
582  }
583 
584  if (is_object($owner)) {
585  $own_name = $owner->getFullname();
586  } else {
587  $own_name = $lng->txt("unknown");
588  }
589 
590  return $own_name;
591  }
global $DIC
Definition: saml.php:7
static _exists($a_id, $a_reference=false, $a_type=null)
checks if an object exists in object_data
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _lookupTitle()

static ilObject::_lookupTitle (   $a_id)
static

lookup object title

Parameters
int$a_idobject id

Definition at line 988 of file class.ilObject.php.

References $DIC.

Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilRegistrationSettingsGUI\__buildRoleSelection(), ilLMGlossaryTableGUI\__construct(), ilTaxSelectInputGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWebDAVMountInstructions\__construct(), ilObjectFeedWriter\__construct(), ilUserFeedWriter\__construct(), ilLMChapterImportForm\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilAttendanceList\__construct(), ilRegistrationSettingsGUI\__prepareAutomaticRoleList(), ilExport\_generateIndexFile(), ilObjStyleSheet\_getClonableContentStyles(), ilForum\_getModerators(), ilObjStyleSheet\_getStandardStyles(), ilLPStatusEvent\_getStatusInfo(), ilObjChatroomGUI\_goto(), ilObjItemGroupGUI\_goto(), ilRemoteObjectBaseGUI\_goto(), ilObjSessionGUI\_goto(), ilLMPageObjectGUI\_goto(), ilObjectPluginGUI\_goto(), ilObjContentPageGUI\_goto(), ilObjLearningSequence\_goto(), ilObjMailGUI\_goto(), ilStructureObjectGUI\_goto(), ilObjExerciseGUI\_goto(), ilObjFileBasedLMGUI\_goto(), ilObjSAHSLearningModuleGUI\_goto(), ilGlossaryTermGUI\_goto(), ilObjFileGUI\_goto(), ilObjSurveyQuestionPoolGUI\_goto(), ilObjWikiGUI\_goto(), ilObjForumGUI\_goto(), ilObjBookingPoolGUI\_goto(), ilObjMediaCastGUI\_goto(), ilObjCategoryGUI\_goto(), ilObjGroupGUI\_goto(), ilObjGlossaryGUI\_goto(), ilObjLinkResourceGUI\_goto(), ilObjQuestionPoolGUI\_goto(), ilObjMediaPoolGUI\_goto(), ilObjSurveyGUI\_goto(), ilObjSystemFolderGUI\_goto(), ilObjUserFolderGUI\_goto(), ilObjCourseGUI\_goto(), ilObjTestGUI\_goto(), ilObjContentObjectGUI\_goto(), ilObjUser\_lookupDesktopItems(), ilObjRoleTemplateGUI\addAdminLocatorItems(), ilObjStyleSheetGUI\addAdminLocatorItems(), ilAppointmentPresentationGUI\addContainerInfo(), ilNavigationHistory\addItem(), ilObjPortfolioBaseGUI\addLocatorItems(), ilAppointmentPresentationGUI\addObjectLinks(), ilInfoScreenGUI\addPreconditions(), ilInfoScreenGUI\addPreconditionSection(), ilCalendarCategoryGUI\addReferenceLinks(), ilContentStyleSettings\addStyle(), ilECSCourseCreationHandler\addUrlEntry(), ilObjGlossaryGUI\addUsagesToInfo(), ilDidacticTemplateLocalRoleAction\apply(), ilConditionHandlerGUI\askDelete(), ilContainerStartObjectsGUI\askDeleteStarterObject(), ilObjContentPageGUI\buildStylePropertiesForm(), ilObjTestDynamicQuestionSetConfigGUI\buildTaxonomySelectInputOptionArray(), ilSessionClassificationPathGUI\buildTitle(), ilPathGUI\buildTitle(), ilExAssignmentReminder\checkReminders(), ilECSMappingSettingsGUI\cInitMappingForm(), ilMDCopyrightUsageTableGUI\collectData(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilContentStyleSettingsGUI\confirmDeleteIndividualStyles(), ilObjRoleFolderGUI\confirmDeleteObject(), ilAuthShibbolethSettingsGUI\confirmDeleteRules(), ilLOEditorGUI\confirmDeleteTest(), ilLOEditorGUI\confirmDeleteTests(), ilBasicSkillGUI\confirmLevelResourcesRemoval(), ilObjPortfolioBaseGUI\confirmPortfolioPageDeletion(), ilObjLanguageFolderGUI\confirmRefreshSelectedObject(), ilPDSelectedItemsBlockGUI\confirmRemoveObject(), ilObjLanguageFolderGUI\confirmUninstallChangesObject(), ilObjLanguageFolderGUI\confirmUninstallObject(), ilPageEditorGUI\copyLinkedMediaToClipboard(), ilContainerGUI\copyObject(), ilECSCourseCreationHandler\createCourseReferenceObjects(), ilObjPortfolioGUI\createFromTemplateDirect(), ilGroupAddToGroupActionGUI\createGroup(), ilObjectRolePermissionTableGUI\createTooltip(), ilContainerGUI\cutObject(), ilDidacticTemplateBlockRoleAction\deleteLocalPolicy(), ilObjStyleSheetGUI\deleteObject(), ilRepUtil\deleteObjects(), ilContentStyleSettingsGUI\deleteStyle(), ilObjUser\deleteUserDefinedFieldEntries(), ilUserImportParser\detachFromRole(), ilShibbolethRoleAssignmentRules\doAssignments(), ilAccess\doConditionCheck(), ilBlogExerciseGUI\downloadExcSubFile(), ilPortfolioExerciseGUI\downloadExcSubFile(), ilWikiPageGUI\downloadExcSubFile(), ilExSubmission\downloadFiles(), ilBasicSkillGUI\editLevelTrigger(), ilRegistrationSettingsGUI\editRoles(), ilWikiHandlerGUI\executeCommand(), ilSharedResourceGUI\executeCommand(), ilWikiPageGUI\executeCommand(), ilBlogPostingGUI\executeCommand(), ilPageEditorGUI\executeCommand(), ilWikiStatGUI\export(), ilRatingCategoryGUI\export(), ilObjContentObject\exportHTMLGlossaryTerms(), ilObjContentObject\exportHTMLMOB(), ilObjContentObject\exportHTMLPages(), ilECSSettingsGUI\exportImported(), ilExport\exportObject(), ilECSSettingsGUI\exportReleased(), ilStudyProgrammeIndividualPlanTableGUI\fetchData(), ilRegistrationGUI\fillMembershipLimitation(), ilSysStyleCatAssignmentTableGUI\fillRow(), ilNewsForContextTableGUI\fillRow(), ilLMGlossaryTableGUI\fillRow(), ilAdvancedMDRecordTableGUI\fillRow(), ilGlossaryAutoLinkTableGUI\fillRow(), ilHistoryTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilRepDependenciesTableGUI\fillRow(), ilECSImportedContentTableGUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilContentStylesTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilSkillLevelResourcesTableGUI\fillRow(), ilPageLayoutTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilDidacticTemplateSettingsTableGUI\fillRow(), ilSkillAssignMaterialsTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilSkillLevelTableGUI\fillRow(), ilCourseObjectivesTableGUI\fillRow(), ilSystemStylesTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilSubscriberTableGUI\fillRow(), ilWaitingListTableGUI\fillRow(), ilPresentationListTableGUI\fillRow(), ilTestQuestionsTableGUI\fillRow(), ilTermListTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilNewsForContextBlockGUI\fillRow(), ilUserTableGUI\fillRow(), ilLPObjectStatisticsDailyTableGUI\fillRowCSV(), ilLPObjectStatisticsTableGUI\fillRowCSV(), ilLPObjectStatisticsDailyTableGUI\fillRowExcel(), ilLPObjectStatisticsTableGUI\fillRowExcel(), ilDidacticTemplateAction\filterRoles(), ilBaseViewGUI\findEffectiveRefId(), ilLTIViewGUI\findEffectiveRefId(), ilPersonalSkillsGUI\getActualGapItem(), ilObjBlog\getAllLocalRoles(), ilObjAuthSettingsGUI\getApacheAuthSettingsForm(), ilLDAPRoleAssignmentRules\getAssignmentsForCreation(), ilLDAPRoleAssignmentRules\getAssignmentsForUpdate(), ilObjUser\getClipboardChilds(), ilObjUser\getClipboardObjects(), ilPortfolioPageGUI\getCoursesOfUser(), ilParticipants\getDefaultMemberRole(), ilObjCourse\getDefaultMemberRole(), ilObjSessionGUI\getDefaultMemberRole(), ilObjectTranslation\getDefaultTitle(), ilPortfolioExerciseGUI\getExerciseInfo(), ilBlogExerciseGUI\getExerciseInfo(), ilPersonalSkillsGUI\getGapAnalysisHTML(), ilLPObjectStatisticsDailyTableGUI\getGraph(), ilLPObjectStatisticsTableGUI\getGraph(), ilObjTest\getGroupData(), ilExAssignmentTeam\getGroupMembersMap(), ilObjHelpSettings\getHelpModules(), ilBaseViewGUI\getHomeTitle(), ilLTIViewGUI\getHomeTitle(), ilADTInternalLinkPresentationBridge\getHTML(), ilObjLearningModuleSubItemListGUI\getHTML(), ilObjWikiSubItemListGUI\getHTML(), ilFileUploadGUI\getHTML(), ilCalendarAppointmentPanelGUI\getHTML(), ilTaggingGUI\getHTML(), ilExcRepoObjAssignmentInfo\getInfo(), ilAwarenessUserProviderMemberships\getInitialUserSet(), ilFolderDownloadBackgroundTaskHandler\getInstanceFromTask(), assQuestion\getInstances(), ilCourseGroupingAssignmentTableGUI\getItems(), ilCourseGroupingTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilLPObjectStatisticsDailyTableGUI\getItems(), ilLPObjectStatisticsTableGUI\getItems(), ilNavigationHistory\getItems(), ilLPObjectStatisticsLPTableGUI\getItems(), ilRoleAutoComplete\getListByObject(), ilObjBlog\getLocalContributorRole(), ilObjBlog\getLocalEditorRole(), ilSearchAutoComplete\getLuceneList(), ilMailMemberLearningSequenceRoles\getMailRoles(), ilMailMemberCourseRoles\getMailRoles(), ilMailMemberGroupRoles\getMailRoles(), ilMailMemberSessionRoles\getMailRoles(), ilImageMapEditorGUI\getMapAreaLinkString(), ilPersonalSkillsGUI\getMaterialInfo(), ilLearningSequenceParticipants\getMemberRoles(), ilGroupParticipants\getMemberRoles(), ilCourseParticipants\getMemberRoles(), ilParticipant\getMembershipRoleType(), ilTaxonomyExplorerGUI\getNodeContent(), ilNoteGUI\getNoteListHTML(), ilMailNotification\getObjectTitle(), ilSessionParticipantsTableGUI\getParentLocalRoles(), ilBadge\getParentMeta(), ilObjSCORM2004LearningModuleGUI\getPropertiesEditableValues(), ilObjSurvey\getQuestionblocksTable(), ilWebDAVRepositoryHelper\getRawObjectTitleFromObjId(), ilObjTest\getRoleData(), ilLTIProviderObjectSettingGUI\getRoleSelection(), ilUserStartingPointGUI\getRoleStartingPointForm(), ilAuthShibbolethSettingsGUI\getRuleValues(), ilDclIliasReferenceRecordRepresentation\getSingleHTML(), ilPersonalSkillsGUI\getSuggestedResources(), ilObjQuestionPoolSettingsGeneralGUI\getTaxonomySelectInputOptions(), ilLearningSequenceParticipantsTableGUI\getTitleFor(), ilRepositorySelector2InputGUI\getTitleForNodeId(), ilObjOrgUnitTree\getTitles(), ilLinkInputGUI\getTranslatedValue(), ilObjTaxonomy\getUsageOfObject(), ilNewsItemGUI\getValuesNewsItem(), ilECSCourseCreationHandler\handle(), ilMembershipRegistrationCodeUtils\handleCode(), ilLPListOfSettingsGUI\handleLPUsageInfo(), ilLMPresentationGUI\ilLocator(), ilWorkspaceAccessTableGUI\importData(), ilSurveySyncTableGUI\importData(), ilSoapUserAdministration\importUsers(), ilCourseLPBadgeGUI\initConfigForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilLearningProgressBaseGUI\initEditUserForm(), ilWorkspaceShareTableGUI\initFilter(), ilUserTableGUI\initFilter(), ilLOTestAssignmentForm\initForm(), ilPCBlogGUI\initForm(), ilPageLayoutGUI\initForm(), ilObjCourseGroupingGUI\initForm(), ilAttendanceList\initForm(), ilConditionHandlerGUI\initFormCondition(), ilObjectActivationGUI\initFormEdit(), ilCourseObjectivesGUI\initFormLimits(), ilAttendanceList\initFromForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilObjContentObjectGUI\initMenuEntryForm(), ilSharedResourceGUI\initPasswordForm(), ilObjPortfolioGUI\initPDFSelectionForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjContentObjectGUI\initStylePropertiesForm(), ilObjPortfolioBaseGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\initStylePropertiesForm(), ilObjGlossaryGUI\initStylePropertiesForm(), ilObjWikiGUI\initStylePropertiesForm(), ilContainerGUI\initStylePropertiesForm(), ilObjBlogGUI\initStylePropertiesForm(), ilObjMediaPoolGUI\insertFromClipboard(), ilObjectListGUI\insertPreconditions(), ilPCResourcesGUI\insertResourcesIntoPageContent(), ilObjRole\isAutoGenerated(), ilRbacReview\isDeleteable(), ilRbacReview\isSystemGeneratedRole(), ilWebDAVTree\iterateRecursiveThroughTree(), ilGlossaryPresentationGUI\listDefinitions(), ilMStShowUserGUI\listUsers(), ilObjHelpSettings\lookupModuleTitle(), ilObjectPluginGUI\lookupParentTitleInCreationMode(), ilCertificateObjectHelper\lookupTitle(), ilSearchResultPresentation\lookupTitle(), ilExportContainer\manifestWriterBegin(), ilLDAPRoleAssignmentRule\matches(), ilCalendarScheduleFilterTimings\modifyEvent(), ilPCContentInclude\modifyPageContentPostXsl(), ilLTIProviderReleasedObjectsTableGUI\parse(), ilECSCategoryMappingTableGUI\parse(), ilRoleSelectionTableGUI\parse(), ilCalendarSharedRoleListTableGUI\parse(), ilShibbolethRoleAssignmentTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilLDAPRoleAssignmentTableGUI\parse(), ilObjectCopyProgressTableGUI\parse(), ilObjectTableGUI\parse(), ilCourseObjectiveQuestionsTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilRbacLogTableGUI\parseChangesFaPa(), ilObjectListGUI\parseConditions(), ilMembershipCronNotifications\parseNewsItem(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilObjectCopySearchResultTableGUI\parseSearchResults(), ilDclRecordEditGUI\parseSearchResults(), ilDclIliasReferenceFieldRepresentation\passThroughFilter(), ilContainerGUI\pasteObject(), ilObjTestDynamicQuestionSetConfigGUI\performSaveForm(), ilAdvancedMDFieldDefinitionSelect\prepareCustomDefinitionFormConfirmation(), ilLDAPSettingsGUI\prepareGlobalRoleSelection(), ilAuthShibbolethSettingsGUI\prepareRoleSelect(), ilLDAPSettingsGUI\prepareRoleSelect(), ilECSSettingsGUI\prepareRoleSelect(), ilRadiusSettingsGUI\prepareRoleSelection(), ilCASSettingsGUI\prepareRoleSelection(), ilOpenIdConnectSettingsGUI\prepareRoleSelection(), ilSamlSettingsGUI\prepareRoleSelection(), ilObjPortfolioGUI\printView(), ilContentStyleSettings\read(), ilContainerReference\read(), ilCalendarCategory\read(), ilScorm2004DataSet\readData(), ilMediaObjectDataSet\readData(), ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), ilTaxonomyClassificationProvider\render(), ilLearningHistoryTimelineItem\render(), ilNewsTimelineItemGUI\render(), ilMediaPoolTableGUI\render(), ilPortfolioPageGUI\renderBlogTeaser(), ilSearchResultPresentation\renderItemList(), ilNoteGUI\renderTargets(), ilContainerObjectiveGUI\renderTest(), ilUtil\replaceLinkProperties(), ilAccountMail\replacePlaceholders(), ilRepUtil\restoreObjects(), ilObjectCopyGUI\saveTarget(), ilMembershipCronNotifications\sendMail(), ilBookCronNotification\sendMails(), ilMembershipCronMinMembers\sendMessage(), ilBookCronNotification\sendNotifications(), ilNote\sendNotifications(), ilConditionHandlerTableGUI\setConditions(), ilWorkspaceAccessGUI\setObjectTitle(), ilSCORMOfflineModeGUI\setOfflineModeTabs(), ilObjTaxonomyGUI\setTabs(), ilObjectGUI\setTitleAndDescription(), ilDclTreePickInputGUI\setValueByArray(), ilLDAPSettingsGUI\setValuesByArray(), ilPermissionGUI\showConfirmBlockRole(), ilObjBibliographicGUI\showContent(), ilNewsForContextBlockGUI\showFeedUrl(), ilInternalLinkGUI\showLinkHelp(), ilPageObjectGUI\showMediaFullscreen(), ilNewsForContextBlockGUI\showNews(), ilPageObjectGUI\showPage(), ilLMPresentationGUI\showPreconditionsOfPage(), ilPersonalSkillsGUI\showProfileSelectorToolbar(), ilPDTaggingBlockGUI\showResourcesForTag(), ilPageEditorGUI\showSnippetInfo(), ilObjectTest\testSetGetLookup(), ilSCORMOfflineMode\tracking2sop(), ilShibbolethRoleAssignmentRules\updateAssignments(), ilMediaPoolItem\updateObjectTitle(), ilCourseLPBadgeGUI\validateForm(), ilPDNewsGUI\view(), ilPDNotesGUI\view(), ilRoleXmlExport\writeRole(), ilContainerXmlWriter\writeSubitems(), and ilBasicSkill\writeUserSkillLevelStatus().

989  {
990  global $DIC;
991 
992  $ilObjDataCache = $DIC["ilObjDataCache"];
993 
994  $tit = $ilObjDataCache->lookupTitle($a_id);
995  //echo "<br>LOOKING-$a_id-:$tit";
996  return $tit;
997  }
global $DIC
Definition: saml.php:7
+ Here is the caller graph for this function:

◆ _lookupType()

static ilObject::_lookupType (   $a_id,
  $a_reference = false 
)
static

lookup object type

Parameters
int$a_idobject id

Definition at line 1275 of file class.ilObject.php.

References $DIC.

Referenced by ilObjCourseGrouping\__addCondition(), ilCourseGroupingAssignmentTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilSCORM13MDImporter\__construct(), ilRepositoryObjectDetailSearch\__construct(), ilMainMenuSearchGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilObjectFeedWriter\__construct(), ilUserFeedWriter\__construct(), ilClassificationBlockGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), LTI\ilMainMenuGUI\__construct(), ilMemberAgreementGUI\__construct(), ilObjRoleGUI\__construct(), ilAdvancedMDSettingsGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilMemberAgreement\__construct(), ilGlossaryForeignTermCollectorGUI\__construct(), ilObjectCustomUserFieldsGUI\__construct(), ilMemberExportGUI\__construct(), ilParticipant\__construct(), ilRegistrationGUI\__construct(), ilBadgeManagementGUI\__construct(), ilRepositoryExplorerGUI\__construct(), ilParticipants\__construct(), ilMemberExport\__construct(), ilRepositoryGUI\__construct(), ilInternalLinkGUI\__construct(), ilNoteGUI\__construct(), ilContainerContentGUI\__forwardToColumnGUI(), ilCourseContentGUI\__forwardToColumnGUI(), ilLinkChecker\__validateLinks(), ilAdvancedMDValues\_appendXMLByObjId(), ilStartUpGUI\_checkGoto(), ilHistory\_createEntry(), ilExport\_createExportDirectory(), ilObjMediaObject\_exists(), ilExport\_generateIndexFile(), ilPCSectionGUI\_getCharacteristics(), ilPCParagraphGUI\_getCharacteristics(), ilHistory\_getEntriesForObject(), ilExport\_getExportDirectory(), ilExport\_getExportFiles(), ilObjAssessmentFolder\_getLog(), ilObjMediaObject\_getMobsOfObject(), ilNewsItem\_getNewsItemsOfUser(), ilConditionHandler\_getPersistedConditionsOfTarget(), ilConditionHandler\_getPersistedConditionsOfTrigger(), ilLMPageObject\_getPresentationTitle(), ilNote\_getRelatedObjectsOfUser(), ilPCParagraphGUI\_getTextCharacteristics(), ilObjLearningSequence\_goto(), ilObjGroupGUI\_goto(), ilObjCourseGUI\_goto(), ilObjectAccess\_isOffline(), ilConditionHandler\_isReferenceHandlingOptional(), ilIndividualAssessmentDataSet\_readData(), ilBibliographicDataSet\_readData(), ilDataCollectionDataSet\_readData(), ilChangeEvent\_recordObjStats(), ilChangeEvent\_recordReadEvent(), ilRTE\_replaceMediaObjectImageSrc(), ilObjFile\_saveUsage(), ilLMPageObject\_splitPage(), ilLMPageObject\_splitPageNext(), _writeDescription(), ilObjectActivation\addAdditionalSubItemInformation(), ilObjRoleGUI\addAdminLocatorItems(), ilObjUserGUI\addAdminLocatorItems(), ilObjSurvey\addAppraisee(), ilObjGlossary\addAutoGlossary(), ilCalendarPresentationGUI\addCategoryTabs(), SurveyQuestionGUI\addCommandButtons(), ilAppointmentPresentationGUI\addContainerInfo(), ilSoapObjectAdministration\addDesktopItems(), ilMemberAgreementGUI\addExportFieldInfo(), ilLPXmlWriter\addLPInformation(), ilAppointmentPresentationGUI\addObjectLinks(), ilBookingParticipantGUI\addParticipantObject(), ilObjSurvey\addRater(), ilCalendarCategoryGUI\addReferenceLinks(), ilPermissionGUI\addRole(), ilSoapRBACAdministration\addRoleFromTemplate(), ilCalendarPresentationGUI\addStandardTabs(), ilExportContainer\addSubitems(), ilDesktopItemGUI\addToDesktop(), ilPCFileList\afterPageUpdate(), ilPCMediaObject\afterPageUpdate(), ilAccountCode\applyRoleAssignments(), ilContainerStartObjectsGUI\askDeleteStarterObject(), ilSoapCourseAdministration\assignCourseMember(), ilObjRoleGUI\assignDesktopItemObject(), ilSoapGroupAdministration\assignGroupMember(), ilUserImportParser\assignToRole(), ilRbacAdmin\assignUser(), ilPCParagraph\autoLinkGlossaries(), ilPCMediaObject\beforePageDelete(), ilTemplate\buildLoginTarget(), ilSessionClassificationPathGUI\buildTitle(), ilFolderDownloadBackgroundTaskHandler\calculateRecursive(), ilPortfolioAccessHandler\canBeDelivered(), ilInternalLinkGUI\changeLinkType(), ilObjMediaObjectAccess\checkAccessObject(), ilPortfolioAccessHandler\checkAccessOfUser(), ilWorkspaceAccessHandler\checkAccessOfUser(), ilAccess\checkAccessOfUser(), ilObjMediaObjectAccess\checkAccessTestQuestion(), ilPrivacySettings\checkExportAccess(), ilCtrl\checkLPSettingsForward(), ilObjectGUI\checkPermission(), ilObjCategory\cloneDependencies(), ilConditionHandler\cloneDependencies(), ilObjCourseGrouping\cloneGrouping(), cloneMetaData(), ilMDCopyrightUsageTableGUI\collectData(), ilCOPageHTMLExport\collectPageElements(), ilPDSelectedItemsBlockGUI\confirmedRemove(), ilPDSelectedItemsBlockGUI\confirmedUnsubscribe(), ilRepUtilGUI\confirmRemoveFromSystemObject(), ilPDSelectedItemsBlockGUI\confirmRemoveObject(), ilObjTestGUI\copyAndLinkToQuestionpoolObject(), ilObjectCopyGUI\copyContainer(), ilObjectCopyGUI\copyMultipleNonContainer(), countReferences(), ilPCVerificationGUI\create(), ilObjRole\createDefaultRole(), ilStudyProgrammeAssignment\createFor(), ilAdvancedMDParser\createLocalRecord(), ilConsultationHoursGUI\createNewBookingEntry(), ilObjectRolePermissionTableGUI\createTitle(), ilObjectRolePermissionTableGUI\createTooltip(), ilRbacAdmin\deassignUser(), ilAdministrationCommandGUI\delete(), ilObjMediaPool\delete(), ilObjStudyProgrammeTreeGUI\delete(), ilPageObject\delete(), ilObjMediaPool\deleteChild(), ilObject2GUI\deleteConfirmation(), ilSoapCourseAdministration\deleteCourse(), ilObjRole\deleteLocalPolicies(), ilObjHelpSettings\deleteModule(), ilCalendarSharedStatus\deleteStatus(), ilUserImportParser\detachFromRole(), ilLPStatusVisitedPages\determineStatus(), ilAssQuestionSkillAssignmentsGUI\doesObjectTypeMatch(), ilImport\doImportObject(), ilECSEnrolmentStatusCommandQueueHandler\doUpdate(), ilExSubmission\downloadAllAssignmentFiles(), ilPCResourcesGUI\edit(), ilPageObjectGUI\edit(), ilBasicSkillGUI\editLevelTrigger(), ilContainerGUI\editPageContentObject(), ilSoapCourseAdministration\excludeCourseMember(), ilSoapGroupAdministration\excludeGroupMember(), ilLearningProgressGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilAdministrationGUI\executeCommand(), ilRepositoryGUI\executeCommand(), ilRatingCategoryGUI\export(), ilSCORM2004Asset\exportFileItems(), ilObjContentObject\exportHTML(), ilCOPageHTMLExport\exportPageElements(), ilSCORM2004Asset\exportXMLMediaObjects(), ilObjContentObject\exportXMLMediaObjects(), ilStudyProgrammeIndividualPlanTableGUI\fetchData(), ilRegistrationGUI\fillAgreement(), ilCalendarSelectionBlockGUI\fillDataSection(), ilRegistrationGUI\fillMembershipLimitation(), ilRepDependenciesTableGUI\fillRow(), ilECSImportedContentTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilSkillLevelResourcesTableGUI\fillRow(), ilCalendarCategoryTableGUI\fillRow(), ilSkillAssignMaterialsTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilLPObjectStatisticsDailyTableGUI\fillRow(), ilTestQuestionsTableGUI\fillRow(), ilLPObjectStatisticsTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilLPObjectStatisticsLPTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilNewsForContextBlockGUI\fillRow(), ilSearchResult\filter(), ilBaseViewGUI\findEffectiveRefId(), ilLTIViewGUI\findEffectiveRefId(), ilObjectLP\findMembershipsByPath(), ilObjPluginDispatchGUI\forward(), ilAdministrationGUI\forward(), ilMailMemberSearchGUI\generateContextArray(), ilTaxonomyClassificationProvider\getActiveTaxonomiesForParentRefId(), ilContainerGUI\getAsynchItemListObject(), ilBadgeHandler\getAvailableManualBadges(), ilCalendarSelectionBlockGUI\getCalendars(), ilAppointmentBaseFileHandler\getCatInfo(), ilObjectGUI\getCenterColumnHTML(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), ilCalendarAppointmentBaseFactory\getClassBaseName(), ilNoteGUI\getCommentsWidget(), ilContainer\getCompleteDescriptions(), ilObjStudyProgramme\getCreatableSubObjects(), ilObjectLP\getCurrentMode(), ilParticipants\getDefaultMemberRole(), ilStyleDataSet\getDependencies(), ilCertificateGUI\getEditorForm(), ilObjStyleSheet\getEffectiveContentStyleId(), ilDownloadFilesBackgroundTask\getEventFileNameFromId(), ilUserDefinedFields\getExportableFields(), ilLPTableBaseGUI\getExportMeta(), ilPortfolioPage\getGotoForPortfolioPageTarget(), ilWorkspaceAccessHandler\getGotoLink(), ilObjectListGUI\getHeaderAction(), ilObjHelpSettings\getHelpModules(), ilRepositorySelectorInputGUI\getHighlightedNode(), ilObjLearningModuleSubItemListGUI\getHTML(), ilCalendarAppointmentPanelGUI\getHTML(), ilPathGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilLocatorGUI\getHTML(), ilBlockGUI\getHTML(), ilObjectLP\getInstance(), ilParticipants\getInstance(), ilParticipants\getInstanceByObjId(), ilObjectFactoryWrapperMock\getInstanceByRefId(), ilAdvancedMDValues\getInstancesForObjectId(), ilExAssignmentPeerReviewTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), ilLMPageObjectGUI\getLinkXML(), ilGlossaryPresentationGUI\getLinkXML(), ilLMPresentationGUI\getLinkXML(), ilObjectListGUI\getListItemHTML(), ilPersonalSkillsGUI\getMaterialInfo(), ilPageObject\getMultimediaXML(), ilNewsItem\getNewsForRefId(), ilCalendarCategories\getNotificationCalendars(), ilTrQuery\getObjectIds(), ilWebDAVRepositoryHelper\getObjectTitleFromObjId(), ilWebDAVRepositoryHelper\getObjectTypeFromObjId(), ilWebDAVRepositoryHelper\getObjectTypeFromRefId(), ilOrgUnitPermissionTableGUI\getObjType(), ilObjectRolePermissionTableGUI\getObjType(), ilObjectRoleTemplatePermissionTableGUI\getObjType(), ilHistoryTableGUI\getObjType(), ilPreview\getObjType(), ilMemberExport\getOrderedExportableFields(), ilSessionParticipantsTableGUI\getParentLocalRoles(), ilBadge\getParentMeta(), ilPageObject\getParentObjectContributors(), ilObjMediaObject\getParentObjectIdForUsage(), ilTrQuery\getParticipantsForObject(), ilObjSCORM2004LearningModuleGUI\getPropertiesEditableValues(), ilExerciseManagementGUI\getReportPanel(), ilContainerContentGUI\getRightColumnHTML(), ilCourseContentGUI\getRightColumnHTML(), ilObjectGUI\getRightColumnHTML(), ilRbacReview\getRoleFolderOfRole(), ilUserStartingPointGUI\getRoleStartingPointForm(), ilAdministrationSettingsFormHandler\getSettingsGUIInstance(), ilAdvancedMDRecord\getSharedRecords(), ilRepositoryGlobalScreenProvider\getStaticSubItems(), ilPageContentGUI\getStyle(), ilTrQuery\getSubItemsStatusForUser(), ilTrQuery\getSubItemType(), ilNoteGUI\getSubObjectTitle(), ilLPCollectionOfLMChapters\getTableGUIData(), ilObjSessionGUI\getTabs(), ilCalendarBlockGUI\getTargetGUIClassPath(), ilContainerGUI\getTreeSelectorGUI(), ilConditionObjectAdapter\getTypeForObjId(), ilNewsObjectAdapter\getTypeForObjId(), ilObjectDataSet\getTypes(), ilSoapUserAdministration\getUserForRole(), ilBadgeHandler\getUserIds(), ilAppointmentPresentationGUI\getUserName(), ilAdvancedMDFieldDefinitionInternalLink\getValueForXML(), ilLearningSequenceExporter\getWriter(), ilCOPageExporter\getXmlExportHeadDependencies(), ilForumExporter\getXmlRepresentation(), ilFileExporter\getXmlRepresentation(), ilObject2GUI\handleAfterSaveCallback(), ilTaggingAppEventListener\handleEvent(), ilSearchAppEventListener\handleEvent(), ilCourseAppEventListener\handleEvent(), ilECSEventQueueReader\handleImportReset(), ilECSAppEventListener\handleMembership(), ilObjectLP\handleMove(), ilSurveySkill\handleQuestionDeletion(), ilLTIProviderObjectSettingGUI\hasSettingsAccess(), ilSCORM13Package\il_import(), ilLMPresentationGUI\ilPage(), ilWorkspaceAccessTableGUI\importData(), ilBookmarkDataSet\importRecord(), ilCalendarDataSet\importRecord(), ilGlossaryDataSet\importRecord(), ilObjectDataSet\importRecord(), ilUserDataSet\importRecord(), ilRoleXmlImporter\importSimpleXml(), ilCategoryImporter\importXmlRepresentation(), ilInternalLinkGUI\init(), ilObjectCopyGUI\init(), ilSubItemListGUI\init(), ilLearningProgressGUI\initCollectionManualForm(), ilLearningProgressBaseGUI\initEditUserForm(), ilSessionParticipantsTableGUI\initFilter(), ilContainerNewsSettingsGUI\initForm(), ilCalendarAppointmentGUI\initForm(), ilConditionHandlerGUI\initFormCondition(), ilObjRoleTemplateGUI\initFormRoleTemplate(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilLTIViewGUI\initGUI(), ilRbacAdmin\initIntersectionPermissions(), ilObjectOwnershipManagementTableGUI\initItems(), ilObjectCustomUserFieldsGUI\initMemberForm(), ilMainMenuGUI\initMemberView(), ilObjContentObjectGUI\initMenuEntryForm(), ilLTIProviderObjectSettingGUI\initObjectSettingsForm(), ilPluginLP\initPlugin(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilContainerGUI\initStylePropertiesForm(), ilPCContentIncludeGUI\insertFromPool(), ilPCMediaObjectGUI\insertFromPool(), ilPCQuestionGUI\insertFromPool(), ilPageObject\insertInstIntoIDs(), ilObjectListGUI\insertMultiDownloadCommand(), ilObjectListGUI\insertPasteCommand(), ilPCResourcesGUI\insertResourcesIntoPageContent(), ilObjectListGUI\insertSubscribeCommand(), ilSoapCourseAdministration\isAssignedToCourse(), ilSoapGroupAdministration\isAssignedToGroup(), ilPluginLP\isLPMember(), ilBadgeHandler\isObjectActive(), ilOrgUnitGlobalSettings\isPositionAccessActiveForObject(), ilAssQuestionPreviewSettings\isTestRefId(), ilFileUploadUtil\isUploadAllowed(), ilAdministrationGUI\jump(), ilObjUserFolderGUI\jumpToUserObject(), ilObjectTranslationGUI\listTranslations(), ilRepositorySearchGUI\listUsers(), ilObjSAHSLearningModule\lookupAssignedGlossary(), ilCalendarSettings\lookupCalendarActivated(), ilObjHelpSettings\lookupModuleTitle(), ilObjStyleSheet\lookupObjectForStyle(), ilObjStyleSheet\lookupObjectStyle(), ilCertificateObjectHelper\lookupType(), assTextQuestionGUI\magicAfterTestOutput(), ilStudyProgrammeAppEventListener\onServiceObjectDeleteOrToTrash(), ilStudyProgrammeAppEventListener\onServiceTreeInsertNode(), ilStudyProgrammeAppEventListener\onServiceTreeMoveTree(), ilLTIProviderReleasedObjectsTableGUI\parse(), ilObjectCopyProgressTableGUI\parse(), ilObjectTableGUI\parse(), ilCalendarCategoryTableGUI\parse(), ilCalendarManageTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ilRbacLogTableGUI\parseChangesFaPa(), ilObjMediaPoolSubItemListGUI\parseImage(), ilDataSet\parseObjectExportId(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilObjectAddNewItemGUI\parseRepository(), ilAdministrationCommandGUI\paste(), ilAdministrationCommandGUI\performPasteIntoMultipleObjects(), assQuestionGUI\populateTaxonomyFormSection(), ilAdvancedMDFieldDefinitionSelect\prepareCustomDefinitionFormConfirmation(), ilObjectGUI\prepareOutput(), ilSkillObjDeletionHandler\processDeletion(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjStudyProgramme\putInTree(), ilObjectGUI\putObjectInTree(), ilUserQuery\query(), ilObjSAHSLearningModule\read(), ilExerciseMembers\read(), ilCalendarCategory\read(), ilContentPageDataSet\readData(), ilScorm2004DataSet\readData(), ilMediaObjectDataSet\readData(), ilCalendarCategories\readReposCalendars(), ilObjRoleGUI\readRoleProperties(), ilCalendarCategories\readSelectedCategories(), ilObjSessionGUI\redirectToParentContentPageObject(), ilObjOrgUnitGUI\redirectToRefId(), ilObjectGUI\redirectToRefId(), ilSharedResourceGUI\redirectToResource(), ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), ilSoapObjectAdministration\removeDesktopItems(), ilDesktopItemGUI\removeFromDesktop(), ilLearningHistoryTimelineItem\render(), ilPortfolioPageGUI\renderBlog(), ilCalendarSelectionBlockGUI\renderItem(), ilSearchResultPresentation\renderItemList(), ilPCTableGUI\renderTable(), ilNoteGUI\renderTargets(), ilAccountMail\replacePlaceholders(), ilPageObject\resolveMediaAliases(), ilObjUserGUI\roleassignmentObject(), ilContainerNewsSettingsGUI\save(), ilNewsTimelineGUI\save(), ilCalendarAppointmentGUI\save(), ilOrgUnitGlobalSettings\saveDefaultPositionActivationStatus(), ilAccountRegistrationGUI\saveForm(), ilExportGUI\saveItemSelection(), ilPCMediaObject\saveMobUsage(), ilObjStyleSheetGUI\saveObject(), ilConsultationHoursGUI\saveSequence(), ilObjectCopyGUI\saveSource(), ilObjectCopyGUI\saveSourceMembership(), ilObjectCopyGUI\saveTarget(), ilObjFileGUI\saveUnzip(), ilMembershipCronNotifications\sendMail(), ilObjContentObject\setAutoGlossaries(), ilSCORM2004PageGUI\setDefaultLinkXml(), ilPageObjectGUI\setDefaultLinkXml(), ilStudyProgrammeAssignment\setLastChangeBy(), ilStudyProgrammeProgress\setLastChangeBy(), ilPCInteractiveImage\setNode(), ilMailNotification\setObjId(), ilObjStudyProgramme\setProgressesCompletedFor(), ilConditionSelector\setRefId(), ilObjItemGroupGUI\setTabs(), ilLinkInputGUI\setValueByIntLinkAttributes(), ilRepUtilGUI\showDeleteConfirmation(), ilCalendarAppointmentGUI\showInfoScreen(), ilInternalLinkGUI\showLinkHelp(), ilAdministrationCommandGUI\showLinkIntoMultipleObjectsTree(), ilMemberViewGUI\showMemberViewSwitch(), ilNewsForContextBlockGUI\showNews(), ilPageObjectGUI\showPage(), ilExerciseManagementGUI\showParticipantObject(), ilAdministrationCommandGUI\showPasteTree(), ilPersonalSkillsGUI\showProfileSelectorToolbar(), ilRepositoryGUI\showTree(), ilOrgUnitSimpleImport\simpleImportElement(), ilAdministrationExplorerGUI\sortChilds(), ilRepositorySelectorExplorerGUI\sortChilds(), ilRepositoryExplorerGUI\sortChilds(), ilRepositoryExplorer\sortNodes(), ilSearchAppEventListener\storeElement(), ilObjectTest\testSetGetLookup(), ilObjectTest\testTreeTrash(), ilDidacticTemplateLocalRoleAction\toXml(), ilDidacticTemplateLocalPolicyAction\toXml(), ilAdvancedMDRecord\toXML(), ilPCVerificationGUI\update(), ilNewsTimelineGUI\update(), ilSoapCourseAdministration\updateCourse(), ilECSAppEventListener\updateEnrolmentStatus(), ilPortfolioPage\updateInternalLinks(), ilLMObject\updateInternalLinks(), ilNewsItemGUI\updateNewsItem(), ilContainerReferenceGUI\updateObject(), ilMediaPoolItem\updateObjectTitle(), ilObjectLP\updateParentCollections(), ilObjectServiceSettingsGUI\updateServiceSettingsForm(), ilLTIProviderObjectSettingGUI\updateSettings(), ilObjFileGUI\uploadFiles(), ilECSCategoryMappingRule\validate(), ilLPCollectionOfRepositoryObjects\validateEntry(), ilSoapObjectAdministration\validateReferences(), ilPublicUserProfileGUI\validateUser(), ilPDNewsGUI\view(), ilPDNotesGUI\view(), ilContObjectManifestBuilder\writeResources(), ilRoleXmlExport\writeRole(), ilLPStatus\writeStatus(), ilContainerXmlWriter\writeSubitems(), ilBasicSkill\writeUserSkillLevelStatus(), and ilPCParagraph\xml2output().

1276  {
1277  global $DIC;
1278 
1279  $ilObjDataCache = $DIC["ilObjDataCache"];
1280 
1281  if ($a_reference) {
1282  return $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_id));
1283  }
1284  return $ilObjDataCache->lookupType($a_id);
1285  }
global $DIC
Definition: saml.php:7
+ Here is the caller graph for this function:

◆ _prepareCloneSelection()

static ilObject::_prepareCloneSelection (   $a_ref_ids,
  $new_type,
  $show_path = true 
)
static

Prepare copy wizard object selection.

This method should renamed. Currently used in ilObjsurvey and ilObjTest

Deprecated:
since version 5.2
Parameters
array$a_ref_ids
string$new_type
bool$show_path
Returns
array

Definition at line 1771 of file class.ilObject.php.

References $app_event_handler, $db, $DIC, $ilDB, $ilUser, $lng, $location, $objDefinition, PHPMailer\PHPMailer\$options, $path, $query, $rbacadmin, $res, $row, $title, ilAdvancedMDValues\_cloneValues(), ilCopyWizardOptions\_getInstance(), appendCopyInfo(), getId(), ilLoggerFactory\getLogger(), getLongDescription(), getOfflineStatus(), getRefId(), getTitle(), getType(), ilObjectPlugin\lookupTxtById(), and supportsOfflineHandling().

Referenced by ilObjSurveyQuestionPool\_getAvailableQuestionpools(), ilObjQuestionPool\_getAvailableQuestionpools(), and ilObjTest\_getAvailableTests().

1772  {
1773  global $DIC;
1774 
1775  $ilDB = $DIC->database();
1776  $lng = $DIC->language();
1777  $objDefinition = $DIC["objDefinition"];
1778 
1779  $query = "SELECT obj_data.title obj_title,path_data.title path_title,child FROM tree " .
1780  "JOIN object_reference obj_ref ON child = obj_ref.ref_id " .
1781  "JOIN object_data obj_data ON obj_ref.obj_id = obj_data.obj_id " .
1782  "JOIN object_reference path_ref ON parent = path_ref.ref_id " .
1783  "JOIN object_data path_data ON path_ref.obj_id = path_data.obj_id " .
1784  "WHERE " . $ilDB->in("child", $a_ref_ids, false, "integer") . " " .
1785  "ORDER BY obj_data.title ";
1786  $res = $ilDB->query($query);
1787 
1788  if (!$objDefinition->isPlugin($new_type)) {
1789  $options[0] = $lng->txt('obj_' . $new_type . '_select');
1790  } else {
1791  require_once("Services/Repository/classes/class.ilObjectPlugin.php");
1792  $options[0] = ilObjectPlugin::lookupTxtById($new_type, "obj_" . $new_type . "_select");
1793  }
1794 
1795  while ($row = $ilDB->fetchObject($res)) {
1796  if (strlen($title = $row->obj_title) > 40) {
1797  $title = substr($title, 0, 40) . '...';
1798  }
1799 
1800  if ($show_path) {
1801  if (strlen($path = $row->path_title) > 40) {
1802  $path = substr($path, 0, 40) . '...';
1803  }
1804 
1805  $title .= ' (' . $lng->txt('path') . ': ' . $path . ')';
1806  }
1807 
1808  $options[$row->child] = $title;
1809  }
1810  return $options ? $options : array();
1811  }
$path
Definition: aliased.php:25
static lookupTxtById($plugin_id, $lang_var)
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
$row
global $ilDB
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _resetDeletedDate()

static ilObject::_resetDeletedDate (   $a_ref_id)
static

only called in ilObjectGUI::insertSavedNodes

Definition at line 1153 of file class.ilObject.php.

References $DIC, $ilDB, and $query.

Referenced by ilTree\insertNode(), ilObjectTest\testObjectReference(), and ilObjectTest\testSetGetLookup().

1154  {
1155  global $DIC;
1156 
1157  $ilDB = $DIC->database();
1158 
1159  $query = "UPDATE object_reference SET deleted = " . $ilDB->quote(null, 'timestamp') .
1160  " WHERE ref_id = " . $ilDB->quote($a_ref_id, 'integer');
1161  $ilDB->manipulate($query);
1162  }
global $DIC
Definition: saml.php:7
$query
global $ilDB
+ Here is the caller graph for this function:

◆ _setDeletedDate()

static ilObject::_setDeletedDate (   $a_ref_id)
static

only called in ilTree::saveSubTree

Definition at line 1119 of file class.ilObject.php.

References $DIC, $ilDB, $query, and $res.

Referenced by ilObjectTest\testObjectReference(), and ilObjectTest\testSetGetLookup().

1120  {
1121  global $DIC;
1122 
1123  $ilDB = $DIC->database();
1124 
1125  $query = "UPDATE object_reference SET deleted= " . $ilDB->now() . ' ' .
1126  "WHERE ref_id = " . $ilDB->quote($a_ref_id, 'integer');
1127  $res = $ilDB->manipulate($query);
1128  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$query
global $ilDB
+ Here is the caller graph for this function:

◆ _writeDescription()

static ilObject::_writeDescription (   $a_obj_id,
  $a_desc 
)
static

write description to db (static)

Parameters
int$a_obj_idobject id
string$a_descdescription public

Definition at line 1211 of file class.ilObject.php.

References $desc, $DIC, $ilDB, $objDefinition, $res, $values, _lookupType(), and ilUtil\shortenText().

Referenced by ilSCORM13Package\il_import(), and ilObjMediaObject\MDUpdateListener().

1212  {
1213  global $DIC;
1214 
1215  $ilDB = $DIC->database();
1216  $objDefinition = $DIC["objDefinition"];
1217 
1218 
1219  $desc = ilUtil::shortenText($a_desc, self::DESC_LENGTH, true);
1220 
1221  $q = "UPDATE object_data " .
1222  "SET " .
1223  "description = " . $ilDB->quote($desc, "text") . "," .
1224  "last_update = " . $ilDB->now() . " " .
1225  "WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer");
1226 
1227  $ilDB->manipulate($q);
1228 
1229  if ($objDefinition->isRBACObject(ilObject::_lookupType($a_obj_id))) {
1230  // Update long description
1231  $res = $ilDB->query("SELECT * FROM object_description WHERE obj_id = " .
1232  $ilDB->quote($a_obj_id, 'integer'));
1233 
1234  if ($res->numRows()) {
1235  $values = array(
1236  'description' => array('clob',$a_desc)
1237  );
1238  $ilDB->update('object_description', $values, array('obj_id' => array('integer',$a_obj_id)));
1239  } else {
1240  $values = array(
1241  'description' => array('clob',$a_desc),
1242  'obj_id' => array('integer',$a_obj_id));
1243  $ilDB->insert('object_description', $values);
1244  }
1245  }
1246  }
static shortenText( $a_str, $a_len, $a_dots=false, $a_next_blank=false, $a_keep_extension=false)
shorten a string to given length.
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$values
static _lookupType($a_id, $a_reference=false)
lookup object type
global $ilDB
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _writeImportId()

static ilObject::_writeImportId (   $a_obj_id,
  $a_import_id 
)
static

write import id to db (static)

Parameters
int$a_obj_idobject id
string$a_import_idimport id public

Definition at line 1255 of file class.ilObject.php.

References $DIC, and $ilDB.

Referenced by ilAuthProviderECS\createUser(), ilAuthContainerECS\createUser(), ilImport\doImportObject(), ilCourseXMLParser\handlerBeginTag(), ilObjContentObject\importFromDirectory(), and ilGlossaryImporter\importXmlRepresentation().

1256  {
1257  global $DIC;
1258 
1259  $ilDB = $DIC->database();
1260 
1261  $q = "UPDATE object_data " .
1262  "SET " .
1263  "import_id = " . $ilDB->quote($a_import_id, "text") . "," .
1264  "last_update = " . $ilDB->now() . " " .
1265  "WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer");
1266 
1267  $ilDB->manipulate($q);
1268  }
global $DIC
Definition: saml.php:7
global $ilDB
+ Here is the caller graph for this function:

◆ _writeTitle()

static ilObject::_writeTitle (   $a_obj_id,
  $a_title 
)
static

write title to db (static)

Parameters
int$a_obj_idobject id
string$a_titletitle public

Definition at line 1189 of file class.ilObject.php.

References $DIC, and $ilDB.

Referenced by ilScorm2004DataSet\importRecord(), ilObjMediaObject\MDUpdateListener(), and ilObjSAHSLearningModuleGUI\uploadObject().

1190  {
1191  global $DIC;
1192 
1193  $ilDB = $DIC->database();
1194 
1195  $q = "UPDATE object_data " .
1196  "SET " .
1197  "title = " . $ilDB->quote($a_title, "text") . "," .
1198  "last_update = " . $ilDB->now() . " " .
1199  "WHERE obj_id = " . $ilDB->quote($a_obj_id, "integer");
1200 
1201  $ilDB->manipulate($q);
1202  }
global $DIC
Definition: saml.php:7
global $ilDB
+ Here is the caller graph for this function:

◆ appendCopyInfo()

ilObject::appendCopyInfo (   $a_target_id,
  $a_copy_id 
)

Prepend Copy info if object with same name exists in that container.

public

Parameters
intcopy_id

Definition at line 1912 of file class.ilObject.php.

References $nodes, $title, $tree, ilObjFileAccess\_appendNumberOfCopyToFilename(), ilCopyWizardOptions\_getInstance(), getTitle(), and getType().

Referenced by _prepareCloneSelection().

1913  {
1914  $tree = $this->tree;
1915 
1916  include_once('Services/CopyWizard/classes/class.ilCopyWizardOptions.php');
1917  $cp_options = ilCopyWizardOptions::_getInstance($a_copy_id);
1918  if (!$cp_options->isRootNode($this->getRefId())) {
1919  return $this->getTitle();
1920  }
1921  $nodes = $tree->getChilds($a_target_id);
1922 
1923  $title_unique = false;
1924  require_once 'Modules/File/classes/class.ilObjFileAccess.php';
1925  $numberOfCopy = 1;
1926  $handleExtension = ($this->getType() == "file"); // #14883
1927  $title = ilObjFileAccess::_appendNumberOfCopyToFilename($this->getTitle(), $numberOfCopy, $handleExtension);
1928  while (!$title_unique) {
1929  $found = 0;
1930  foreach ($nodes as $node) {
1931  if (($title == $node['title']) and ($this->getType() == $node['type'])) {
1932  $found++;
1933  }
1934  }
1935  if ($found > 0) {
1936  $title = ilObjFileAccess::_appendNumberOfCopyToFilename($this->getTitle(), ++$numberOfCopy, $handleExtension);
1937  } else {
1938  break;
1939  }
1940  }
1941  return $title;
1942  }
static _appendNumberOfCopyToFilename($a_file_name, $nth_copy=null, $a_handle_extension=false)
Appends the text " - Copy" to a filename in the language of the current user.
static _getInstance($a_copy_id)
Get instance of copy wizard options.
getTitle()
get object title public
getType()
get object type public
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ applyDidacticTemplate()

ilObject::applyDidacticTemplate (   $a_tpl_id)

Apply template.

Parameters
int$a_tpl_id

Definition at line 1648 of file class.ilObject.php.

References $action, ilDidacticTemplateObjSettings\assignTemplate(), ilDidacticTemplateActionFactory\getActionsByTemplateId(), getId(), ilLoggerFactory\getLogger(), and getRefId().

Referenced by ilSessionDataSet\applyDidacticTemplate().

1649  {
1650  ilLoggerFactory::getLogger('obj')->debug('Applying didactic template with id: ' . (int) $a_tpl_id);
1651  if ($a_tpl_id) {
1652  include_once './Services/DidacticTemplate/classes/class.ilDidacticTemplateActionFactory.php';
1654  $action->setRefId($this->getRefId());
1655  $action->apply();
1656  }
1657  }
1658 
1659  include_once './Services/DidacticTemplate/classes/class.ilDidacticTemplateObjSettings.php';
1660  ilDidacticTemplateObjSettings::assignTemplate($this->getRefId(), $this->getId(), (int) $a_tpl_id);
1661  return $a_tpl_id ? true : false;
1662  }
$action
static assignTemplate($a_ref_id, $a_obj_id, $a_tpl_id)
Assign template to object ilDB $ilDB.
getId()
get object id public
getRefId()
get reference id public
static getLogger($a_component_id)
Get component logger.
static getActionsByTemplateId($a_tpl_id)
Get actions of one template.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cloneDependencies()

ilObject::cloneDependencies (   $a_target_id,
  $a_copy_id 
)

Clone object dependencies.

This method allows to refresh any ref id references to other objects that are affected in the same copy process. Ask ilCopyWizardOptions for the mappings.

public

Parameters
intref_id of target object
intcopy_id

Definition at line 1956 of file class.ilObject.php.

References $factory, ilConditionHandler\cloneDependencies(), getRefId(), and ilDidacticTemplateObjSettings\lookupTemplateId().

1957  {
1958  include_once './Services/Conditions/classes/class.ilConditionHandler.php' ;
1959  ilConditionHandler::cloneDependencies($this->getRefId(), $a_target_id, $a_copy_id);
1960 
1961  include_once './Services/DidacticTemplate/classes/class.ilDidacticTemplateObjSettings.php';
1963  if ($tpl_id) {
1964  include_once './Services/Object/classes/class.ilObjectFactory.php';
1965  $factory = new ilObjectFactory();
1966  $obj = $factory->getInstanceByRefId($a_target_id, false);
1967  if ($obj instanceof ilObject) {
1968  $obj->applyDidacticTemplate($tpl_id);
1969  }
1970  }
1971  return true;
1972  }
static lookupTemplateId($a_ref_id)
Lookup template id ilDB $ilDB.
Class ilObjectFactory.
$factory
Definition: metadata.php:43
getRefId()
get reference id public
static cloneDependencies($a_src_ref_id, $a_target_ref_id, $a_copy_id)
+ Here is the call graph for this function:

◆ cloneMetaData()

ilObject::cloneMetaData (   $target_obj)

Copy meta data.

public

Parameters
objecttarget object

Definition at line 1981 of file class.ilObject.php.

References $a_type, $DIC, $filename, $ilSetting, $location, $objDefinition, _lookupType(), getId(), ilUtil\getImagePath(), and getType().

Referenced by ilObjTest\_getAvailableTests(), ilObjLinkResource\cloneObject(), ilObjLearningSequence\cloneObject(), ilObjFileBasedLM\cloneObject(), ilObjGroup\cloneObject(), ilObjCourse\cloneObject(), ilObjGlossary\cloneObject(), ilObjContentObject\cloneObject(), ilObjSurvey\importObject(), ilObjSAHSLearningModule\populateByDirectoy(), and ilObjSession\validate().

1982  {
1983  $md = new ilMD($this->getId(), 0, $this->getType());
1984  $md->cloneMD($target_obj->getId(), 0, $target_obj->getType());
1985  return true;
1986  }
getId()
get object id public
getType()
get object type public
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ collectDeletionDependencies()

static ilObject::collectDeletionDependencies ( $deps,
  $a_ref_id,
  $a_obj_id,
  $a_type,
  $a_depth = 0 
)
static

Collect deletion dependencies.

E.g.

Parameters

Definition at line 2057 of file class.ilObject.php.

References $a_type, $c, $DIC, $id, $location, $message, $objDefinition, and $tree.

Referenced by ilRepUtilGUI\showDeleteConfirmation().

2058  {
2059  global $DIC;
2060 
2061  $objDefinition = $DIC["objDefinition"];
2062  $tree = $DIC->repositoryTree();
2063 
2064  if ($a_depth == 0) {
2065  $deps["dep"] = array();
2066  }
2067 
2068  $deps["del_ids"][$a_obj_id] = $a_obj_id;
2069 
2070  if (!$objDefinition->isPluginTypeName($a_type)) {
2071  $class_name = "ilObj" . $objDefinition->getClassName($a_type);
2072  $location = $objDefinition->getLocation($a_type);
2073  include_once($location . "/class." . $class_name . ".php");
2074  $odeps = call_user_func(array($class_name, "getDeletionDependencies"), $a_obj_id);
2075  if (is_array($odeps)) {
2076  foreach ($odeps as $id => $message) {
2077  $deps["dep"][$id][$a_obj_id][] = $message;
2078  }
2079  }
2080 
2081  // get deletion dependency of childs
2082  foreach ($tree->getChilds($a_ref_id) as $c) {
2083  ilObject::collectDeletionDependencies($deps, $c["child"], $c["obj_id"], $c["type"], $a_depth + 1);
2084  }
2085  }
2086 
2087  // delete all dependencies to objects that will be deleted, too
2088  if ($a_depth == 0) {
2089  foreach ($deps["del_ids"] as $obj_id) {
2090  unset($deps["dep"][$obj_id]);
2091  }
2092  $deps = $deps["dep"];
2093  }
2094  }
global $DIC
Definition: saml.php:7
$location
Definition: buildRTE.php:44
static collectDeletionDependencies(&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0)
Collect deletion dependencies.
$a_type
Definition: workflow.php:92
catch(Exception $e) $message
+ Here is the caller graph for this function:

◆ countReferences()

ilObject::countReferences ( )

count references of object

public

Returns
integer number of references for this object

Definition at line 1465 of file class.ilObject.php.

References $app_event_handler, $db, $DIC, $error, $ilDB, $ilErr, $ilLog, $log, $message, $query, $rbacadmin, $res, $row, ilAdvancedMDValues\_deleteByObjId(), ilECSImport\_deleteByObjId(), ilLPObjSettings\_deleteByObjId(), ilBlockSetting\_deleteSettingsOfBlock(), _lookupType(), ilObjectDataDeletionLog\add(), ilRbacLog\delete(), ilObjectActivation\deleteAllEntries(), ilDidacticTemplateObjSettings\deleteByObjId(), ilDidacticTemplateObjSettings\deleteByRefId(), getId(), getRefId(), getTitle(), getType(), and ilUtil\removeItemFromDesktops().

Referenced by ilObjSurvey\delete().

1466  {
1467  $ilDB = $this->db;
1468  $ilErr = $this->error;
1469 
1470  if (!isset($this->id)) {
1471  $message = "ilObject::countReferences(): No obj_id given!";
1472  $ilErr->raiseError($message, $ilErr->WARNING);
1473  }
1474 
1475  $query = "SELECT COUNT(ref_id) num FROM object_reference " .
1476  "WHERE obj_id = " . $ilDB->quote($this->id, 'integer') . " ";
1477  $res = $ilDB->query($query);
1478  $row = $ilDB->fetchObject($res);
1479 
1480  return $row->num;
1481  }
$ilErr
Definition: raiseError.php:18
catch(Exception $e) $message
foreach($_POST as $key=> $value) $res
$query
$row
global $ilDB
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ create()

ilObject::create ( )

create

note: title, description and type should be set when this function is called

public

Returns
integer object id

Definition at line 651 of file class.ilObject.php.

References $db, $DIC, $error, $id, $ilDB, $ilErr, $ilLog, $ilUser, $log, $message, $objDefinition, $owner, $values, getDescription(), getImportId(), ilOrgUnitGlobalSettings\getInstance(), getLongDescription(), getOfflineStatus(), getOwner(), getTitle(), setOwner(), ilUtil\shortenText(), and supportsOfflineHandling().

Referenced by ilRemoteObjectBase\createFromECSEContent().

652  {
653  global $DIC;
654 
655  $app_event = $DIC->event();
656  $ilDB = $this->db;
657  $ilLog = $this->log;
658  $ilUser = $DIC["ilUser"];
661 
662  if (!isset($this->type)) {
663  $message = get_class($this) . "::create(): No object type given!";
664  $ilErr->raiseError($message, $ilErr->WARNING);
665  }
666 
667  // write log entry
668  $ilLog->write("ilObject::create(), start");
669 
670  $this->title = ilUtil::shortenText($this->getTitle(), $this->max_title, $this->add_dots);
671  $this->desc = ilUtil::shortenText($this->getDescription(), $this->max_desc, $this->add_dots);
672 
673  // determine owner
674  if ($this->getOwner() > 0) {
675  $owner = $this->getOwner();
676  } elseif (is_object($ilUser)) {
677  $owner = $ilUser->getId();
678  } else {
679  $owner = 0;
680  }
681  $this->id = $ilDB->nextId("object_data");
682  $q = "INSERT INTO object_data " .
683  "(obj_id,type,title,description,offline,owner,create_date,last_update,import_id) " .
684  "VALUES " .
685  "(" .
686  $ilDB->quote($this->id, "integer") . "," .
687  $ilDB->quote($this->type, "text") . "," .
688  $ilDB->quote($this->getTitle(), "text") . "," .
689  $ilDB->quote($this->getDescription(), "text") . "," .
690  $ilDB->quote($this->supportsOfflineHandling() ? $this->getOfflineStatus() : null, 'integer') . ', ' .
691  $ilDB->quote($owner, "integer") . "," .
692  $ilDB->now() . "," .
693  $ilDB->now() . "," .
694  $ilDB->quote($this->getImportId(), "text") . ")";
695 
696  $ilDB->manipulate($q);
697 
698 
699  // Save long form of description if is rbac object
700  if ($objDefinition->isRBACObject($this->getType())) {
701  $values = array(
702  'obj_id' => array('integer',$this->id),
703  'description' => array('clob', $this->getLongDescription()));
704  $ilDB->insert('object_description', $values);
705  }
706 
707  if ($objDefinition->isOrgUnitPermissionType($this->type)) {
708  ilOrgUnitGlobalSettings::getInstance()->saveDefaultPositionActivationStatus($this->id);
709  }
710 
711  // the line ($this->read();) messes up meta data handling: meta data,
712  // that is not saved at this time, gets lost, so we query for the dates alone
713  //$this->read();
714  $q = "SELECT last_update, create_date FROM object_data" .
715  " WHERE obj_id = " . $ilDB->quote($this->id, "integer");
716  $obj_set = $ilDB->query($q);
717  $obj_rec = $ilDB->fetchAssoc($obj_set);
718  $this->last_update = $obj_rec["last_update"];
719  $this->create_date = $obj_rec["create_date"];
720 
721  // set owner for new objects
722  $this->setOwner($owner);
723 
724  // write log entry
725  $ilLog->write("ilObject::create(), finished, obj_id: " . $this->id . ", type: " .
726  $this->type . ", title: " . $this->getTitle());
727 
728  $app_event->raise(
729  'Services/Object',
730  'create',
731  array('obj_id' => $this->id,'obj_type' => $this->type)
732  );
733 
734  return $this->id;
735  }
supportsOfflineHandling()
Check whether object supports offline handling.
static shortenText( $a_str, $a_len, $a_dots=false, $a_next_blank=false, $a_keep_extension=false)
shorten a string to given length.
global $DIC
Definition: saml.php:7
getOfflineStatus()
Get offline status.
getOwner()
get object owner
$ilErr
Definition: raiseError.php:18
catch(Exception $e) $message
setOwner($a_owner)
set object owner
$values
getTitle()
get object title public
getDescription()
get object description
getImportId()
get import id
$ilUser
Definition: imgupload.php:18
global $ilDB
getLongDescription()
get object long description (stored in object_description)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createMetaData()

ilObject::createMetaData ( )

create meta data entry

Definition at line 852 of file class.ilObject.php.

References $DIC, $ilUser, getId(), getLongDescription(), getTitle(), and getType().

Referenced by ilObjSAHSLearningModule\create(), ilObjLinkResource\create(), ilObjGlossary\create(), ilObjQuestionPool\create(), ilObjSurveyQuestionPool\create(), ilObjFileBasedLM\create(), ilObjContentObject\create(), ilObjSession\create(), ilObjGroup\create(), ilObjCourse\create(), and updateMetaData().

853  {
854  global $DIC;
855 
856  include_once 'Services/MetaData/classes/class.ilMDCreator.php';
857 
858  $ilUser = $DIC["ilUser"];
859 
860  $md_creator = new ilMDCreator($this->getId(), 0, $this->getType());
861  $md_creator->setTitle($this->getTitle());
862  $md_creator->setTitleLanguage($ilUser->getPref('language'));
863  $md_creator->setDescription($this->getLongDescription());
864  $md_creator->setDescriptionLanguage($ilUser->getPref('language'));
865  $md_creator->setKeywordLanguage($ilUser->getPref('language'));
866  $md_creator->setLanguage($ilUser->getPref('language'));
867  $md_creator->create();
868 
869  return true;
870  }
global $DIC
Definition: saml.php:7
getId()
get object id public
getTitle()
get object title public
$ilUser
Definition: imgupload.php:18
getType()
get object type public
getLongDescription()
get object long description (stored in object_description)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createReference()

ilObject::createReference ( )

creates reference for object

public

Returns
integer reference_id of object

Definition at line 1437 of file class.ilObject.php.

References $db, $error, $ilDB, $ilErr, $message, $query, and $ref_id.

Referenced by ilObjStudyProgramme\addNode(), ilOerHarvester\harvestObject(), ilObject2GUI\putObjectInTree(), and ilObjectGUI\putObjectInTree().

1438  {
1439  $ilDB = $this->db;
1440  $ilErr = $this->error;
1441 
1442  if (!isset($this->id)) {
1443  $message = "ilObject::createNewReference(): No obj_id given!";
1444  $ilErr->raiseError($message, $ilErr->WARNING);
1445  }
1446 
1447  $next_id = $ilDB->nextId('object_reference');
1448  $query = "INSERT INTO object_reference " .
1449  "(ref_id, obj_id) VALUES (" . $ilDB->quote($next_id, 'integer') . ',' . $ilDB->quote($this->id, 'integer') . ")";
1450  $ilDB->query($query);
1451 
1452  $this->ref_id = $next_id;
1453  $this->referenced = true;
1454 
1455  return $this->ref_id;
1456  }
$ilErr
Definition: raiseError.php:18
catch(Exception $e) $message
$query
global $ilDB
+ Here is the caller graph for this function:

◆ deleteMetaData()

ilObject::deleteMetaData ( )

delete meta data entry

Definition at line 901 of file class.ilObject.php.

References getId(), and getType().

Referenced by ilObjLinkResource\delete(), ilObjQuestionPool\delete(), ilObjFileBasedLM\delete(), ilObjSurveyQuestionPool\delete(), ilObjSurvey\delete(), ilObjContentObject\delete(), ilObjSession\delete(), ilObjTest\delete(), ilObjGlossary\delete(), ilObjSAHSLearningModule\delete(), and ilObjCourse\delete().

902  {
903  // Delete meta data
904  include_once('Services/MetaData/classes/class.ilMD.php');
905  $md = new ilMD($this->getId(), 0, $this->getType());
906  $md->deleteAll();
907  }
getId()
get object id public
getType()
get object type public
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fixMissingTitles()

static ilObject::fixMissingTitles (   $a_type,
array &  $a_obj_title_map 
)
static

Try to fix missing object titles.

Parameters
type$a_type
array&$a_obj_title_map

Definition at line 2174 of file class.ilObject.php.

References $a_type, $DIC, $ilDB, $row, $sess, and $title.

Referenced by ilObjectOwnershipManagementGUI\listObjects().

2175  {
2176  global $DIC;
2177 
2178  $ilDB = $DIC->database();
2179 
2180  if (!in_array($a_type, array("catr", "crsr", "sess", "grpr"))) {
2181  return;
2182  }
2183 
2184  // any missing titles?
2185  $missing_obj_ids = array();
2186  foreach ($a_obj_title_map as $obj_id => $title) {
2187  if (!trim($title)) {
2188  $missing_obj_ids[] = $obj_id;
2189  }
2190  }
2191 
2192  if (!sizeof($missing_obj_ids)) {
2193  return;
2194  }
2195 
2196  switch ($a_type) {
2197  case "grpr":
2198  case "catr":
2199  case "crsr":
2200  $set = $ilDB->query("SELECT oref.obj_id, od.type, od.title FROM object_data od" .
2201  " JOIN container_reference oref ON (od.obj_id = oref.target_obj_id)" .
2202  " AND " . $ilDB->in("oref.obj_id", $missing_obj_ids, "", "integer"));
2203  while ($row = $ilDB->fetchAssoc($set)) {
2204  $a_obj_title_map[$row["obj_id"]] = $row["title"];
2205  }
2206  break;
2207 
2208  case "sess":
2209  include_once "Modules/Session/classes/class.ilObjSession.php";
2210  foreach ($missing_obj_ids as $obj_id) {
2211  $sess = new ilObjSession($obj_id, false);
2212  $a_obj_title_map[$obj_id] = $sess->getFirstAppointment()->appointmentToString();
2213  }
2214  break;
2215  }
2216  }
global $DIC
Definition: saml.php:7
$a_type
Definition: workflow.php:92
$row
global $ilDB
+ Here is the caller graph for this function:

◆ getAllOwnedRepositoryObjects()

static ilObject::getAllOwnedRepositoryObjects (   $a_user_id)
static

Get all ids of objects user owns.

Parameters
int$a_user_id
Returns
array

Definition at line 2132 of file class.ilObject.php.

References $DIC, $ilDB, $objDefinition, $res, and $row.

Referenced by ilObjectOwnershipManagementGUI\listObjects().

2133  {
2134  global $DIC;
2135 
2136  $ilDB = $DIC->database();
2137  $objDefinition = $DIC["objDefinition"];
2138 
2139  $all = array();
2140 
2141  // restrict to repository
2142  $types = array_keys($objDefinition->getSubObjectsRecursively("root"));
2143 
2144  $sql = "SELECT od.obj_id,od.type,od.title FROM object_data od" .
2145  " JOIN object_reference oref ON(oref.obj_id = od.obj_id)" .
2146  " JOIN tree ON (tree.child = oref.ref_id)";
2147 
2148  if ($a_user_id) {
2149  $sql .= " WHERE od.owner = " . $ilDB->quote($a_user_id, "integer");
2150  } else {
2151  $sql .= " LEFT JOIN usr_data ud ON (ud.usr_id = od.owner)" .
2152  " WHERE (od.owner < " . $ilDB->quote(1, "integer") .
2153  " OR od.owner IS NULL OR ud.login IS NULL)" .
2154  " AND od.owner <> " . $ilDB->quote(-1, "integer");
2155  }
2156 
2157  $sql .= " AND " . $ilDB->in("od.type", $types, "", "text") .
2158  " AND tree.tree > " . $ilDB->quote(0, "integer"); // #12485
2159 
2160  $res = $ilDB->query($sql);
2161  while ($row = $ilDB->fetchAssoc($res)) {
2162  $all[$row["type"]][$row["obj_id"]] = $row["title"];
2163  }
2164 
2165  return $all;
2166  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$row
global $ilDB
+ Here is the caller graph for this function:

◆ getCreateDate()

ilObject::getCreateDate ( )

get create date public

Returns
string creation date

Definition at line 611 of file class.ilObject.php.

References $create_date.

Referenced by ilSoapUserAdministration\__readUserData(), ilObjUser\deleteUserDefinedFieldEntries(), ilObjectXMLWriter\getXML(), and ilCertificateMigrationValidator\isUserCreatedAfterFeatureIntroduction().

612  {
613  return $this->create_date;
614  }
+ Here is the caller graph for this function:

◆ getDeletionDependencies()

static ilObject::getDeletionDependencies (   $a_obj_id)
static

Get deletion dependencies.

Definition at line 2100 of file class.ilObject.php.

2101  {
2102  return false;
2103  }

◆ getDescription()

◆ getDiskUsage()

ilObject::getDiskUsage ( )

Gets the disk usage of the object in bytes.

Returns null, if the object does not use disk space at all.

The implementation of class ilObject always returns null. Subclasses which use disk space can override this method to return a non-null value.

public

Returns
integer the disk usage in bytes or null

Definition at line 638 of file class.ilObject.php.

639  {
640  return null;
641  }

◆ getHTMLDirectory()

ilObject::getHTMLDirectory ( )

Definition at line 1719 of file class.ilObject.php.

1720  {
1721  return false;
1722  }

◆ getId()

ilObject::getId ( )

get object id public

Returns
integer object id

Definition at line 320 of file class.ilObject.php.

References $id.

Referenced by ilObjectXMLWriter\__appendObjectProperties(), ilIndividualAssessmentInfoSettings\__construct(), ilBiblAdminLibraryFacade\__construct(), ilIndividualAssessmentSettings\__construct(), ilCertificateSettingsExerciseRepository\__construct(), ilCertificateSettingsScormFormRepository\__construct(), ilBiblAdminFactoryFacade\__construct(), ilContainerStartObjectsContentGUI\__construct(), ilCertificateCloneAction\__construct(), ilObjOrgUnit\__construct(), ilExcAssMemberState\__construct(), ilCertificateSettingsCourseFormRepository\__construct(), ilExerciseManagementGUI\__construct(), ilContainer\__construct(), ilObjCourse\__createDefaultSettings(), ilObjCourse\__deleteSettings(), ilObjectXMLWriter\__getAccessInfo(), ilObjCourse\__readSettings(), ilSoapUserAdministration\__readUserData(), ilContainer\_exportContainerSettings(), ilObjTest\_getAvailableTests(), _prepareCloneSelection(), ilECSAppEventListener\_sendNotification(), ilObjectDataDeletionLog\add(), ilUsersGalleryGUI\addActionSection(), ilObjStyleSheet\addCharacteristic(), ilObjUser\addDesktopItem(), ilObjContentObject\addFirstChapterAndPage(), ilObjSystemFolder\addHeaderTitleTranslation(), ilObjWiki\addImportantPage(), ilObjSurvey\addMaterialTag(), ilObjStyleSheet\addMediaQuery(), ilObjUser\addObjectToClipboard(), ilObjStyleSheet\addParameter(), ilObjTest\addQTIMaterial(), ilObjQuestionPool\addQuestionChangeListeners(), ilObjStyleSheet\addTemplate(), ilObjUser\addToPCClipboard(), ilObjRootFolder\addTranslation(), ilObjOrgUnit\addTranslation(), ilObjRole\adjustPermissions(), ilObjCourseGUI\afterImport(), ilObjExternalFeedGUI\afterSave(), ilObjLinkResourceGUI\afterSave(), ilObjPortfolioTemplateGUI\afterSave(), ilObjTaxonomyGUI\afterSave(), ilObjFolderGUI\afterSave(), ilObjStudyProgrammeGUI\afterSave(), ilObjGroupGUI\afterSave(), ilObjPortfolioGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), ilObjCategoryGUI\afterSave(), ilObjCourseGUI\afterSave(), applyDidacticTemplate(), ilAccountCode\applyRoleAssignments(), ilObjStudyProgramme\assignUser(), ilObjOrgUnit\assignUsersToEmployeeRole(), ilObjOrgUnit\assignUsersToSuperiorRole(), ilObjOrgUnit\assignUserToLocalRole(), ilIndividualAssessmentAccessHandler\assignUserToMemberRole(), ilObjContentObject\autoLinkGlossaryTerms(), ilIndividualAssessmentMembers\buildNewRecordOfUser(), ilObjRole\changeExistingObjects(), ilObjStyleSheet\characteristicExists(), ilAuthFrontend\checkExceededLoginAttempts(), ilCronDeleteInactiveUserReminderMail\checkIfReminderMailShouldBeSend(), ilObjCourse\checkLPStatusSync(), ilObjQuestionPool\checkQuestionParent(), ilObjTest\checkQuestionParent(), ilObjSurvey\checkReminder(), ilAuthFrontend\checkSimultaneousLogins(), ilObjContentObject\checkStructure(), ilObjContentObject\checkTree(), ilObjStyleSheet\cleanExportDirectory(), ilObjTest\cleanupMediaobjectUsage(), ilObjUser\clipboardDeleteAll(), ilObjUser\clipboardDeleteObjectsOfType(), ilObjUser\clipboardHasObjectsOfType(), ilObjCategory\cloneDependencies(), ilContainer\cloneDependencies(), ilObjSession\cloneDependencies(), ilObjGroup\cloneDependencies(), ilObjCourse\cloneDependencies(), ilObjLearningSequence\cloneLPSettings(), cloneMetaData(), ilObjFolder\cloneObject(), ilObjSurveyQuestionPool\cloneObject(), ilObjLinkResource\cloneObject(), ilObjChatroom\cloneObject(), ilObjBookingPool\cloneObject(), ilObjExercise\cloneObject(), ilObjGroup\cloneObject(), ilObjWiki\cloneObject(), ilObjCourse\cloneObject(), ilObjGlossary\cloneObject(), ilObjQuestionPool\cloneObject(), ilObjContentObject\cloneObject(), ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), ilObjSession\cloneSettings(), ilObjForumGUI\confirmDeleteThreadDraftsObject(), ilObjContentObject\copyAllPagesAndChapters(), ilObjSurveyQuestionPool\copyQuestion(), ilObjQuestionPool\copyQuestion(), ilTestRandomQuestionSetPoolDeriver\copyQuestionsToPool(), ilGlossaryAct\copyTerm(), countReferences(), ilCertificateFactory\create(), ilCertificateGUIFactory\create(), ilObjSAHSLearningModule\create(), ilObjGlossary\create(), ilObjOrgUnit\create(), ilObjForum\create(), ilObjLearningSequence\create(), ilObjMediaCast\create(), ilObjWiki\create(), ilObjSession\create(), ilObjGroup\create(), ilObjCourse\create(), ilObjStyleSheet\create(), ilContainer\create(), ilContainer\createContainerDirectory(), ilObjChatroom\createDefaultRole(), ilObjSurveyQuestionPool\createExportDirectory(), ilObjContentObject\createExportDirectory(), ilObjGlossary\createExportDirectory(), ilObjQuestionPool\createExportDirectory(), ilObjTest\createExportDirectory(), ilObjStyleSheet\createExportDirectory(), ilObjSurvey\createExportDirectory(), ilStudyProgramme\createForObject(), ilObjStyleSheet\createFromXMLFile(), ilObjStyleSheet\createImagesDirectory(), ilObjContentObject\createImportDirectory(), ilObjSurveyQuestionPool\createImportDirectory(), ilObjGlossary\createImportDirectory(), ilObjStyleSheet\createImportDirectory(), ilObjSurvey\createImportDirectory(), ilObjContentObject\createLMTree(), ilObjMediaPool\createMepTree(), createMetaData(), ilObjRole\createPermissionIntersection(), ilObjContentObject\createProperties(), ilObjSCORM2004LearningModule\createScorm2004Tree(), ilObjStudyProgramme\createSettings(), ilObjForum\createSettings(), ilObjWiki\createWikiPage(), ilObjOrgUnit\deassignUserFromEmployeeRole(), ilObjOrgUnit\deassignUserFromLocalRole(), ilIndividualAssessmentAccessHandler\deassignUserFromMemberRole(), ilObjOrgUnit\deassignUserFromSuperiorRole(), ilObjWiki\decorateAdvMDValue(), ilObjSCORMLearningModule\decreaseAttemptsForUser(), ilObjCategory\delete(), ilObjRoleTemplate\delete(), ilObjSystemFolder\delete(), ilObjExternalFeed\delete(), ilObjLinkResource\delete(), ilObjLearningSequence\delete(), ilObjQuestionPool\delete(), ilObjBookingPool\delete(), ilObjChatroom\delete(), ilObjExercise\delete(), ilContainerReference\delete(), ilObjMediaCast\delete(), ilObjRole\delete(), ilObjWiki\delete(), ilObjOrgUnit\delete(), ilObjContentObject\delete(), ilObjForum\delete(), ilObjSession\delete(), ilObjTest\delete(), ilObjGroup\delete(), ilObjGlossary\delete(), ilObjSAHSLearningModule\delete(), ilObjCourse\delete(), ilObjUser\delete(), ilObjStyleSheet\delete(), ilObjSurveyQuestionPool\deleteAllData(), ilObjSurvey\deleteAllUserData(), ilObjStyleSheet\deleteCharacteristic(), ilObjStyleSheet\deleteCustomStylePars(), ilObjRole\deleteLocalPolicies(), ilIndividualAssessmentMembersStorageDB\deleteMembers(), deleteMetaData(), ilObjUser\deleteMultiTextFields(), ilObjMediaCast\deleteOrder(), ilObjUser\deletePref(), ilObjQuestionPool\deleteQuestionpool(), ilIndividualAssessmentSettingsStorageDB\deleteSettings(), ilObjStyleSheet\deleteStylePar(), ilObjStyleSheet\deleteStyleParOfChar(), ilObjSurvey\deleteSurveyRecord(), ilObjTest\deleteTest(), ilObjSCORM2004LearningModule\deleteTrackingDataOfUsers(), ilObjSCORMLearningModule\deleteTrackingDataOfUsers(), ilObjRootFolder\deleteTranslation(), ilObjOrgUnit\deleteTranslation(), ilObjUser\deleteUserDefinedFieldEntries(), ilObjExercise\determinStatusOfUser(), ilObjStyleSheet\do_3_10_Migration(), ilObjUser\dropDesktopItem(), ilObjQuestionPool\duplicateQuestion(), ilObjSurvey\duplicateQuestionForSurvey(), ilObjTest\duplicateQuestionForTest(), ilTestRandomQuestionSetPoolDeriver\duplicateTaxonomies(), ilTermsOfServiceUserHasGlobalRoleCriterion\evaluate(), ilObjSCORM2004LearningModule\executeDragDrop(), ilObjContentObject\executeDragDrop(), ilObjExercise\exportGradesExcel(), ilObjGlossary\exportHTML(), ilObjContentObject\exportHTML(), ilObjSCORM2004LearningModule\exportHTML4PDF(), ilObjContentObject\exportHTMLPages(), ilObjSCORM2004LearningModule\exportHTMLScoObjects(), ilObjSCORM2004LearningModule\exportPDF(), ilObjUser\exportPersonalData(), ilObjSCORM2004LearningModule\exportScorm(), ilObjContentObject\exportSCORM(), ilObjSCORMLearningModule\exportSelected(), ilObjMediaPool\exportXML(), ilObjQuestionPool\exportXMLMetaData(), ilObjGlossary\exportXMLMetaData(), ilObjSCORM2004LearningModule\exportXMLMetaData(), ilObjContentObject\exportXMLMetaData(), ilObjTest\exportXMLMetaData(), ilObjContentObject\exportXMLPageObjects(), ilObjSCORM2004LearningModule\exportXMLScoObjects(), ilObjSCORM2004LearningModule\exportXMLStructureObjects(), ilIndividualAssessmentSettingsGUI\fillForm(), ilObjWiki\fixImportantPagesNumbering(), ilObjContentObject\fixTree(), ilObjTest\fromXML(), ilStudyProgrammeExpandableProgressListGUI\getAccordionContentCoursesHTML(), ilObjTest\getActiveIdOfUser(), ilObjGlossary\getAllGlossaryIds(), ilObjQuestionPool\getAllQuestionIds(), ilObjQuestionPool\getAllQuestions(), ilObjSCORMLearningModule\getAllScoIds(), ilObjSAHSLearningModule\getApiStudentId(), ilObjSCORMLearningModule\getAttemptsForUser(), ilObjSCORM2004LearningModule\getAttemptsForUser(), ilObjSCORMLearningModule\getAttemptsForUsers(), ilObjSurvey\getAuthor(), ilObjTest\getAuthor(), ilObjStudyProgramme\getChildren(), ilObjUser\getClipboardObjects(), ilContainer\getContainerDirectory(), ilObjForum\getCountUnread(), ilObjSCORM2004LearningModule\getCourseCompletionForUser(), ilTermsOfServiceHelper\getCurrentAcceptanceForUser(), ilObjFileBasedLM\getDataDirectory(), ilObjSAHSLearningModule\getDataDirectory(), ilObjContentObject\getDataDirectory(), ilObjSAHSLearningModule\getDefaultLessonMode(), ilObjUser\getDesktopItems(), ilObjSurveyQuestionPool\getExportDirectory(), ilObjContentObject\getExportDirectory(), ilObjGlossary\getExportDirectory(), ilObjQuestionPool\getExportDirectory(), ilObjTest\getExportDirectory(), ilObjSurvey\getExportDirectory(), ilObjGlossary\getExportFiles(), ilObjStyleSheet\getExportSubDir(), ilMailOptions\getExternalEmailsByUser(), ilObjExternalFeed\getFeedBlock(), ilObjIndividualAssessment\getFileStorage(), ilObjStudyProgramme\getIdsFromNodesOnPathFromRootToHere(), ilObjTest\getImagePath(), ilObjTest\getImagePathWeb(), ilObjStyleSheet\getImagesDirectory(), ilObjContentObject\getImportDirectory(), ilObjSurveyQuestionPool\getImportDirectory(), ilObjGlossary\getImportDirectory(), ilObjSurvey\getImportDirectory(), ilObjStudyProgramme\getLPChildren(), ilObjLearningSequence\getLSItemsDB(), ilObjLearningSequence\getLSParticipants(), ilObjLearningSequence\getLSSettings(), ilObjSAHSLearningModule\getMaxPoints(), ilObjMediaPool\getMediaObjects(), ilObjSCORMLearningModule\getModuleVersionForUser(), ilObjSCORM2004LearningModule\getModuleVersionForUser(), ilObjSCORMLearningModule\getModuleVersionForUsers(), ilObjUser\getOrgUnitsRepresentation(), ilObjUser\getPCClipboardContent(), ilObjUser\getPersonalDataExportFile(), ilObjUser\getPersonalPicturePath(), ilObjSAHSLearningModule\getPointsInPercent(), ilObjMediaPool\getPoolTree(), ilAbstractUsersGalleryCollectionProvider\getPopulatedGroup(), ilObjQuestionPool\getPrintviewQuestions(), ilObjStudyProgramme\getProgresses(), ilObjStudyProgramme\getProgressesOf(), ilObjStudyProgramme\getProgressForAssignment(), ilObjContentObject\getPublicExportFiles(), ilObjQuestionPool\getQplQuestions(), ilObjQuestionPool\getQuestionList(), ilObjSurveyQuestionPool\getQuestions(), ilObjSurveyQuestionPool\getQuestionsData(), ilObjStudyProgramme\getRawSettings(), ilObjSCORM2004LearningModule\getSequencingSettings(), ilObjCourse\getSubItems(), ilContainer\getSubItems(), ilObjGlossary\getTaxonomyId(), ilObjQuestionPool\getTaxonomyIds(), ilObjWiki\getTemplateSelectionOnCreation(), ilObjSCORMLearningModule\getTrackedItems(), ilObjSCORM2004LearningModule\getTrackedItems(), ilObjSCORMLearningModule\getTrackedUsers(), ilObjSCORMLearningModule\getTrackingDataAgg(), ilObjSCORM2004LearningModule\getTrackingDataAgg(), ilObjSCORMLearningModule\getTrackingDataAggSco(), ilObjSCORMLearningModule\getTrackingDataPerUser(), ilObjSCORMLearningModule\getTrackingItems(), ilObjRootFolder\getTranslations(), ilObjOrgUnit\getTranslations(), ilObjSCORM2004LearningModule\getTree(), ilObjMediaPool\getUsedFormats(), ilObjSAHSLearningModule\getViewButton(), ilObjGroup\getViewMode(), ilObjectXMLWriter\getXML(), ilObjSession\handleAutoFill(), ilObjGroup\handleAutoFill(), ilObjCourse\handleAutoFill(), ilObjMediaCast\handleLPUpdate(), ilECSAppEventListener\handleMembership(), ilOerHarvester\harvestObject(), ilObjUser\hasToAcceptTermsOfService(), ilObjStyleSheet\ilClone(), ilObjStyleSheet\import(), ilObjContentObject\importFromDirectory(), ilObjSurveyQuestionPool\importObject(), ilObjSurvey\importObject(), ilTestImporter\importQuestionSkillAssignments(), ilObjSCORMLearningModule\importRaw(), ilTestImporter\importSkillLevelThresholds(), ilObjSCORM2004LearningModule\importSuccess(), ilObjSCORMLearningModule\importSuccess(), ilObjSession\initAppointments(), ilObjCourse\initCourseMemberObject(), ilObjCourse\initCourseMembersObject(), ilObjCloudGUI\initCreateForm(), ilObjSession\initDefaultRoles(), ilObjForum\initDefaultRoles(), ilObjGroup\initDefaultRoles(), ilObjCourse\initDefaultRoles(), ilIndividualAssessmentAccessHandler\initDefaultRolesForObject(), ilObjLinkResource\initLinkResourceItemsObject(), ilObjSession\initParticipants(), ilObjGroup\initParticipants(), ilObjCourse\initWaitingList(), ilIndividualAssessmentMembersStorageDB\insertMembersRecord(), ilObjIndividualAssessment\isActiveLP(), ilObjUser\isAnonymous(), ilObjLearningSequence\isCompletedByUser(), ilObjUser\isDesktopItem(), shibUser\isNew(), ilObjSurvey\isSurveyStarted(), ilObjSurveyQuestionPool\loadFromDb(), ilObjQuestionPool\loadFromDb(), ilObjSurvey\loadFromDb(), ilObjTest\loadFromDb(), ilIndividualAssessmentSettingsStorageDB\loadInfoSettings(), ilIndividualAssessmentMembersStorageDB\loadMember(), ilIndividualAssessmentMembersStorageDB\loadMembers(), ilIndividualAssessmentMembersStorageDB\loadMembersAsSingleObjects(), ilIndividualAssessmentSettingsStorageDB\loadSettings(), ilObjTest\logAction(), ilObjForum\markAllThreadsRead(), ilObjForum\markPostRead(), ilObjLinkResource\MDUpdateListener(), MDUpdateListener(), ilObjContentObject\MDUpdateListener(), ilObjGlossary\modifyExportIdentifier(), ilStartingPoint\onRoleDeleted(), ilObjSurveyQuestionPool\paste(), ilObjQuestionPool\pasteFromClipboard(), ilObjSurveyQuestionPool\pasteFromClipboard(), ilObjSAHSLearningModule\populateByDirectoy(), ilObjQuestionPool\populateQuestionSkillAssignmentsXml(), ilObjExercise\processExerciseStatus(), ilObjFolder\putInTree(), ilContainer\putInTree(), putInTree(), ilObject2GUI\putObjectInTree(), ilObjectGUI\putObjectInTree(), ilObjLearningSequence\raiseEvent(), ilObjTest\randomSelectQuestions(), ilObjRoleFolder\read(), ilObjSAHSLearningModule\read(), ilObjFileBasedLM\read(), ilObjGlossary\read(), ilObjBookingPool\read(), ilObjMediaPool\read(), ilObjContentObject\read(), ilContainerReference\read(), ilObjFolder\read(), ilObjMediaCast\read(), ilObjExercise\read(), ilObjWiki\read(), ilObjCourse\read(), ilObjSession\read(), ilObjGroup\read(), ilContainer\read(), ilObjStyleSheet\read(), ilContainer\readContainerSettings(), ilObjMediaCast\readItems(), ilObjUser\readMultiTextFields(), ilObjSCORM2004LearningModule\readObject(), ilObjMediaCast\readOrder(), ilObjContentObject\readProperties(), ilObjRoleGUI\readRoleProperties(), ilObjStudyProgramme\readSettings(), ilObjUser\readUserDefinedFields(), ilGlossaryAct\referenceTerms(), ilObjUser\refreshLogin(), ilObjGroup\register(), ilObjCourse\register(), ilObjStudyProgramme\removeAssignment(), ilObjSystemFolder\removeHeaderTitleTranslations(), ilObjStudyProgramme\removeLeaf(), ilIndividualAssessmentMembersStorageDB\removeMembersRecord(), ilObjStudyProgramme\removeNode(), ilObjUser\removeObjectFromClipboard(), ilObjSurvey\removeSelectedSurveyResults(), ilObjTest\removeTestResults(), ilObjRootFolder\removeTranslations(), ilObjOrgUnit\removeTranslations(), ilPersonalProfileGUI\renderCertificateMigration(), ilObjStyleSheet\replaceStylePar(), ilObjUser\resetLastPasswordChange(), ilObjUser\resetOwner(), ilCourseObjectiveResult\resetTestForUser(), shibUser\returnNewLoginName(), ilObjBibliographicGUI\save(), ilObjSurvey\saveAuthorToMetadata(), ilObjTest\saveAuthorToMetadata(), ilObjExercise\saveCertificateVisibility(), ilObjExercise\saveData(), ilObjForum\saveData(), ilObjStyleSheet\saveHideStatus(), ilExAssignment\saveMultiFeedbackFiles(), ilObjMediaCast\saveOrder(), ilObjWiki\saveOrderingAndIndentation(), ilObjSurveyQuestionPool\saveToDb(), ilObjQuestionPool\saveToDb(), ilObjSurvey\saveToDb(), ilObjTest\saveToDb(), ilObjExercise\sendAssignment(), ilObjExercise\sendFeedbackFileNotification(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), ilObjUser\sendPersonalDataFile(), ilCronDeleteInactiveUserReminderMail\sendReminder(), ilObjUser\setDesktopItemParameters(), ilObjSurvey\setInvitation(), ilObjSCORMLearningModule\setLearningProgressSettingsAtUpload(), ilObjOrgUnit\setOrgUnitTypeId(), ilAccountMail\setUser(), ilPasswordAssistanceGUI\submitAssistanceForm(), ilObjCourse\syncMembersStatusWithLP(), ilObjLinkResource\toXML(), ilObjSurveyQuestionPool\toXML(), ilObjSurvey\toXML(), ilTermsOfServiceHelper\trackAcceptance(), ilAccountRegistrationMail\trySendingUserDefinedAccountMail(), ilObjBookingPool\update(), ilObjOrgUnit\update(), ilObjStudyProgramme\update(), ilObjMediaCast\update(), ilContainerReference\update(), ilObjExercise\update(), ilObjWiki\update(), ilObjGlossary\update(), ilObjForum\update(), ilObjSession\update(), ilObjGroup\update(), update(), ilObjSAHSLearningModule\update(), ilContainer\update(), ilObjCourse\update(), ilObjStyleSheet\update(), ilObjStudyProgramme\updateAllAssignments(), ilObjGlossary\updateAutoGlossaries(), ilObjStyleSheet\updateColor(), ilECSAppEventListener\updateEnrolmentStatus(), ilObjForum\updateLastAccess(), ilObjUser\updateLogin(), ilObjQuestionPool\updateMetaData(), updateMetaData(), ilObjForum\updateModeratorRole(), ilObjUser\updateMultiTextFields(), ilObjRole\updateOperationStack(), updateOwner(), ilObjContentObject\updateProperties(), ilObjSCORM2004LearningModule\updateSequencingSettings(), ilObjCourse\updateSettings(), ilObjOrgUnit\updateTranslation(), ilObjUser\updateUserDefinedFields(), ilObjExercise\updateUserStatus(), ilIndividualAssessmentMembers\userAllreadyMember(), ilObjSession\validate(), ilObjContentObject\validatePages(), ilIndividualAssessmentMembers\withAdditionalUser(), ilIndividualAssessmentMembers\withoutPresentUser(), ilObjUser\writeAccepted(), ilObjStyleSheet\writeCSSFile(), ilObjContentObject\writeStyleSheetId(), and ilObjSAHSLearningModule\zipLmForOfflineMode().

321  {
322  return $this->id;
323  }
+ Here is the caller graph for this function:

◆ getImportId()

ilObject::getImportId ( )

get import id

public

Returns
string import id

Definition at line 470 of file class.ilObject.php.

References $import_id.

Referenced by ilSoapUserAdministration\__readUserData(), create(), ilObjectXMLWriter\getXML(), and update().

471  {
472  return $this->import_id;
473  }
+ Here is the caller graph for this function:

◆ getLastUpdateDate()

ilObject::getLastUpdateDate ( )

get last update date public

Returns
string date of last update

Definition at line 621 of file class.ilObject.php.

References $last_update.

Referenced by ilObjectXMLWriter\getXML().

622  {
623  return $this->last_update;
624  }
+ Here is the caller graph for this function:

◆ getLongDescription()

ilObject::getLongDescription ( )

get object long description (stored in object_description)

public

Returns
string object description

Definition at line 459 of file class.ilObject.php.

References $desc.

Referenced by _prepareCloneSelection(), ilObjectDataDeletionLog\add(), create(), createMetaData(), ilObjGroup\prepareAppointments(), ilObjCourse\prepareAppointments(), ilObjSession\prepareCalendarAppointments(), update(), ilContainer\update(), and updateMetaData().

460  {
461  return strlen($this->long_desc) ? $this->long_desc : $this->desc;
462  }
+ Here is the caller graph for this function:

◆ getLongDescriptions()

static ilObject::getLongDescriptions ( array  $a_obj_ids)
static

Get long description data.

Parameters
array$a_obj_ids
Returns
array

Definition at line 2111 of file class.ilObject.php.

References $DIC, $ilDB, $res, and $row.

Referenced by ilContainer\getCompleteDescriptions().

2112  {
2113  global $DIC;
2114 
2115  $ilDB = $DIC->database();
2116 
2117  $res = $ilDB->query("SELECT * FROM object_description" .
2118  " WHERE " . $ilDB->in("obj_id", $a_obj_ids, "", "integer"));
2119  $all = array();
2120  while ($row = $ilDB->fetchAssoc($res)) {
2121  $all[$row["obj_id"]] = $row["description"];
2122  }
2123  return $all;
2124  }
global $DIC
Definition: saml.php:7
foreach($_POST as $key=> $value) $res
$row
global $ilDB
+ Here is the caller graph for this function:

◆ getOfflineStatus()

◆ getOwner()

ilObject::getOwner ( )

get object owner

public

Returns
integer owner id

Definition at line 553 of file class.ilObject.php.

References $owner.

Referenced by ilObjForum\cloneAutoGeneratedRoles(), create(), getOwnerName(), ilObjectXMLWriter\getXML(), ilObjTest\sendAdvancedNotification(), ilObjTest\sendSimpleNotification(), ilObjForum\setPermissions(), and updateOwner().

554  {
555  return $this->owner;
556  }
+ Here is the caller graph for this function:

◆ getOwnerName()

ilObject::getOwnerName ( )

Definition at line 564 of file class.ilObject.php.

References _lookupOwnerName(), and getOwner().

565  {
566  return ilObject::_lookupOwnerName($this->getOwner());
567  }
getOwner()
get object owner
static _lookupOwnerName($a_owner_id)
lookup owner name for owner id
+ Here is the call graph for this function:

◆ getPossibleSubObjects()

ilObject::getPossibleSubObjects (   $a_filter = true)

get all possible subobjects of this type the object can decide which types of subobjects are possible jut in time overwrite if the decision distinguish from standard model

Parameters
booleanfilter disabled objects? ($a_filter = true) public
Returns
array list of allowed object types

Definition at line 2282 of file class.ilObject.php.

2283  {
2284  return $this->objDefinition->getSubObjects($this->type, $a_filter);
2285  }

◆ getPresentationTitle()

ilObject::getPresentationTitle ( )

get presentation title Normally same as title Overwritten for sessions

public

Parameters

Definition at line 385 of file class.ilObject.php.

References getTitle().

386  {
387  return $this->getTitle();
388  }
getTitle()
get object title public
+ Here is the call graph for this function:

◆ getRefId()

ilObject::getRefId ( )

get reference id public

Returns
integer reference id

Definition at line 351 of file class.ilObject.php.

References $ref_id.

Referenced by ilBiblAdminLibraryFacade\__construct(), ilOrgUnitExportGUI\__construct(), ilTestCorrectionsGUI\__construct(), ilObjectDAV\__construct(), ilBiblAdminFactoryFacade\__construct(), ilContainerStartObjectsContentGUI\__construct(), ilSurveyPageGUI\__construct(), ilObjCourse\__getLocalRoles(), ilContainer\_exportContainerSettings(), _prepareCloneSelection(), ilObjSurvey\addAppraisee(), ilObjTest\addExtraTime(), ilObjStudyProgrammeCache\addInstance(), ilObjStudyProgramme\addLeaf(), ilObjStudyProgramme\addNode(), ilObjSurvey\addRater(), ilObjLinkResourceGUI\afterSave(), ilObjMediaCastGUI\afterSave(), ilObjBookingPoolGUI\afterSave(), ilObjExerciseGUI\afterSave(), ilContainerReferenceGUI\afterSave(), ilObjSurveyGUI\afterSave(), ilObjOrgUnitGUI\afterSave(), ilObjFolderGUI\afterSave(), ilObjectPluginGUI\afterSave(), ilObjWikiGUI\afterSave(), ilObjStudyProgrammeGUI\afterSave(), ilObjIndividualAssessmentGUI\afterSave(), ilObjMediaPoolGUI\afterSave(), ilObjGroupGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), ilObjCategoryGUI\afterSave(), ilObjSurveyQuestionPoolGUI\afterSave(), ilObjQuestionPoolGUI\afterSave(), ilObjTestGUI\afterSave(), ilObjForumGUI\afterSave(), ilObjContentObjectGUI\afterSave(), ilObjCourseGUI\afterSave(), ilObjItemGroupGUI\afterSaveCallback(), ilObjSessionGUI\afterSaveCallback(), ilObjLearningSequence\announceLSOOnline(), applyDidacticTemplate(), ilObjGroup\applyDidacticTemplate(), ilObjOrgUnit\assignUsersToEmployeeRole(), ilObjOrgUnit\assignUsersToSuperiorRole(), ilObjOrgUnit\assignUserToLocalRole(), ilObjGlossary\autoLinkGlossaryTerms(), ilObjTest\buildStatisticsAccessFilteredParticipantList(), ilObjSurvey\checkReminder(), ilObjLearningSequence\cloneAutoGeneratedRoles(), ilObjForum\cloneAutoGeneratedRoles(), ilObjGroup\cloneAutoGeneratedRoles(), ilObjCourse\cloneAutoGeneratedRoles(), ilObjFolder\cloneDependencies(), ilContainer\cloneDependencies(), ilObjGroup\cloneDependencies(), ilObjCourse\cloneDependencies(), cloneDependencies(), ilObjGroup\cloneObject(), ilObjGlossary\cloneObject(), ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), ilObjContentObject\copyAllPagesAndChapters(), ilGlossaryAct\copyTerm(), countReferences(), ilObjChatroom\createDefaultRole(), ilDidacticTemplateLocalPolicyAction\createLocalPolicy(), ilObjTest\createRandomSolutions(), ilObjRoleFolder\createRole(), ilObjWiki\createWikiPage(), ilObjOrgUnit\deassignUserFromEmployeeRole(), ilObjOrgUnit\deassignUserFromLocalRole(), ilObjOrgUnit\deassignUserFromSuperiorRole(), ilObjWiki\decorateAdvMDValue(), ilObjRoleFolder\delete(), ilObjLearningSequence\delete(), ilObjOrgUnit\delete(), ilObjLearningSequence\deletePostConditionsForSubObjects(), ilObjSurvey\disinviteUser(), ilObjFolder\downloadFolder(), ilObjExercise\exportGradesExcel(), ilDidacticTemplateAction\filterRoles(), ilStudyProgrammeExpandableProgressListGUI\getAccordionContentCoursesHTML(), ilObjGlossary\getAllGlossaryIds(), ilObjStudyProgramme\getChildren(), ilObjStudyProgramme\getCompletedCourses(), ilObjLearningSequence\getCurrentItemForLearner(), ilObjGroup\getDefaultAdminRole(), ilObjCourse\getDefaultAdminRole(), ilObjCourse\getDefaultCourseRoles(), ilObjGroup\getDefaultGroupRoles(), ilObjGroup\getDefaultMemberRole(), ilObjCourse\getDefaultTutorRole(), ilObjTest\getEvaluationAdditionalFields(), ilObjGroup\getGroupAdminIds(), ilObjCourse\getLocalCourseRoles(), ilObjGroup\getLocalGroupRoles(), ilObjStudyProgramme\getLPChildren(), ilObjLearningSequence\getLSActivation(), ilObjLearningSequence\getLSItems(), ilObjLearningSequence\getLSLearnerItems(), ilIndividualAssessmentAccessHandler\getMemberRoleIdForObj(), ilObjSurvey\getNotificationTargetUserIds(), ilObjStudyProgramme\getParent(), ilObjStudyProgramme\getParentId(), ilIndividualAssessmentAccessHandler\getRoleTitleByObj(), ilObjLearningSequence\getSequencePlayer(), ilContainer\getSubItems(), ilObjSurvey\getSurveyCodesForExport(), ilObjSurvey\getSurveyCodesTableData(), ilObjGlossary\getTermList(), ilObjectXMLWriter\getXML(), ilObjGroup\handleAutoFill(), ilObjCourse\handleAutoFill(), ilObjectGUI\handleAutoRating(), ilObjMediaCast\handleLPUpdate(), ilObjContentObject\importFromDirectory(), ilObjCloudGUI\initCreateForm(), ilObjSession\initDefaultRoles(), ilObjForum\initDefaultRoles(), ilObjGroup\initDefaultRoles(), ilObjCourse\initDefaultRoles(), ilIndividualAssessmentAccessHandler\initDefaultRolesForObject(), ilObjGroup\initGroupStatus(), ilObjSurvey\inviteUser(), ilObjRoleFolder\isDeleted(), ilObjGroup\leaveGroup(), ilOrgUnitExportGUI\listExportFiles(), ilObjTest\logAction(), MDUpdateListener(), ilObjStudyProgramme\moveTo(), ilObjSAHSLearningModule\populateByDirectoy(), ilObjCourse\prepareAppointments(), ilObjRoleFolder\purge(), ilObjFolder\putInTree(), putInTree(), ilObject2GUI\putObjectInTree(), ilObjectGUI\putObjectInTree(), ilObjLearningSequence\read(), ilObjGroup\readGroupStatus(), ilGlossaryAct\referenceTerms(), ilObjCourse\register(), ilTestRandomQuestionSetConfig\registerClonedSourcePoolDefinitionIdMapping(), ilObjStudyProgramme\removeNode(), ilDidacticTemplateLocalPolicyAction\revertLocalPolicy(), ilObjSurvey\send360ReminderToUser(), ilObjSurvey\sendAppraiseeCloseNotification(), ilObjSurvey\sendAppraiseeNotification(), ilObjExercise\sendAssignment(), ilObjSurvey\sendCodes(), ilObjSCORMLearningModule\sendExportFile(), ilObjExercise\sendFeedbackFileNotification(), ilExAssignment\sendMultiFeedbackStructureFile(), ilObjSurvey\sendNotificationMail(), ilObjSurvey\sendRaterNotification(), ilObjSurvey\sendTutorNotification(), ilObjLearningSequence\setEffectiveOnlineStatus(), setParentRolePermissions(), ilObjGroup\setParentRolePermissions(), ilObjCourse\setParentRolePermissions(), ilObjForum\setPermissions(), ilObjForum\update(), update(), ilLOEditorGUI\updateMaterialAssignments(), ilObjLearningSequence\userMayJoin(), ilObjLearningSequence\userMayUnparticipate(), ilObjSession\validate(), and ilObjOrgUnit\writePath().

352  {
353  return $this->ref_id;
354  }
+ Here is the caller graph for this function:

◆ getTitle()

ilObject::getTitle ( )

get object title public

Returns
string object title

Definition at line 396 of file class.ilObject.php.

References $title.

Referenced by ilObjLearningSequenceSettingsGUI\__construct(), _prepareCloneSelection(), ilObjectDataDeletionLog\add(), ilObjFileBasedLMGUI\afterSave(), appendCopyInfo(), ilObjStudyProgrammeSettingsGUI\buildForm(), ilObjSurvey\checkReminder(), ilObjMediaPool\cloneObject(), countReferences(), create(), ilContainer\create(), createMetaData(), ilObjTest\deliverPDFfromFO(), ilObjTest\deliverPDFfromHTML(), ilObjFolder\downloadFolder(), ilObjExercise\exportGradesExcel(), ilObjSCORM2004LearningModule\exportHTML(), ilObjSCORMLearningModule\exportSelected(), ilIndividualAssessmentSettingsGUI\fillForm(), ilTermUsagesTableGUI\fillRow(), ilStudyProgrammeExpandableProgressListGUI\getAccordionContentCoursesHTML(), ilObjRoleTemplate\getFilterOfInternalTemplate(), ilObjRole\getPresentationTitle(), ilObjSession\getPresentationTitle(), ilContainerReference\getPresentationTitle(), getPresentationTitle(), ilObjSession\getPresentationTitleAppointmentPeriod(), ilObjLearningSequence\getSequencePlayer(), ilObjTest\getTitleFilenameCompliant(), ilStudyProgrammeIndividualPlanProgressListGUI\getTitleForItem(), ilStudyProgrammeProgressListGUI\getTitleForItem(), ilObjectXMLWriter\getXML(), ilObjStyleSheet\getXML(), ilObjCourse\handleAutoFill(), ilObjStyleSheet\ilClone(), ilObjSurvey\isComplete(), ilObjRoleTemplate\isInternalTemplate(), ilObjGroup\prepareAppointments(), ilObjCourse\prepareAppointments(), ilObjSession\prepareCalendarAppointments(), putInTree(), ilObjRoleFolder\read(), ilObjRoleGUI\readRoleProperties(), ilObjGroup\register(), ilObjForum\saveData(), ilObjSurvey\send360ReminderToUser(), ilObjTest\sendAdvancedNotification(), ilObjSurvey\sendAppraiseeCloseNotification(), ilObjSurvey\sendAppraiseeNotification(), ilObjExercise\sendAssignment(), ilObjSurvey\sendRaterNotification(), ilObjTest\sendSimpleNotification(), ilObjSurvey\sendTutorNotification(), ilObjSurveyQuestionPool\toXML(), ilObjSurvey\toXML(), ilObjTest\toXML(), ilObjForum\update(), update(), ilContainer\update(), updateMetaData(), ilObjRole\validate(), ilObjGroup\validate(), and ilObjCourse\validate().

397  {
398  return $this->title;
399  }
+ Here is the caller graph for this function:

◆ getType()

ilObject::getType ( )

get object type public

Returns
string object type

Definition at line 361 of file class.ilObject.php.

References $type.

Referenced by ilObjectXMLWriter\__appendObjectProperties(), ilCertificateCloneAction\__construct(), ilObjectXMLWriter\__getAccessInfo(), _prepareCloneSelection(), ilObjectDataDeletionLog\add(), appendCopyInfo(), ilObjContentObject\autoLinkGlossaryTerms(), ilObjTest\cleanupMediaobjectUsage(), cloneMetaData(), ilObjSurveyQuestionPool\cloneObject(), ilObjQuestionPool\cloneObject(), countReferences(), ilCertificateFactory\create(), ilCertificateGUIFactory\create(), ilObjGlossary\createExportDirectory(), ilStudyProgramme\createForObject(), ilObjMediaObject\createMetaData(), createMetaData(), ilObjContentObject\createProperties(), ilObjExternalFeed\delete(), ilObjMediaObject\deleteMetaData(), deleteMetaData(), ilTestRandomQuestionSetPoolDeriver\duplicateTaxonomies(), ilObjContentObject\executeDragDrop(), ilObjGlossary\exportHTML(), ilObjContentObject\exportHTML(), ilObjContentObject\exportHTMLPages(), ilObjContentObject\exportSCORM(), ilObjMediaPool\exportXML(), ilObjContentObject\exportXML(), ilObjQuestionPool\exportXMLMetaData(), ilObjGlossary\exportXMLMetaData(), ilObjSCORM2004LearningModule\exportXMLMetaData(), ilObjContentObject\exportXMLMetaData(), ilObjTest\exportXMLMetaData(), ilObjContentObject\exportXMLPageObjects(), ilObjSurvey\getAuthor(), ilObjTest\getAuthor(), ilObjGlossary\getExportDirectory(), ilObjQuestionPool\getExportDirectory(), ilObjGlossary\getExportFiles(), ilObjSCORM2004LearningModule\getExportFiles(), ilObjExternalFeed\getFeedBlock(), ilContainer\getGroupedObjTypes(), ilECSObjectSettings\getInstanceByObject(), ilObjStudyProgramme\getRawSettings(), ilKioskModeService\getViewFor(), ilObjectXMLWriter\getXML(), ilObjMediaObject\getXML(), ilObjectGUI\handleAutoRating(), ilObjMediaObject\handleQuotaUpdate(), ilObjStyleSheet\ilClone(), ilObjContentObject\importFromDirectory(), ilObjLinkResource\MDUpdateListener(), ilObjMediaObject\MDUpdateListener(), MDUpdateListener(), ilObjContentObject\MDUpdateListener(), putInTree(), ilObjMediaCast\readItems(), ilObjContentObject\readProperties(), ilObjSurvey\saveAuthorToMetadata(), ilObjTest\saveAuthorToMetadata(), setParentRolePermissions(), ilObjGroup\setParentRolePermissions(), supportsOfflineHandling(), ilObjSurveyQuestionPool\toXML(), ilObjSurvey\toXML(), update(), ilObjGroup\updateGroupType(), ilObjQuestionPool\updateMetaData(), ilObjMediaObject\updateMetaData(), updateMetaData(), ilObjContentObject\updateProperties(), and ilObjContentObject\validatePages().

362  {
363  return $this->type;
364  }
+ Here is the caller graph for this function:

◆ getUntranslatedTitle()

ilObject::getUntranslatedTitle ( )

get untranslated object title public

Returns
string object title

Definition at line 406 of file class.ilObject.php.

References $untranslatedTitle.

407  {
409  }

◆ getXMLZip()

ilObject::getXMLZip ( )

Definition at line 1715 of file class.ilObject.php.

1716  {
1717  return false;
1718  }

◆ hasAutoRating()

static ilObject::hasAutoRating (   $a_type,
  $a_ref_id 
)
static

Check if auto rating is active for parent group/course.

Parameters
string$a_type
int$a_ref_id
Returns
bool

Definition at line 2243 of file class.ilObject.php.

References $a_type, $DIC, $tree, ilContainer\_lookupContainerSetting(), _lookupObjId(), and ilObjectServiceSettingsGUI\AUTO_RATING_NEW_OBJECTS.

Referenced by ilObjWikiGUI\getSettingsFormValues(), and ilObjectGUI\handleAutoRating().

2244  {
2245  global $DIC;
2246 
2247  $tree = $DIC->repositoryTree();
2248 
2249  if (!$a_ref_id ||
2250  !in_array($a_type, array("file", "lm", "wiki"))) {
2251  return false;
2252  }
2253 
2254  // find parent container
2255  $parent_ref_id = $tree->checkForParentType($a_ref_id, "grp");
2256  if (!$parent_ref_id) {
2257  $parent_ref_id = $tree->checkForParentType($a_ref_id, "crs");
2258  }
2259  if ($parent_ref_id) {
2260  include_once './Services/Object/classes/class.ilObjectServiceSettingsGUI.php';
2261 
2262  // get auto rate setting
2263  $parent_obj_id = ilObject::_lookupObjId($parent_ref_id);
2265  $parent_obj_id,
2267  false
2268  );
2269  }
2270  return false;
2271  }
global $DIC
Definition: saml.php:7
$a_type
Definition: workflow.php:92
static _lookupObjId($a_id)
static _lookupContainerSetting($a_id, $a_keyword, $a_default_value=null)
Lookup a container setting.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initDefaultRoles()

ilObject::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 If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public

Returns
array empty array

Definition at line 1638 of file class.ilObject.php.

Referenced by setPermissions().

1639  {
1640  return array();
1641  }
+ Here is the caller graph for this function:

◆ isUserRegistered()

ilObject::isUserRegistered (   $a_user_id = 0)

Definition at line 1704 of file class.ilObject.php.

1705  {
1706  return false;
1707  }

◆ lookupOfflineStatus()

static ilObject::lookupOfflineStatus (   $a_obj_id)
static

Lookup offline status using objectDataCache.

Parameters
$a_obj_id
Returns
null | bool

Definition at line 1006 of file class.ilObject.php.

References $DIC.

Referenced by ilObjContentObjectAccess\_checkAccess(), ilObjectAccess\_isOffline(), ilObjTestAccess\_isOffline(), ilAccess\doPathCheck(), LSItemOnlineStatus\getOnlineStatus(), ilObjCourseListGUI\getProperties(), ilObjSurveyListGUI\getProperties(), and ilObjectListGUI\getProperties().

1007  {
1008  global $DIC;
1009 
1010  return $DIC['ilObjDataCache']->lookupOfflineStatus($a_obj_id);
1011  }
global $DIC
Definition: saml.php:7
+ Here is the caller graph for this function:

◆ MDUpdateListener()

ilObject::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.

Parameters
string$a_element

Definition at line 809 of file class.ilObject.php.

References $DIC, $id, getId(), getRefId(), getType(), setDescription(), setTitle(), and update().

810  {
811  global $DIC;
812 
813  $app_event = $DIC->event();
814 
815  include_once 'Services/MetaData/classes/class.ilMD.php';
816 
817  $app_event->raise(
818  'Services/Object',
819  'update',
820  array('obj_id' => $this->getId(),
821  'obj_type' => $this->getType(),
822  'ref_id' => $this->getRefId())
823  );
824 
825  switch ($a_element) {
826  case 'General':
827 
828  // Update Title and description
829  $md = new ilMD($this->getId(), 0, $this->getType());
830  if (!is_object($md_gen = $md->getGeneral())) {
831  return false;
832  }
833  $this->setTitle($md_gen->getTitle());
834 
835  foreach ($md_gen->getDescriptionIds() as $id) {
836  $md_des = $md_gen->getDescription($id);
837  $this->setDescription($md_des->getDescription());
838  break;
839  }
840  $this->update();
841  break;
842 
843  default:
844  }
845 
846  return true;
847  }
global $DIC
Definition: saml.php:7
setTitle($a_title)
set object title
getId()
get object id public
getType()
get object type public
getRefId()
get reference id public
setDescription($a_desc)
set object description
update()
update object in db
+ Here is the call graph for this function:

◆ putInTree()

ilObject::putInTree (   $a_parent_ref)

maybe this method should be in tree object!?

Todo:
role/rbac stuff
Parameters
int$a_parent_refRef-ID of the parent object

Definition at line 1367 of file class.ilObject.php.

References $app_event_handler, $ilLog, $log, $tree, getId(), getRefId(), getTitle(), and getType().

Referenced by ilOerHarvester\harvestObject(), ilObject2GUI\putObjectInTree(), and ilObjectGUI\putObjectInTree().

1368  {
1369  $tree = $this->tree;
1370  $ilLog = $this->log;
1371  $ilAppEventHandler = $this->app_event_handler;
1372 
1373  $tree->insertNode($this->getRefId(), $a_parent_ref);
1374 
1375  // write log entry
1376  $ilLog->write("ilObject::putInTree(), parent_ref: $a_parent_ref, ref_id: " .
1377  $this->getRefId() . ", obj_id: " . $this->getId() . ", type: " .
1378  $this->getType() . ", title: " . $this->getTitle());
1379 
1380  $ilAppEventHandler->raise(
1381  'Services/Object',
1382  'putObjectInTree',
1383  array(
1384  'object' => $this,
1385  'obj_type' => $this->getType(),
1386  'obj_id' => $this->getId(),
1387  'parent_ref_id' => $a_parent_ref,
1388  )
1389  );
1390  }
getId()
get object id public
getTitle()
get object title public
getType()
get object type public
getRefId()
get reference id public
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

ilObject::read ( )

read object data from db into object

Parameters
booleanpublic

Definition at line 198 of file class.ilObject.php.

References $db, $DIC, $error, $ilDB, $ilErr, $ilLog, $ilUser, $log, $message, $objDefinition, $query, $r, $res, $row, ilDBConstants\FETCHMODE_OBJECT, setDescription(), and setOfflineStatus().

Referenced by __construct().

199  {
200  global $DIC;
201 
203  $ilDB = $this->db;
204  $ilLog = $this->log;
206  try {
207  $ilUser = $DIC["ilUser"];
208  } catch (\InvalidArgumentException $e) {
209  }
210 
211  if ($this->referenced) {
212  // check reference id
213  if (!isset($this->ref_id)) {
214  $message = "ilObject::read(): No ref_id given! (" . $this->type . ")";
215  $ilErr->raiseError($message, $ilErr->WARNING);
216  }
217 
218  // read object data
219 
220  $q = "SELECT * FROM object_data, object_reference WHERE object_data.obj_id=object_reference.obj_id " .
221  "AND object_reference.ref_id= " . $ilDB->quote($this->ref_id, "integer");
222  $object_set = $ilDB->query($q);
223 
224  // check number of records
225  if ($ilDB->numRows($object_set) == 0) {
226  $message = "ilObject::read(): Object with ref_id " . $this->ref_id . " not found! (" . $this->type . ")";
227  $ilErr->raiseError($message, $ilErr->WARNING);
228  }
229 
230  $obj = $ilDB->fetchAssoc($object_set);
231  } else {
232  // check object id
233  if (!isset($this->id)) {
234  $message = "ilObject::read(): No obj_id given! (" . $this->type . ")";
235  $ilErr->raiseError($message, $ilErr->WARNING);
236  }
237 
238  // read object data
239  $q = "SELECT * FROM object_data " .
240  "WHERE obj_id = " . $ilDB->quote($this->id, "integer");
241  $object_set = $ilDB->query($q);
242 
243  // check number of records
244  if ($ilDB->numRows($object_set) == 0) {
245  include_once("./Services/Object/exceptions/class.ilObjectNotFoundException.php");
246  throw new ilObjectNotFoundException("ilObject::read(): Object with obj_id: " . $this->id .
247  " (" . $this->type . ") not found!");
248  return;
249  }
250 
251  $obj = $ilDB->fetchAssoc($object_set);
252  }
253 
254  $this->id = $obj["obj_id"];
255 
256  // check type match (the "xxx" type is used for the unit test)
257  if ($this->type != $obj["type"] && $obj["type"] != "xxx") {
258  $message = "ilObject::read(): Type mismatch. Object with obj_id: " . $this->id . " " .
259  "was instantiated by type '" . $this->type . "'. DB type is: " . $obj["type"];
260 
261  // write log entry
262  $ilLog->write($message);
263 
264  // raise error
265  include_once("./Services/Object/exceptions/class.ilObjectTypeMismatchException.php");
267  return;
268  }
269 
270  $this->type = $obj["type"];
271  $this->title = $obj["title"];
272  // BEGIN WebDAV: WebDAV needs to access the untranslated title of an object
273  $this->untranslatedTitle = $obj["title"];
274  // END WebDAV: WebDAV needs to access the untranslated title of an object
275  $this->desc = $obj["description"];
276  $this->owner = $obj["owner"];
277  $this->create_date = $obj["create_date"];
278  $this->last_update = $obj["last_update"];
279  $this->import_id = $obj["import_id"];
280 
281  $this->setOfflineStatus($obj['offline']);
282 
283  if ($objDefinition->isRBACObject($this->getType())) {
284  // Read long description
285  $query = "SELECT * FROM object_description WHERE obj_id = " . $ilDB->quote($this->id, 'integer');
286  $res = $ilDB->query($query);
287  while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
288  if (strlen($row->description)) {
289  $this->setDescription($row->description);
290  }
291  }
292  }
293 
294  // multilingual support systemobjects (sys) & categories (db)
295  $translation_type = $objDefinition->getTranslationType($this->type);
296 
297  if ($translation_type == "sys") {
298  $this->title = $this->lng->txt("obj_" . $this->type);
299  $this->setDescription($this->lng->txt("obj_" . $this->type . "_desc"));
300  } elseif ($translation_type == "db") {
301  $q = "SELECT title,description FROM object_translation " .
302  "WHERE obj_id = " . $ilDB->quote($this->id, 'integer') . " " .
303  "AND lang_code = " . $ilDB->quote($ilUser->getCurrentLanguage(), 'text') . " " .
304  "AND NOT lang_default = 1";
305  $r = $ilDB->query($q);
307  if ($row) {
308  $this->title = $row->title;
309  $this->setDescription($row->description);
310  #$this->desc = $row->description;
311  }
312  }
313  }
global $DIC
Definition: saml.php:7
$ilErr
Definition: raiseError.php:18
$r
Definition: example_031.php:79
catch(Exception $e) $message
foreach($_POST as $key=> $value) $res
$ilUser
Definition: imgupload.php:18
$query
$row
setOfflineStatus($a_status)
Set offline status.
global $ilDB
setDescription($a_desc)
set object description
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ requireRegistration()

ilObject::requireRegistration ( )

Definition at line 1709 of file class.ilObject.php.

References $register.

1710  {
1711  return $this->register;
1712  }

◆ setDeletedDates()

static ilObject::setDeletedDates (   $a_ref_ids)
static

Set deleted date.

Parameters
type$a_ref_ids
Returns
type

Definition at line 1135 of file class.ilObject.php.

References $DIC, $ilDB, $log, and $query.

Referenced by ilTree\moveToTrash().

1136  {
1137  global $DIC;
1138 
1139  $ilDB = $DIC->database();
1140  $log = $DIC->logger()->root();
1141 
1142  $query = 'UPDATE object_reference SET deleted = ' . $ilDB->now() . ' ' .
1143  'WHERE ' . $ilDB->in('ref_id', (array) $a_ref_ids, false, 'integer');
1144 
1145  $log->debug(__METHOD__ . ': Query is ' . $query);
1146  $ilDB->manipulate($query);
1147  return;
1148  }
global $DIC
Definition: saml.php:7
$query
global $ilDB
+ Here is the caller graph for this function:

◆ setDescription()

ilObject::setDescription (   $a_desc)

set object description

public

Parameters
string$a_descobject description

Definition at line 443 of file class.ilObject.php.

References ilUtil\shortenText().

Referenced by ilObjWikiGUI\afterSave(), ilObjRole\assignData(), shibUser\createFields(), ilObjTest\fromXML(), ilObjLanguage\install(), ilObjRoleGUI\loadRoleProperties(), MDUpdateListener(), ilObjRoleFolder\read(), read(), ilObjLanguage\refresh(), ilObjLanguageExt\setLocal(), ilObjLanguage\uninstall(), shibUser\updateFields(), and ilObjStudyProgrammeSettingsGUI\updateWith().

444  {
445  // Shortened form is storted in object_data. Long form is stored in object_description
446  $this->desc = ilUtil::shortenText($a_desc, $this->max_desc, $this->add_dots);
447 
448  $this->long_desc = $a_desc;
449 
450  return true;
451  }
static shortenText( $a_str, $a_len, $a_dots=false, $a_next_blank=false, $a_keep_extension=false)
shorten a string to given length.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setId()

ilObject::setId (   $a_id)

set object id public

Parameters
integer$a_idobject id

Definition at line 330 of file class.ilObject.php.

Referenced by ilObjUser\__construct().

331  {
332  $this->id = $a_id;
333  }
+ Here is the caller graph for this function:

◆ setImportId()

ilObject::setImportId (   $a_import_id)

set import id

public

Parameters
string$a_import_idimport id

Definition at line 481 of file class.ilObject.php.

Referenced by ilCategoryImportParser\handlerBeginTag().

482  {
483  $this->import_id = $a_import_id;
484  }
+ Here is the caller graph for this function:

◆ setOfflineStatus()

ilObject::setOfflineStatus (   $a_status)

Set offline status.

Parameters
bool$a_status

Definition at line 506 of file class.ilObject.php.

Referenced by ilObjFileBasedLM\__construct(), ilObjCourse\__readSettings(), ilObjCourse\cloneObject(), ilObjContentObject\create(), ilObjSurvey\create(), ilObjTest\create(), ilTestImporter\importSkillLevelThresholds(), and read().

507  {
508  $this->offline = $a_status;
509  }
+ Here is the caller graph for this function:

◆ setOwner()

ilObject::setOwner (   $a_owner)

set object owner

public

Parameters
integer$a_ownerowner id

Definition at line 599 of file class.ilObject.php.

Referenced by create(), and ilObjUser\setActive().

600  {
601  $this->owner = $a_owner;
602  }
+ Here is the caller graph for this function:

◆ setParentRolePermissions()

ilObject::setParentRolePermissions (   $a_parent_ref)

Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates.

Definition at line 1408 of file class.ilObject.php.

References $DIC, $rbacadmin, $rbacreview, getRefId(), and getType().

Referenced by setPermissions().

1409  {
1410  global $DIC;
1411 
1412  $rbacadmin = $DIC["rbacadmin"];
1413  $rbacreview = $DIC["rbacreview"];
1414 
1415  $parent_roles = $rbacreview->getParentRoleIds($a_parent_ref);
1416  foreach ((array) $parent_roles as $parent_role) {
1417  $operations = $rbacreview->getOperationsOfRole(
1418  $parent_role['obj_id'],
1419  $this->getType(),
1420  $parent_role['parent']
1421  );
1422  $rbacadmin->grantPermission(
1423  $parent_role['obj_id'],
1424  $operations,
1425  $this->getRefId()
1426  );
1427  }
1428  return true;
1429  }
global $DIC
Definition: saml.php:7
getType()
get object type public
getRefId()
get reference id public
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPermissions()

ilObject::setPermissions (   $a_parent_ref)

set permissions of object

Parameters
integerreference_id of parent object public

Definition at line 1398 of file class.ilObject.php.

References initDefaultRoles(), and setParentRolePermissions().

Referenced by ilOerHarvester\harvestObject(), ilObject2GUI\putObjectInTree(), and ilObjectGUI\putObjectInTree().

1399  {
1400  $this->setParentRolePermissions($a_parent_ref);
1401  $this->initDefaultRoles();
1402  }
initDefaultRoles()
init default roles settings Purpose of this function is to create a local role folder and local roles...
setParentRolePermissions($a_parent_ref)
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setRefId()

ilObject::setRefId (   $a_id)

set reference id public

Parameters
integer$a_idreference id

Definition at line 340 of file class.ilObject.php.

341  {
342  $this->ref_id = $a_id;
343  $this->referenced = true;
344  }

◆ setRegisterMode()

ilObject::setRegisterMode (   $a_bool)

Definition at line 1697 of file class.ilObject.php.

Referenced by ilObjGroup\__construct().

1698  {
1699  $this->register = (bool) $a_bool;
1700  }
+ Here is the caller graph for this function:

◆ setTitle()

ilObject::setTitle (   $a_title)

set object title

public

Parameters
string$a_titleobject title

Definition at line 418 of file class.ilObject.php.

References $title, and ilUtil\shortenText().

Referenced by ilContainerReferenceGUI\afterSave(), ilObjWikiGUI\afterSave(), ilObjRole\assignData(), shibUser\createFields(), ilObjTest\fromXML(), ilObjRoleGUI\loadRoleProperties(), MDUpdateListener(), ilObjRoleFolder\read(), ilObjLanguage\refresh(), ilIndividualAssessmentSettingsTest\setUpBeforeClass(), ilObjLanguage\uninstall(), shibUser\updateFields(), and ilObjStudyProgrammeSettingsGUI\updateWith().

419  {
420  $this->title = ilUtil::shortenText($a_title, $this->max_title, $this->add_dots);
421  // BEGIN WebDAV: WebDAV needs to access the untranslated title of an object
422  $this->untranslatedTitle = $this->title;
423  // END WebDAV: WebDAV needs to access the untranslated title of an object
424  }
static shortenText( $a_str, $a_len, $a_dots=false, $a_next_blank=false, $a_keep_extension=false)
shorten a string to given length.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setType()

ilObject::setType (   $a_type)

set object type public

Parameters
integer$a_typeobject type

Definition at line 371 of file class.ilObject.php.

References $a_type.

372  {
373  $this->type = $a_type;
374  }
$a_type
Definition: workflow.php:92

◆ supportsOfflineHandling()

ilObject::supportsOfflineHandling ( )

Check whether object supports offline handling.

Returns
bool

Definition at line 524 of file class.ilObject.php.

References $DIC, and getType().

Referenced by _prepareCloneSelection(), create(), and update().

525  {
526  global $DIC;
527 
528  return (bool) $DIC['objDefinition']->supportsOfflineHandling($this->getType());
529  }
global $DIC
Definition: saml.php:7
getType()
get object type public
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update()

ilObject::update ( )

update object in db

public

Returns
boolean true on success

Definition at line 743 of file class.ilObject.php.

References $db, $DIC, $ilDB, $objDefinition, $res, $values, getDescription(), getId(), getImportId(), getLongDescription(), getOfflineStatus(), getRefId(), getTitle(), getType(), and supportsOfflineHandling().

Referenced by ilObjBookingPoolGUI\afterSave(), ilContainerReferenceGUI\afterSave(), ilObjWikiGUI\afterSave(), ilObjFileBasedLMGUI\afterSave(), ilObjGroupGUI\afterSave(), ilObjContentObjectGUI\afterSave(), ilObjCourseGUI\afterSave(), ilObjUser\assignData(), ilObjSurvey\create(), ilECSAppEventListener\extendAccount(), ilObjectGUI\handleAutoRating(), ilObjCloudGUI\initCreateForm(), ilObjLanguage\install(), MDUpdateListener(), ilObjLanguage\refresh(), ilObjUser\removeUserPicture(), ilObjLanguageExt\setLocal(), ilPasswordAssistanceGUI\submitAssignPasswordForm(), and ilObjLanguage\uninstall().

744  {
745  global $DIC;
746 
747  $app_event = $DIC->event();
748 
750  $ilDB = $this->db;
751 
752  $q = "UPDATE object_data " .
753  "SET " .
754  "title = " . $ilDB->quote($this->getTitle(), "text") . "," .
755  "description = " . $ilDB->quote($this->getDescription(), "text") . ", " .
756  'offline = ' . $ilDB->quote($this->supportsOfflineHandling() ? $this->getOfflineStatus() : null, 'integer') . ', ' .
757  "import_id = " . $ilDB->quote($this->getImportId(), "text") . "," .
758  "last_update = " . $ilDB->now() . " " .
759  "WHERE obj_id = " . $ilDB->quote($this->getId(), "integer");
760  $ilDB->manipulate($q);
761 
762  // the line ($this->read();) messes up meta data handling: meta data,
763  // that is not saved at this time, gets lost, so we query for the dates alone
764  //$this->read();
765  $q = "SELECT last_update FROM object_data" .
766  " WHERE obj_id = " . $ilDB->quote($this->getId(), "integer");
767  $obj_set = $ilDB->query($q);
768  $obj_rec = $ilDB->fetchAssoc($obj_set);
769  $this->last_update = $obj_rec["last_update"];
770 
771  if ($objDefinition->isRBACObject($this->getType())) {
772  // Update long description
773  $res = $ilDB->query("SELECT * FROM object_description WHERE obj_id = " .
774  $ilDB->quote($this->getId(), 'integer'));
775  if ($res->numRows()) {
776  $values = array(
777  'description' => array('clob',$this->getLongDescription())
778  );
779  $ilDB->update('object_description', $values, array('obj_id' => array('integer',$this->getId())));
780  } else {
781  $values = array(
782  'description' => array('clob',$this->getLongDescription()),
783  'obj_id' => array('integer',$this->getId()));
784  $ilDB->insert('object_description', $values);
785  }
786  }
787  $app_event->raise(
788  'Services/Object',
789  'update',
790  array('obj_id' => $this->getId(),
791  'obj_type' => $this->getType(),
792  'ref_id' => $this->getRefId())
793  );
794 
795  return true;
796  }
supportsOfflineHandling()
Check whether object supports offline handling.
global $DIC
Definition: saml.php:7
getOfflineStatus()
Get offline status.
foreach($_POST as $key=> $value) $res
getId()
get object id public
$values
getTitle()
get object title public
getDescription()
get object description
getImportId()
get import id
getType()
get object type public
global $ilDB
getLongDescription()
get object long description (stored in object_description)
getRefId()
get reference id public
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateMetaData()

ilObject::updateMetaData ( )

update meta data entry

Definition at line 875 of file class.ilObject.php.

References createMetaData(), getId(), getLongDescription(), getTitle(), and getType().

Referenced by ilObjFileBasedLM\update(), ilObjLinkResource\update(), ilObjSurveyQuestionPool\update(), ilObjSurvey\update(), ilObjContentObject\update(), ilObjGlossary\update(), ilObjSession\update(), ilObjTest\update(), ilObjSAHSLearningModule\update(), and ilObjCourse\update().

876  {
877  $md = new ilMD($this->getId(), 0, $this->getType());
878  $md_gen = $md->getGeneral();
879  // BEGIN WebDAV: meta data can be missing sometimes.
880  if (!$md_gen instanceof ilMDGeneral) {
881  $this->createMetaData();
882  $md = new ilMD($this->getId(), 0, $this->getType());
883  $md_gen = $md->getGeneral();
884  }
885  // END WebDAV: meta data can be missing sometimes.
886  $md_gen->setTitle($this->getTitle());
887 
888  // sets first description (maybe not appropriate)
889  $md_des_ids = $md_gen->getDescriptionIds();
890  if (count($md_des_ids) > 0) {
891  $md_des = $md_gen->getDescription($md_des_ids[0]);
892  $md_des->setDescription($this->getLongDescription());
893  $md_des->update();
894  }
895  $md_gen->update();
896  }
createMetaData()
create meta data entry
getId()
get object id public
getTitle()
get object title public
getType()
get object type public
getLongDescription()
get object long description (stored in object_description)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateOwner()

ilObject::updateOwner ( )

update owner of object in db

public

Returns
boolean true on success

Definition at line 915 of file class.ilObject.php.

References $db, $ilDB, getId(), and getOwner().

916  {
917  $ilDB = $this->db;
918 
919  $q = "UPDATE object_data " .
920  "SET " .
921  "owner = " . $ilDB->quote($this->getOwner(), "integer") . ", " .
922  "last_update = " . $ilDB->now() . " " .
923  "WHERE obj_id = " . $ilDB->quote($this->getId(), "integer");
924  $ilDB->manipulate($q);
925 
926  $q = "SELECT last_update FROM object_data" .
927  " WHERE obj_id = " . $ilDB->quote($this->getId(), "integer");
928  $obj_set = $ilDB->query($q);
929  $obj_rec = $ilDB->fetchAssoc($obj_set);
930  $this->last_update = $obj_rec["last_update"];
931 
932  return true;
933  }
getOwner()
get object owner
getId()
get object id public
global $ilDB
+ Here is the call graph for this function:

◆ withReferences()

ilObject::withReferences ( )

determines wehter objects are referenced or not (got ref ids or not)

Definition at line 186 of file class.ilObject.php.

References $referenced.

Referenced by ilObjFolder\putInTree().

187  {
188  // both vars could differ. this method should always return true if one of them is true without changing their status
189  return ($this->call_by_reference) ? true : $this->referenced;
190  }
+ Here is the caller graph for this function:

Field Documentation

◆ $add_dots

ilObject::$add_dots

Definition at line 129 of file class.ilObject.php.

◆ $app_event_handler

ilObject::$app_event_handler
protected

◆ $create_date

ilObject::$create_date

Definition at line 94 of file class.ilObject.php.

Referenced by getCreateDate().

◆ $db

ilObject::$db
protected

Definition at line 23 of file class.ilObject.php.

Referenced by ilObjUser\_checkExternalAuthAccount(), ilObjSystemFolder\_getHeaderTitleDescription(), _prepareCloneSelection(), ilObjStyleSheet\addCharacteristic(), ilObjStyleSheet\addColor(), ilObjSurvey\addConstraint(), ilObjSurvey\addConstraintToQuestion(), ilObjSystemFolder\addHeaderTitleTranslation(), ilObjWiki\addImportantPage(), ilObjStyleSheet\addMediaQuery(), ilObjStyleSheet\addParameter(), ilObjSurvey\addQuestionToBlock(), ilObjStyleSheet\addTemplate(), ilObjStyleSheet\addTemplateClass(), ilObjWorkspaceRootFolder\addTranslation(), ilObjSurvey\bindSurveyCodeToUser(), ilObjStyleSheet\characteristicExists(), ilObjSurvey\checkReminder(), ilObjContentObject\checkStructure(), ilObjSurvey\checkTutorNotification(), ilObjExternalFeed\cloneObject(), ilObjExercise\cloneObject(), ilObjStyleSheet\colorExists(), ilObjSCORM2004LearningModule\convert_1_2_to_2004(), ilObjStyleSheet\copyCharacteristic(), countReferences(), ilObjPoll\countVotes(), ilObjBookingPool\create(), ilObjFileBasedLM\create(), ilObjMediaPool\create(), ilObjMediaCast\create(), ilObjWiki\create(), create(), ilObjStyleSheet\create(), ilObjStyleSheet\createFromXMLFile(), ilObjContentObject\createProperties(), ilObjSurvey\createQuestionblock(), createReference(), ilObjSurvey\createSurveyCodes(), ilObjSurvey\createSurveyCodesForExternalData(), ilObjSystemFolder\delete(), ilObjFileBasedLM\delete(), ilObjBookingPool\delete(), ilObjExercise\delete(), ilObjMediaCast\delete(), ilObjWiki\delete(), ilObjContentObject\delete(), ilObjStyleSheet\delete(), ilObjPoll\deleteAllAnswers(), ilObjSurveyQuestionPool\deleteAllData(), ilObjSurvey\deleteAllUserData(), ilObjPoll\deleteAllVotes(), ilObjPoll\deleteAnswer(), ilObjSurvey\deleteAppraisee(), ilObjStyleSheet\deleteCharacteristic(), ilObjSurvey\deleteConstraint(), ilObjSurvey\deleteConstraints(), ilObjStyleSheet\deleteCustomStylePars(), ilObjStyleSheet\deleteMediaQuery(), ilObjMediaCast\deleteOrder(), ilObjStyleSheet\deleteParameter(), ilObjSurvey\deleteRater(), ilObjStyleSheet\deleteStylePar(), ilObjStyleSheet\deleteStyleParOfChar(), ilObjSurvey\deleteSurveyCode(), ilObjSurvey\deleteSurveyRecord(), ilObjSCORM2004LearningModule\deleteTrackingDataOfUsers(), ilObjSurvey\deleteUserSettings(), ilObjSurvey\deleteWorkingData(), ilObjWiki\deliverUserHTMLExport(), ilObjSurvey\disinviteAllUsers(), ilObjSurvey\disinviteUser(), ilObjStyleSheet\do_3_10_CharMigration(), ilObjStyleSheet\do_3_10_Migration(), ilObjStyleSheet\do_3_9_Migration(), ilObjBlog\doCreate(), ilObjTaxonomy\doCreate(), ilObjPortfolioBase\doCreate(), ilObjPoll\doCreate(), ilObjBlog\doDelete(), ilObjTaxonomy\doDelete(), ilVerificationObject\doDelete(), ilObjPortfolioBase\doDelete(), ilObjPoll\doDelete(), ilObjBlog\doRead(), ilVerificationObject\doRead(), ilObjPortfolioBase\doRead(), ilObjPoll\doRead(), ilObjTaxonomy\doRead(), ilObjBlog\doUpdate(), ilObjPortfolioBase\doUpdate(), ilObjTaxonomy\doUpdate(), ilObjPoll\doUpdate(), ilObjSurvey\findCodeForUser(), ilObjSurvey\finishSurvey(), ilObjWiki\fixImportantPagesNumbering(), ilObjContentObject\fixTree(), ilObjSurvey\getActiveID(), ilObjLTIAdministration\getActiveObjectTypes(), ilObjSurvey\getAllRelations(), ilObjSurvey\getAnonymousId(), ilObjSurvey\getAnonymousIdByCode(), ilObjPoll\getAnswer(), ilObjPoll\getAnswers(), ilObjSurvey\getAppraiseesData(), ilObjSurvey\getAppraiseesToRate(), ilObjSCORM2004LearningModule\getAttemptsForUser(), ilObjStyleSheet\getColorCodeForName(), ilObjStyleSheet\getColors(), ilObjSurvey\getConstraints(), ilObjSCORM2004LearningModule\getCourseCompletionForUser(), ilObjSurvey\getEvaluationByUser(), ilObjSurvey\getExistingQuestions(), ilObjSurvey\getExternalCodeRecipients(), ilObjSurvey\getFinishedIdForAppraiseeIdAndRaterId(), ilObjSurvey\getFinishedIdsForAppraiseeId(), ilObjStyleSheet\getHideStatus(), ilObjSurvey\getInvitedUsers(), ilObjSurvey\getLastAccess(), ilObjSurvey\getLastActivePage(), ilObjStyleSheet\getMaxMQueryOrderNr(), ilObjMediaPool\getMediaObjects(), ilObjStyleSheet\getMediaQueries(), ilObjStyleSheet\getMediaQueryForId(), ilObjSCORM2004LearningModule\getModuleVersionForUser(), ilObjBookingPool\getPoolsWithReminders(), ilObjSurvey\getPrecondition(), ilObjSurvey\getQuestionblockQuestionIds(), ilObjSurvey\getQuestionblockQuestions(), ilObjSurvey\getQuestionblocksTable(), ilObjSurveyQuestionPool\getQuestionInfos(), ilObjSurveyQuestionPool\getQuestions(), ilObjSurveyQuestionPool\getQuestionsData(), ilObjSurveyQuestionPool\getQuestionsInfo(), ilObjSurvey\getQuestionsTable(), ilObjSurveyQuestionPool\getQuestiontype(), ilObjSurvey\getQuestionType(), ilObjSurvey\getRatersData(), ilObjTaxonomyAdministration\getRepositoryTaxonomies(), ilObjSurvey\getSurveyCodesForExport(), ilObjSurvey\getSurveyCodesTableData(), ilObjSurvey\getSurveyFinishedIds(), ilObjSurvey\getSurveyPages(), ilObjSurvey\getSurveyParticipants(), ilObjSurvey\getSurveyQuestions(), ilObjStyleSheet\getTemplate(), ilObjStyleSheet\getTemplateClasses(), ilObjStyleSheet\getTemplates(), ilObjStyleSheet\getTemplateXML(), ilObjSurvey\getTextblock(), ilObjSCORM2004LearningModule\getTrackedItems(), ilObjSCORM2004LearningModule\getTrackingDataAgg(), ilObjWorkspaceRootFolder\getTranslations(), ilObjMediaPool\getUsedFormats(), ilObjSurvey\getUserAccessCode(), ilObjSurvey\getUserData(), ilObjSurvey\getUserDataFromActiveId(), ilObjWiki\getUserHTMLExportProgress(), ilObjSurvey\getUserSettings(), ilObjSurvey\getUserSurveyExecutionStatus(), ilObjSurvey\getVariables(), ilObjPoll\getVotePercentages(), ilObjPoll\getVotesByUsers(), ilObjSurvey\getWorkingtimeForParticipant(), ilObjPoll\hasUserVoted(), ilObjSurvey\importObject(), ilObjSCORM2004LearningModule\importSuccess(), ilObjSurvey\importSurveyCode(), ilObjWiki\initUserHTMLExport(), ilObjSurvey\insertQuestion(), ilObjSurvey\insertQuestionblock(), ilObjSurvey\inviteUser(), ilObjSurvey\is360SurveyStarted(), ilObjSurvey\isAnonymizedParticipant(), ilObjSurvey\isAnonymousKey(), ilObjSurvey\isAppraisee(), ilObjSurvey\isAppraiseeClosed(), ilObjWiki\isImportantPage(), ilObjSurveyQuestionPool\isInUse(), ilObjSurvey\isRater(), ilObjSurvey\isSurveyCodeUnique(), ilObjSurvey\isSurveyCodeUsed(), ilObjSurvey\isSurveyStarted(), ilObjSurvey\isUnusedCode(), ilObjSurveyQuestionPool\loadFromDb(), ilObjSurvey\loadFromDb(), ilObjSurvey\loadQuestionsFromDb(), ilObjSurvey\loadWorkingData(), ilObjStyleSheet\lookupStyleSetting(), ilObjStyleSheet\lookupTemplatePreview(), ilObjSurvey\modifyQuestionblock(), ilObjSurvey\openAllAppraisees(), ilObjSurveyQuestionPool\pasteFromClipboard(), ilObjSurveyQuestionPool\purgeQuestions(), ilObjSkillManagement\read(), ilObjFileBasedLM\read(), ilObjMediaCastSettings\read(), ilObjLearningResourcesSettings\read(), ilObjPersonalDesktopSettings\read(), ilObjTaggingSettings\read(), ilObjBookingPool\read(), ilObjMediaPool\read(), ilObjContentObject\read(), read(), ilObjMediaCast\read(), ilObjExercise\read(), ilObjWiki\read(), ilObjStyleSheet\read(), ilObjMediaCast\readOrder(), ilObjContentObject\readProperties(), ilObjLTIAdministration\readReleaseObjects(), ilObjTest\reindexFixedQuestionOrdering(), ilObjStyleSheet\removeColor(), ilObjSurvey\removeConstraintsConcerningQuestion(), ilObjSystemFolder\removeHeaderTitleTranslations(), ilObjWiki\removeImportantPage(), ilObjSurvey\removeQuestionFromBlock(), ilObjSurvey\removeQuestions(), ilObjSurvey\removeSelectedSurveyResults(), ilObjStyleSheet\removeTemplate(), ilObjWorkspaceRootFolder\removeTranslations(), ilObjPoll\saveAnswer(), ilObjExercise\saveCertificateVisibility(), ilObjSurvey\saveCompletionStatus(), ilObjExercise\saveData(), ilObjSurvey\saveHeading(), ilObjStyleSheet\saveHideStatus(), ilObjStyleSheet\saveMediaQueryOrder(), ilObjMediaCast\saveOrder(), ilObjWiki\saveOrderingAndIndentation(), ilVerificationObject\saveProperties(), ilObjSurvey\saveQuestionsToDb(), ilObjSurveyQuestionPool\saveToDb(), ilObjSurvey\saveToDb(), ilObjSurvey\saveUserAccessCode(), ilObjSurvey\saveUserSettings(), ilObjPoll\saveVote(), ilObjSurvey\sendCodes(), ilObjSurvey\set360RaterSent(), ilObjSurvey\setEndTime(), ilObjSurvey\setInvitation(), ilObjSurveyQuestionPool\setObligatoryStates(), ilObjSurvey\setObligatoryStates(), ilObjSurvey\setPage(), ilObjSurvey\setStartTime(), ilObjSurvey\startSurvey(), ilObjWiki\startUserHTMLExport(), ilObjStyleSheet\templateExists(), ilObjSurvey\unfoldQuestionblocks(), ilObjSkillManagement\update(), ilObjFileBasedLM\update(), ilObjLearningResourcesSettings\update(), ilObjMediaCastSettings\update(), ilObjTaggingSettings\update(), ilObjPersonalDesktopSettings\update(), ilObjBookingPool\update(), ilObjMediaPool\update(), ilObjMediaCast\update(), ilObjExercise\update(), ilObjWiki\update(), update(), ilObjStyleSheet\update(), ilObjPoll\updateAnswer(), ilObjPoll\updateAnswerPositions(), ilObjContentObject\updateAutoGlossaries(), ilObjSurvey\updateCode(), ilObjStyleSheet\updateColor(), ilObjSurvey\updateConjunctionForQuestions(), ilObjSurvey\updateConstraint(), ilObjStyleSheet\updateMediaQuery(), updateOwner(), ilObjContentObject\updateProperties(), ilObjStyleSheet\updateStyleParameter(), ilObjStyleSheet\updateTemplate(), ilObjBookingPool\writeLastReminderTimestamp(), ilObjStyleSheet\writeStyleSetting(), ilObjContentObject\writeStyleSheetId(), and ilObjStyleSheet\writeTemplatePreview().

◆ $desc

◆ $error

◆ $id

ilObject::$id

Definition at line 74 of file class.ilObject.php.

Referenced by ilObjMainMenu\__construct(), ilObjWorkflowEngine\__construct(), ilObjLearningSequence\__construct(), ilObjStyleSheet\_addMissingStyleClassesToAllStyles(), ilObjStyleSheet\_getClonableContentStyles(), ilObjSystemFolder\_getHeaderTitleDescription(), ilObjUser\_getImportedUserId(), ilObjTest\_lookupAuthor(), ilObjStyleSheet\_replaceStylePar(), ilObjSystemFolder\addHeaderTitleTranslation(), ilObjStyleSheet\addMediaQuery(), ilObjStyleSheet\addParameter(), ilObjGlossary\autoLinkGlossaryTerms(), ilObjContentObject\autoLinkGlossaryTerms(), ilObjUser\checkUserId(), collectDeletionDependencies(), ilObjLanguageFolderGUI\confirmRefreshSelectedObject(), ilObjLanguageFolderGUI\confirmUninstallChangesObject(), ilObjLanguageFolderGUI\confirmUninstallObject(), ilObjForum\create(), ilObjLearningSequence\create(), ilObject2\create(), ilObjStudyProgramme\create(), ilObjRole\create(), create(), ilObjStyleSheet\create(), ilObjStyleSheet\createFromXMLFile(), ilObjHelpSettings\createHelpModule(), ilObjStudyProgramme\createSettings(), ilObjBookingPool\delete(), ilObjSurvey\deleteUserSettings(), ilObjBlog\deliverRSS(), ilObjFile\doMDUpdateListener(), ilObjContentObject\exportHTMLMOB(), ilObjSurvey\getAnonymousId(), ilObjSurvey\getAuthor(), ilObjTest\getAuthor(), ilObjPortfolio\getAvailablePortfolioLinksForUserIds(), ilObjAssessmentFolder\getFullPath(), getId(), ilObjIndividualAssessment\getParentContainerIdByType(), ilObjSurvey\getPrecondition(), ilObjUser\getProfileStatusOfUsers(), ilObjPoll\getVotePercentages(), ilRemoteObjectBase\importMetadataFromJson(), ilObjLinkResource\MDUpdateListener(), MDUpdateListener(), ilObjContentObject\MDUpdateListener(), ilObjUser\preloadIsDesktopItem(), ilObjStudyProgramme\readSettings(), ilObjLanguageFolderGUI\refreshSelectedObject(), ilObjGlossary\removeOfflineGlossaries(), ilObjPoll\saveAnswer(), ilObjPoll\saveAnswers(), ilObjSurvey\sent360Reminders(), ilObjTest\setQuestionOrderAndObligations(), ilObjSurvey\setStartTime(), ilObjLanguageFolderGUI\uninstallChangesObject(), ilObjPoll\updateAnswerPositions(), ilObjUser\updateMultiTextFields(), ilObjRepositorySettings\updateNewItemGroupOrder(), and ilObjHelpSettings\uploadHelpModule().

◆ $import_id

ilObject::$import_id

◆ $last_update

ilObject::$last_update

Definition at line 95 of file class.ilObject.php.

Referenced by ilObjUser\getLastUpdate(), and getLastUpdateDate().

◆ $lng

ilObject::$lng

Definition at line 67 of file class.ilObject.php.

Referenced by ilObjLanguage\__construct(), ilObjLanguageFolder\__construct(), ilObjSurvey\__construct(), ilObjTest\__construct(), ilObjRole\__getPermissionDefinitions(), ilObjTest\_buildName(), ilObjLanguageExt\_deleteValues(), ilObjMediaObject\_determineWidthHeight(), ilObjQuestionPool\_getAvailableQuestionpools(), ilObjFileAccessSettings\_getDefaultWebfolderInstructions(), ilObjSurveyQuestionPool\_getQuestiontypes(), ilObjQuestionPool\_getQuestionTypes(), ilObjSurveyQuestionPool\_getQuestionTypeTranslations(), ilObjLanguageExt\_getRemarks(), ilObjSCORMLearningModule\_getStatusForUser(), ilObjRole\_getTranslation(), ilObjLanguageExt\_getValues(), ilObjLearningSequence\_goto(), ilObjUser\_lookupLanguage(), _lookupOwnerName(), _prepareCloneSelection(), ilObjRole\_removeObjectId(), ilObjLanguageExt\_saveValues(), ilObjContentObject\addFirstChapterAndPage(), ilObjUser\assignData(), ilObjUserFolder\buildExportFile(), ilObjLanguageFolder\checkAllLanguages(), ilObjPortfolioBase\clonePagesAndSettings(), ilObjLanguage\countUsers(), ilContainer\create(), ilObjTest\createQuestionGUI(), ilObjTest\deleteTest(), ilObjUser\deleteUserDefinedFieldEntries(), ilObjTest\ensureParticipantsLastActivePassFinished(), ilObjWiki\getAdvMDSubItemTitle(), ilObjGlossary\getAdvMDSubItemTitle(), ilObjSAHSLearningModule\getAffectiveLocalization(), ilObjTest\getAnsweredQuestionCount(), ilObjSAHSLearningModule\getApiStudentName(), ilObjTest\getAvailableQuestions(), ilObjRepositorySettings\getDefaultNewItemGrouping(), ilObjGlossary\getDeletionDependencies(), ilObjLanguageFolder\getLanguages(), ilObjTest\getManualFeedback(), ilObjRepositorySettings\getNewItemGroups(), ilObjQuestionPool\getQuestionTypeTranslations(), ilObjSurvey\getSurveyCodesForExport(), ilObjSurvey\getSurveySkippedValue(), ilObjTest\getTestResult(), ilObjOrgUnit\getTranslations(), ilObjMediaPool\getUsedFormats(), ilObjStyleSheet\ilClone(), ilObjContentObject\importFromDirectory(), ilObjContentObject\importFromZipFile(), ilObjSCORMLearningModule\importRaw(), ilObjTest\isParticipantsLastPassActive(), ilObjTaxonomy\loadLanguageModule(), ilObjSAHSLearningModule\populateByDirectoy(), ilObjSCORM2004LearningModule\readObject(), ilObjTest\removeTestResultsByUserIds(), ilObjTest\removeTestResultsFromSoapLpAdministration(), ilObjSurvey\send360ReminderToUser(), ilObjSurvey\sendAppraiseeCloseNotification(), ilObjSurvey\sendAppraiseeNotification(), ilObjExercise\sendAssignment(), ilObjSurvey\sendNotificationMail(), ilObjSurvey\sendRaterNotification(), ilObjAdvancedEditing\setUsedHTMLTags(), and ilObjMediaObject\uploadMultipleSubtitleFile().

◆ $log

◆ $long_desc

ilObject::$long_desc

Definition at line 92 of file class.ilObject.php.

Referenced by ilContainer\getCompleteDescriptions().

◆ $max_desc

ilObject::$max_desc

Definition at line 123 of file class.ilObject.php.

◆ $max_title

ilObject::$max_title

Definition at line 117 of file class.ilObject.php.

◆ $objDefinition

◆ $objectList

ilObject::$objectList

Definition at line 111 of file class.ilObject.php.

◆ $offline

ilObject::$offline = null
private

Definition at line 85 of file class.ilObject.php.

Referenced by getOfflineStatus().

◆ $owner

ilObject::$owner

◆ $rbacadmin

◆ $rbacreview

ilObject::$rbacreview
protected

Definition at line 53 of file class.ilObject.php.

Referenced by ilObjCourse\__getLocalRoles(), ilObjRole\__getPermissionDefinitions(), ilObjUser\_getAllUserData(), ilObjGroup\_getMembers(), ilObjUser\_getUsersForIds(), ilObjUser\_getUsersForRole(), ilObjGroup\_isMember(), ilObjUser\_writeHistory(), ilObjRole\adjustPermissions(), ilObjOrgUnit\assignUserToLocalRole(), ilObjRole\changeExistingObjects(), ilObjGroup\cloneAutoGeneratedRoles(), ilObjCourse\cloneAutoGeneratedRoles(), ilObjRole\createPermissionIntersection(), ilObjRoleFolder\createRole(), ilObjUserFolder\createXMLExport(), ilObjOrgUnit\deassignUserFromLocalRole(), ilObjRoleFolder\delete(), ilObjRole\delete(), ilObjRole\deleteLocalPolicies(), ilObjUser\deleteUserDefinedFieldEntries(), ilObjBlog\getAllLocalRoles(), ilObjRole\getCountMembers(), ilObjCourse\getDefaultCourseRoles(), ilObjGroup\getDefaultGroupRoles(), ilObjGroup\getGroupAdminIds(), ilObjGroup\getGroupMemberData(), ilObjGroup\getGroupMemberIds(), ilObjBlog\getLocalContributorRole(), ilObjCourse\getLocalCourseRoles(), ilObjBlog\getLocalEditorRole(), ilObjGroup\getLocalGroupRoles(), ilObjLTIAdministration\getLTIRoles(), ilObjGroup\getMemberRoles(), ilObjBlog\getRolesWithContributeOrRedact(), ilObjCourse\initDefaultRoles(), ilObjGroup\initGroupStatus(), ilObjTest\inviteRole(), ilObjGroup\isAdmin(), ilObjGroup\leaveGroup(), ilObjRoleFolder\purge(), ilObjGroup\readGroupStatus(), ilObjUser\searchUsers(), setParentRolePermissions(), ilObjGroup\setParentRolePermissions(), ilObjCourse\setParentRolePermissions(), ilObjRole\updateOperationStack(), and ilObjRole\updatePolicyStack().

◆ $ref_id

◆ $referenced

ilObject::$referenced

Definition at line 104 of file class.ilObject.php.

Referenced by withReferences().

◆ $register

ilObject::$register = false

Definition at line 97 of file class.ilObject.php.

Referenced by requireRegistration().

◆ $title

◆ $tree

ilObject::$tree
protected

Definition at line 38 of file class.ilObject.php.

Referenced by ilObjItemGroup\__construct(), ilCourseStart\__read(), ilObjTest\_getAvailableTests(), ilObjQuestionPool\_getFullPathToQpl(), ilObjMediaPool\_getPoolTree(), ilObjStyleSheet\_getStandardStyles(), ilObjSCORMLearningModule\_getTrackingItems(), ilObjTest\_isComplete(), _isInTrash(), ilObjUser\_lookupDesktopItems(), ilObjRole\adjustPermissions(), appendCopyInfo(), ilObjRole\changeExistingObjects(), ilObjContentObject\checkStructure(), ilObjContentObject\checkTree(), collectDeletionDependencies(), ilObjPortfolioBase\createBlogInPersonalWorkspace(), ilObjMediaPool\createFolder(), ilObjUser\delete(), ilObjTest\deleteTest(), ilObjTaxonomy\doDelete(), ilObjSkillManagement\executeDragDrop(), ilObjSCORM2004LearningModule\exportHTML4PDF(), ilObjSCORM2004LearningModule\exportHTMLScoObjects(), ilObjSCORM2004LearningModule\exportPDF(), ilObjSCORM2004LearningModule\exportXMLScoObjects(), ilObjSCORM2004LearningModule\exportXMLStructureObjects(), ilObjContentObject\fixTree(), ilObjGlossary\getAllGlossaryIds(), ilObjTest\getAnsweredQuestionCount(), ilObjAssessmentFolder\getFullPath(), ilObjTest\getMarkSchemaForeignId(), ilObjSurvey\getNotificationTargetUserIds(), ilObjIndividualAssessment\getParentContainerIdByType(), ilObjTaxonomyAdministration\getPath(), ilObjTest\getQuestionCount(), ilObjTaxonomyAdministration\getRepositoryTaxonomies(), ilObjTaxonomy\getSubTreeItems(), ilObjTest\getTestResult(), ilRemoteObjectBase\handleDelete(), hasAutoRating(), ilObjContentObject\hasSuccessorPage(), ilObjRoleFolder\purge(), ilObjContentObject\putInTree(), putInTree(), ilObjTest\reindexFixedQuestionOrdering(), ilObjTest\saveToDb(), and ilObjBlog\sendNotification().

◆ $type

◆ $untranslatedTitle

ilObject::$untranslatedTitle

Definition at line 89 of file class.ilObject.php.

Referenced by getUntranslatedTitle().

◆ DESC_LENGTH

◆ TITLE_LENGTH


The documentation for this class was generated from the following file: