ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Public Member Functions | |
__construct (int $a_id=0, bool $a_call_by_reference=true) | |
enableLearningProgress (bool $a_enable) | |
enabledLearningProgress () | |
enableUserRelatedData (bool $a_enable) | |
enabledUserRelatedData () | |
enableObjectStatistics (bool $newValue) | |
enabledObjectStatistics () | |
enableSessionStatistics (bool $newValue) | |
enabledSessionStatistics () | |
setValidTimeSpan (int $a_time_span) | |
getValidTimeSpan () | |
enableChangeEventTracking (bool $newValue) | |
enabledChangeEventTracking () | |
setExtendedData (int $a_value) | |
hasExtendedData (int $a_code) | |
updateSettings () | |
setLearningProgressLearner (bool $a_value) | |
hasLearningProgressLearner () | |
setLearningProgressListGUI (bool $a_value) | |
hasLearningProgressListGUI () | |
![]() | |
getObjectProperties () | |
flushObjectProperties () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
processAutoRating () | |
read () | |
getId () | |
setId (int $id) | |
setRefId (int $ref_id) | |
getRefId () | |
getType () | |
setType (string $type) | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
getUntranslatedTitle () | |
Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
setTitle (string $title) | |
getDescription () | |
setDescription (string $description) | |
getLongDescription () | |
get object long description (stored in object_description) More... | |
getImportId () | |
setImportId (string $import_id) | |
setOfflineStatus (bool $status) | |
getOfflineStatus () | |
supportsOfflineHandling () | |
getOwner () | |
getOwnerName () | |
get full name of object owner More... | |
setOwner (int $usr_id) | |
getCreateDate () | |
Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
getLastUpdateDate () | |
Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
create () | |
note: title, description and type should be set when this function is called More... | |
update () | |
MDUpdateListener (string $element) | |
Metadata update listener. More... | |
createMetaData () | |
updateMetaData () | |
deleteMetaData () | |
updateOwner () | |
update owner of object in db More... | |
putInTree (int $parent_ref_id) | |
maybe this method should be in tree object!? More... | |
setPermissions (int $parent_ref_id) | |
setParentRolePermissions (int $parent_ref_id) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
createReference () | |
creates reference for object More... | |
countReferences () | |
delete () | |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
applyDidacticTemplate (int $tpl_id) | |
getXMLZip () | |
getHTMLDirectory () | |
appendCopyInfo (int $target_id, int $copy_id) | |
Prepend Copy info if object with same name exists in that container. More... | |
cloneDependencies (int $target_id, int $copy_id) | |
Clone object dependencies. More... | |
cloneMetaData (ilObject $target_obj) | |
Copy meta data. More... | |
selfOrParentWithRatingEnabled () | |
getPossibleSubObjects (bool $filter=true) | |
get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
static | _enabledLearningProgress () |
static | _enabledUserRelatedData () |
static | _enabledObjectStatistics () |
static | _enabledSessionStatistics () |
static | _getValidTimeSpan () |
static | _deleteUser (int $a_usr_id) |
static | _hasLearningProgressOtherUsers () |
static | _hasLearningProgressLearner () |
static | _hasLearningProgressListGUI () |
![]() | |
static | _lookupObjIdByImportId (string $import_id) |
Get (latest) object id for an import id. More... | |
static | _lookupImportId (int $obj_id) |
static | _lookupOwnerName (int $owner_id) |
Lookup owner name for owner id. More... | |
static | _getIdForImportId (string $import_id) |
static | _getAllReferences (int $id) |
get all reference ids for object ID More... | |
static | _lookupTitle (int $obj_id) |
static | lookupOfflineStatus (int $obj_id) |
Lookup offline status using objectDataCache. More... | |
static | _lookupOwner (int $obj_id) |
Lookup owner user ID for object ID. More... | |
static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
static | _lookupDescription (int $obj_id) |
static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
static | _getLastUpdateOfObjects (array $obj_ids) |
static | _lookupObjId (int $ref_id) |
static | _setDeletedDate (int $ref_id, int $deleted_by) |
static | setDeletedDates (array $ref_ids, int $user_id) |
static | _resetDeletedDate (int $ref_id) |
static | _lookupDeletedDate (int $ref_id) |
static | _writeTitle (int $obj_id, string $title) |
write title to db (static) More... | |
static | _writeDescription (int $obj_id, string $desc) |
write description to db (static) More... | |
static | _writeImportId (int $obj_id, string $import_id) |
write import id to db (static) More... | |
static | _lookupType (int $id, bool $reference=false) |
static | _isInTrash (int $ref_id) |
static | _hasUntrashedReference (int $obj_id) |
checks whether an object has at least one reference that is not in trash More... | |
static | _lookupObjectId (int $ref_id) |
static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
get all objects of a certain type More... | |
static | _exists (int $id, bool $reference=false, ?string $type=null) |
checks if an object exists in object_data More... | |
static | _getObjectsByType (string $obj_type="", ?int $owner=null) |
static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
Prepare copy wizard object selection. More... | |
static | getIconForType (string $type) |
static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
Get icon for repository item. More... | |
static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
Collect deletion dependencies. More... | |
static | getDeletionDependencies (int $obj_id) |
Get deletion dependencies. More... | |
static | getLongDescriptions (array $obj_ids) |
static | getAllOwnedRepositoryObjects (int $user_id) |
static | fixMissingTitles ($type, array &$obj_title_map) |
Try to fix missing object titles. More... | |
static | _lookupCreationDate (int $obj_id) |
static | _getObjectTypeIdByTitle (string $type, ?\ilDBInterface $ilDB=null) |
Data Fields | |
const | EXTENDED_DATA_LAST_ACCESS = 1 |
const | EXTENDED_DATA_READ_COUNT = 2 |
const | EXTENDED_DATA_SPENT_SECONDS = 4 |
const | DEFAULT_TIME_SPAN = 300 |
![]() | |
const | TITLE_LENGTH = 255 |
const | DESC_LENGTH = 128 |
const | LONG_DESC_LENGTH = 4000 |
const | TABLE_OBJECT_DATA = "object_data" |
array | $objectList |
string | $untranslatedTitle |
Protected Member Functions | |
__readSettings () | |
![]() | |
doMDUpdateListener (string $a_element) | |
beforeMDUpdateListener (string $a_element) | |
doCreateMetaData () | |
beforeCreateMetaData () | |
doUpdateMetaData () | |
beforeUpdateMetaData () | |
doDeleteMetaData () | |
beforeDeleteMetaData () | |
handleAutoRating () | |
hasAutoRating () | |
Protected Attributes | |
int | $extended_data = 0 |
bool | $learning_progress = false |
bool | $tracking_user_related = false |
bool | $object_statistics_enabled = false |
bool | $lp_learner = false |
bool | $session_statistics_enabled = false |
bool | $lp_list_gui = false |
ilSetting | $settings |
![]() | |
ilLogger | $obj_log |
ILIAS | $ilias |
ilObjectDefinition | $obj_definition |
ilDBInterface | $db |
ilLogger | $log |
ilErrorHandling | $error |
ilTree | $tree |
ilAppEventHandler | $app_event_handler |
ilRbacAdmin | $rbac_admin |
ilRbacReview | $rbac_review |
ilObjUser | $user |
ilLanguage | $lng |
LOMServices | $lom_services |
bool | $call_by_reference |
int | $max_title = self::TITLE_LENGTH |
int | $max_desc = self::DESC_LENGTH |
bool | $add_dots = true |
int | $ref_id = null |
string | $type = "" |
string | $title = "" |
string | $desc = "" |
string | $long_desc = "" |
int | $owner = 0 |
string | $create_date = "" |
string | $last_update = "" |
string | $import_id = "" |
bool | $register = false |
Private Attributes | |
int | $valid_time = 0 |
bool | $is_change_event_tracking_enabled = false |
This variable holds the enabled state of the change event tracking. More... | |
Definition at line 27 of file class.ilObjUserTracking.php.
ilObjUserTracking::__construct | ( | int | $a_id = 0 , |
bool | $a_call_by_reference = true |
||
) |
Definition at line 51 of file class.ilObjUserTracking.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), __readSettings(), and ILIAS\Repository\settings().
|
protected |
Definition at line 212 of file class.ilObjUserTracking.php.
References ilChangeEvent\_isActive(), enableChangeEventTracking(), enableLearningProgress(), enableObjectStatistics(), enableSessionStatistics(), enableUserRelatedData(), setExtendedData(), setLearningProgressLearner(), setLearningProgressListGUI(), ILIAS\Repository\settings(), and setValidTimeSpan().
Referenced by __construct().
|
static |
Definition at line 248 of file class.ilObjUserTracking.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjUser\delete().
|
static |
Definition at line 72 of file class.ilObjUserTracking.php.
References $DIC, and $ilSetting.
Referenced by ilObjLearningSequenceContentTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilLearningProgressGUI\__getNextClass(), ilCertificateGUI\certificateUpload(), ilLearningProgressAccess\checkAccess(), ilObjCourse\checkLPStatusSync(), ilCertificateObjUserTrackingHelper\enabledLearningProgress(), ilLearningSequenceParticipantsTableGUI\fillRow(), ilPortfolioPageGUI\getCoursesOfUser(), ilObjectLP\getCurrentMode(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilUserLPTableGUI\getItems(), ilCourseLPBadgeGUI\getLPTypes(), ilConditionHandler\getOperatorsByTriggerType(), ilCourseMembershipGUI\getPrintMemberData(), ilOrgUnitUserAssignmentDBRepository\getRows(), ilSoapSCORMAdministration\getSCORMCompletionStatus(), ilMStShowUserCoursesTableGUI\getSelectableColumns(), ILIAS\LearningProgress\LPMainBarProvider\getStaticSubItems(), ilObjUserGUI\getTabs(), ilObjIndividualAssessmentGUI\getTabs(), ilObjLearningSequenceGUI\getTabs(), ilConditionHandler\getTriggerTypes(), ilCourseAppEventListener\handleEvent(), ilMembershipGUI\initAttendanceList(), ilObjCourseGUI\initEditForm(), ilMStListCoursesTableGUI\initFilter(), ilMStShowUserCoursesTableGUI\initFilter(), ilLearningSequenceParticipantsTableGUI\initForm(), ilObjUserTrackingGUI\initLPDefaultsForm(), ilGroupMembershipGUI\initParticipantTableGUI(), ilCourseMembershipGUI\initParticipantTableGUI(), ilMStListCoursesTableGUI\initSelectableColumns(), ilTrackingLearningHistoryProvider\isActive(), ilAchievements\isActive(), ilLearningSequenceRoles\isCompletedByUser(), ilLearningSequenceRoles\isTrackingEnabled(), ilLPStatus\preloadListGUIData(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilObjSCORMLearningModule\setLearningProgressSettingsAtUpload(), ilObjCourse\setStatusDetermination(), ilObjCertificateSettingsGUI\settings(), ilObjUserTrackingGUI\settingsObject(), ilInfoScreenGUI\showLearningProgress(), and ilObjCourseGUI\updateLPFromStatus().
|
static |
Definition at line 99 of file class.ilObjUserTracking.php.
References $DIC, and $ilSetting.
Referenced by ilChangeEvent\_recordObjStats(), and ilObjUserTrackingGUI\getTabs().
|
static |
Definition at line 127 of file class.ilObjUserTracking.php.
References $DIC, and $ilSetting.
Referenced by ilObjUserTrackingGUI\getTabs().
|
static |
Definition at line 91 of file class.ilObjUserTracking.php.
References $DIC, and $ilSetting.
Referenced by ilLPTableBaseGUI\__construct(), ilLearningProgressBaseGUI\__construct(), ilLearningProgressGUI\__getNextClass(), ilLearningProgressBaseGUI\__setSubTabs(), ilPortfolioPageGUI\getCoursesOfUser(), ilCourseMembershipGUI\getPrintMemberData(), ilOrgUnitUserAssignmentDBRepository\getRows(), ilObjUserGUI\getTabs(), ilMembershipGUI\initAttendanceList(), ilGroupMembershipGUI\initParticipantTableGUI(), ilCourseMembershipGUI\initParticipantTableGUI(), ilLearningSequenceRoles\isTrackingEnabled(), ilObjGroupGUI\readMemberData(), and ilObjCourseGUI\readMemberData().
|
static |
Definition at line 145 of file class.ilObjUserTracking.php.
References $DIC, and $ilSetting.
Referenced by ilLPObjSettings\_mode2InfoText(), ilChangeEvent\_recordReadEvent(), ilLPListOfSettingsGUI\initFormSettings(), and ilLMTracker\trackPageAndChapterAccess().
|
static |
Definition at line 299 of file class.ilObjUserTracking.php.
References $DIC, and $ilSetting.
Referenced by ilLearningProgressGUI\__getNextClass(), ilLearningProgressBaseGUI\__setSubTabs(), ilLearningProgressAccess\checkAccess(), ilPortfolioPageGUI\getCoursesOfUser(), ILIAS\LearningProgress\LPMainBarProvider\getStaticSubItems(), ilTrackingLearningHistoryProvider\isActive(), ilAchievements\isActive(), and ilLPStatus\preloadListGUIData().
|
static |
Definition at line 317 of file class.ilObjUserTracking.php.
References $DIC, and $ilSetting.
Referenced by ilLPStatus\preloadListGUIData().
|
static |
Definition at line 277 of file class.ilObjUserTracking.php.
References $DIC, ilObject\$ref_id, ilObject\_getAllReferences(), and ilObject\_getObjectsByType().
Referenced by ilLearningProgressGUI\__getNextClass(), and ilAchievements\isActive().
ilObjUserTracking::enableChangeEventTracking | ( | bool | $newValue | ) |
Definition at line 156 of file class.ilObjUserTracking.php.
Referenced by __readSettings().
ilObjUserTracking::enabledChangeEventTracking | ( | ) |
Definition at line 161 of file class.ilObjUserTracking.php.
References $is_change_event_tracking_enabled.
ilObjUserTracking::enabledLearningProgress | ( | ) |
Definition at line 67 of file class.ilObjUserTracking.php.
References $learning_progress.
Referenced by updateSettings().
ilObjUserTracking::enabledObjectStatistics | ( | ) |
Definition at line 112 of file class.ilObjUserTracking.php.
References $object_statistics_enabled.
Referenced by updateSettings().
ilObjUserTracking::enabledSessionStatistics | ( | ) |
Definition at line 122 of file class.ilObjUserTracking.php.
References $session_statistics_enabled.
Referenced by updateSettings().
ilObjUserTracking::enabledUserRelatedData | ( | ) |
Definition at line 86 of file class.ilObjUserTracking.php.
References $tracking_user_related.
Referenced by updateSettings().
ilObjUserTracking::enableLearningProgress | ( | bool | $a_enable | ) |
Definition at line 62 of file class.ilObjUserTracking.php.
Referenced by __readSettings().
ilObjUserTracking::enableObjectStatistics | ( | bool | $newValue | ) |
Definition at line 107 of file class.ilObjUserTracking.php.
Referenced by __readSettings().
ilObjUserTracking::enableSessionStatistics | ( | bool | $newValue | ) |
Definition at line 117 of file class.ilObjUserTracking.php.
Referenced by __readSettings().
ilObjUserTracking::enableUserRelatedData | ( | bool | $a_enable | ) |
Definition at line 81 of file class.ilObjUserTracking.php.
Referenced by __readSettings().
ilObjUserTracking::getValidTimeSpan | ( | ) |
Definition at line 140 of file class.ilObjUserTracking.php.
References $valid_time.
Referenced by updateSettings().
ilObjUserTracking::hasExtendedData | ( | int | $a_code | ) |
Definition at line 173 of file class.ilObjUserTracking.php.
ilObjUserTracking::hasLearningProgressLearner | ( | ) |
Definition at line 294 of file class.ilObjUserTracking.php.
References $lp_learner.
Referenced by updateSettings().
ilObjUserTracking::hasLearningProgressListGUI | ( | ) |
Definition at line 312 of file class.ilObjUserTracking.php.
References $lp_list_gui.
Referenced by updateSettings().
ilObjUserTracking::setExtendedData | ( | int | $a_value | ) |
Definition at line 168 of file class.ilObjUserTracking.php.
Referenced by __readSettings().
ilObjUserTracking::setLearningProgressLearner | ( | bool | $a_value | ) |
Definition at line 289 of file class.ilObjUserTracking.php.
Referenced by __readSettings().
ilObjUserTracking::setLearningProgressListGUI | ( | bool | $a_value | ) |
Definition at line 307 of file class.ilObjUserTracking.php.
Referenced by __readSettings().
ilObjUserTracking::setValidTimeSpan | ( | int | $a_time_span | ) |
Definition at line 135 of file class.ilObjUserTracking.php.
Referenced by __readSettings().
ilObjUserTracking::updateSettings | ( | ) |
Definition at line 178 of file class.ilObjUserTracking.php.
References enabledLearningProgress(), enabledObjectStatistics(), enabledSessionStatistics(), enabledUserRelatedData(), getValidTimeSpan(), hasLearningProgressLearner(), hasLearningProgressListGUI(), and ILIAS\Repository\settings().
|
protected |
Definition at line 30 of file class.ilObjUserTracking.php.
|
private |
This variable holds the enabled state of the change event tracking.
Definition at line 41 of file class.ilObjUserTracking.php.
Referenced by enabledChangeEventTracking().
|
protected |
Definition at line 31 of file class.ilObjUserTracking.php.
Referenced by enabledLearningProgress().
|
protected |
Definition at line 34 of file class.ilObjUserTracking.php.
Referenced by hasLearningProgressLearner().
|
protected |
Definition at line 36 of file class.ilObjUserTracking.php.
Referenced by hasLearningProgressListGUI().
|
protected |
Definition at line 33 of file class.ilObjUserTracking.php.
Referenced by enabledObjectStatistics().
|
protected |
Definition at line 35 of file class.ilObjUserTracking.php.
Referenced by enabledSessionStatistics().
|
protected |
Definition at line 49 of file class.ilObjUserTracking.php.
|
protected |
Definition at line 32 of file class.ilObjUserTracking.php.
Referenced by enabledUserRelatedData().
|
private |
Definition at line 29 of file class.ilObjUserTracking.php.
Referenced by getValidTimeSpan().
const ilObjUserTracking::DEFAULT_TIME_SPAN = 300 |
Definition at line 47 of file class.ilObjUserTracking.php.
const ilObjUserTracking::EXTENDED_DATA_LAST_ACCESS = 1 |
Definition at line 43 of file class.ilObjUserTracking.php.
Referenced by ilLearningSequenceParticipantsTableGUI\fillRow(), ilCourseMailTemplateTutorContext\getCachedPeriodByObjId(), ilScormMailTemplateLPContext\getDescription(), ilCourseMailTemplateTutorContext\getDescription(), ilTrUserObjectsPropsTableGUI\getSelectableColumns(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilTrSummaryTableGUI\initFilter(), ilLearningSequenceParticipantsTableGUI\initForm(), ilObjUserTrackingGUI\initSettingsForm(), and ilObjUserTrackingGUI\saveSettingsObject().
const ilObjUserTracking::EXTENDED_DATA_READ_COUNT = 2 |
Definition at line 44 of file class.ilObjUserTracking.php.
Referenced by ilTrUserObjectsPropsTableGUI\getSelectableColumns(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilTrSummaryTableGUI\initFilter(), ilObjUserTrackingGUI\initSettingsForm(), and ilObjUserTrackingGUI\saveSettingsObject().
const ilObjUserTracking::EXTENDED_DATA_SPENT_SECONDS = 4 |
Definition at line 45 of file class.ilObjUserTracking.php.
Referenced by ilCourseMailTemplateTutorContext\getCachedPeriodByObjId(), ilScormMailTemplateLPContext\getDescription(), ilCourseMailTemplateTutorContext\getDescription(), ilTrUserObjectsPropsTableGUI\getSelectableColumns(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilTrSummaryTableGUI\initFilter(), ilObjUserTrackingGUI\initSettingsForm(), and ilObjUserTrackingGUI\saveSettingsObject().