|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ilTrQuery:Static Public Member Functions | |
| static | getObjectsStatusForUser (int $a_user_id, array $obj_refs) |
| static | getObjectivesStatusForUser (int $a_user_id, int $a_obj_id, array $a_objective_ids) |
| static | getSCOsStatusForUser (int $a_user_id, int $a_parent_obj_id, array $a_sco_ids) |
| static | getSubItemsStatusForUser (int $a_user_id, int $a_parent_obj_id, array $a_item_ids) |
| Get subitems status. More... | |
| static | getUserDataForObject (int $a_ref_id, string $a_order_field="", string $a_order_dir="", int $a_offset=0, int $a_limit=9999, ?array $a_filters=null, ?array $a_additional_fields=null, ?int $check_agreement=null, ?array $privacy_fields=null) |
| static | getObjectsDataForUser (int $a_user_id, int $a_parent_obj_id, int $a_parent_ref_id, string $a_order_field="", string $a_order_dir="", int $a_offset=0, int $a_limit=9999, ?array $a_filters=null, ?array $a_additional_fields=null, bool $use_collection=true) |
| Get all object-based tracking data for user and parent object. More... | |
| static | getSubItemType (int $a_parent_obj_id) |
| Get sub-item object type for parent. More... | |
| static | getObjectsSummaryForObject (int $a_parent_obj_id, int $a_parent_ref_id, string $a_order_field="", string $a_order_dir="", int $a_offset=0, int $a_limit=9999, ?array $a_filters=null, ?array $a_additional_fields=null, ?array $a_preselected_obj_ids=null) |
| Get all aggregated tracking data for parent object :TODO: sorting, offset, limit, objectives, collection/all. More... | |
| static | getParticipantsForObject (int $a_ref_id) |
| Get participant ids for given object. More... | |
| static | getObjectIds (int $a_parent_obj_id, int $a_parent_ref_id, bool $use_collection=true, bool $a_refresh_status=true, ?array $a_user_ids=null) |
| Get (sub)objects for given object, also handles learning objectives (course only) More... | |
| static | executeQueries (array $queries, string $a_order_field="", string $a_order_dir="", int $a_offset=0, int $a_limit=9999) |
| Execute given queries, including count query. More... | |
| static | getUserObjectMatrix (int $a_parent_ref_id, array $a_obj_ids, ?string $a_user_filter=null, ?array $a_additional_fields=null, ?array $a_privacy_fields=null, ?int $a_check_agreement=null) |
| Get status matrix for users on objects. More... | |
| static | getUserObjectiveMatrix (int $a_parent_obj_id, array $a_users) |
| static | getObjectAccessStatistics (array $a_ref_ids, string $a_year, ?string $a_month=null) |
| static | getObjectTypeStatistics () |
| static | getWorkspaceBlogs (?string $a_title=null) |
| static | getPortfolios (?string $a_title=null) |
| static | getObjectDailyStatistics (array $a_ref_ids, string $a_year, ?string $a_month=null) |
| static | getObjectStatisticsMonthlySummary () |
| static | deleteObjectStatistics (array $a_months) |
| static | searchObjects (string $a_type, ?string $a_title=null, ?int $a_root=null, ?array $a_hidden=null, ?array $a_preset_obj_ids=null) |
| static | getObjectStatisticsLogInfo () |
| Get last update info for object statistics. More... | |
| static | getObjectLPStatistics (array $a_obj_ids, int $a_year, ?int $a_month=null, bool $a_group_by_day=false) |
| static | getObjectTypeStatisticsPerMonth (string $a_aggregation, ?string $a_year=null) |
| static | getObjectTypeStatisticsMinYear () |
Static Protected Member Functions | |
| static | getUDFAndHandlePrivacy (array &$a_result, ?array $a_udf=null, ?int $a_check_agreement=null, ?array $a_privacy_fields=null, ?array $a_filters=null) |
| Handle privacy and add udf data to (user) result data. More... | |
| static | getSessionData (int $a_user_id, array $obj_ids) |
| Get session data for given objects and user. More... | |
| static | getSummaryDataForObject (int $a_ref_id, array $fields, ?array $a_filters=null) |
| static | getSummaryPercentages (string $field, string $base_query, ?string $alias=null) |
| Get aggregated data for field. More... | |
| static | filterOutUsersWithoutData (array $user_ids) |
| static | buildFilters (array $where, ?array $a_filters=null, bool $a_aggregate=false) |
| static | buildColumns (array &$a_fields, ?array $a_additional_fields=null, bool $a_aggregate=false) |
| static | getSubTree (int $a_parent_ref_id, array &$a_object_ids, array &$a_ref_ids) |
| Get complete branch of tree (recursively) More... | |
| static | refreshObjectsStatus (array $a_obj_ids, ?array $a_users=null) |
| check whether status (for all relevant users) exists More... | |
Definition at line 21 of file class.ilTrQuery.php.
|
staticprotected |
Definition at line 1363 of file class.ilTrQuery.php.
|
staticprotected |
Definition at line 1111 of file class.ilTrQuery.php.
|
static |
Definition at line 2087 of file class.ilTrQuery.php.
Referenced by ilLPObjectStatisticsGUI\deleteData().
Here is the caller graph for this function:
|
static |
Execute given queries, including count query.
| array | $queries | fields, query, count |
| string | $a_order_field | |
| string | $a_order_dir | |
| int | $a_offset | |
| int | $a_limit |
Definition at line 1588 of file class.ilTrQuery.php.
|
staticprotected |
| int[] | $user_ids |
Definition at line 1090 of file class.ilTrQuery.php.
References $DIC, $res, $user_id, and ilObjUser\userExists().
Here is the call graph for this function:
|
static |
Definition at line 1857 of file class.ilTrQuery.php.
Referenced by ilLPObjectStatisticsTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Definition at line 2034 of file class.ilTrQuery.php.
Referenced by ilLPObjectStatisticsDailyTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Get (sub)objects for given object, also handles learning objectives (course only)
| int | $a_parent_obj_id | |
| int | $a_parent_ref_id | |
| bool | $use_collection | |
| bool | $a_refresh_status | |
| array | null | $a_user_ids |
Definition at line 1467 of file class.ilTrQuery.php.
|
static |
Definition at line 104 of file class.ilTrQuery.php.
Referenced by ILIAS\Tracking\View\DataRetrieval\DataRetrieval\collectLPDataWithIlTryQuery(), and ilLPProgressTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Definition at line 2225 of file class.ilTrQuery.php.
Referenced by ilLPObjectStatisticsLPTableGUI\getDetailItems(), and ilLPObjectStatisticsLPTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Get all object-based tracking data for user and parent object.
Definition at line 478 of file class.ilTrQuery.php.
Referenced by ilTrUserObjectsPropsTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Definition at line 23 of file class.ilTrQuery.php.
References $ilDB, ilObjectLP\getInstance(), getSessionData(), ilCourseConstants\IL_CRS_VIEW_OBJECTIVE, ILIAS\Repository\int(), ilLPObjSettings\LP_MODE_OBJECTIVES, ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, and refreshObjectsStatus().
Referenced by ILIAS\Tracking\View\DataRetrieval\DataRetrieval\collectLPDataWithIlTryQuery(), and ilLPProgressTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all aggregated tracking data for parent object :TODO: sorting, offset, limit, objectives, collection/all.
Definition at line 743 of file class.ilTrQuery.php.
Referenced by ilTrSummaryTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Get last update info for object statistics.
Definition at line 2213 of file class.ilTrQuery.php.
Referenced by ilLPObjectStatisticsGUI\showAggregationInfo().
Here is the caller graph for this function:
|
static |
Definition at line 2066 of file class.ilTrQuery.php.
References $DIC, $ilDB, and $res.
Referenced by ilLPObjectStatisticsAdminTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Definition at line 1915 of file class.ilTrQuery.php.
References $DIC, $ilDB, $res, ILIAS\Repository\int(), and ilObjectDefinition\MODE_REPOSITORY.
Referenced by ilLPCronObjectStatistics\gatherTypesData(), and ilLPObjectStatisticsTypesTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2295 of file class.ilTrQuery.php.
References $DIC, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLPObjectStatisticsTypesTableGUI\initFilter().
Here is the caller graph for this function:
|
static |
Definition at line 2263 of file class.ilTrQuery.php.
Referenced by ilLPObjectStatisticsTypesTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Get participant ids for given object.
| int | $a_ref_id |
Definition at line 953 of file class.ilTrQuery.php.
References $DIC, $GLOBALS, $path, ilLPStatusFactory\_getClassById(), ilObjSCORMTracking\_getTrackedUsers(), ilObject\_lookupObjectId(), ilObjSAHSLearningModule\_lookupSubType(), ilObject\_lookupType(), ilParticipants\getInstance(), ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_SURVEY_FINISHED, and ilLPObjSettings\LP_MODE_TEST_FINISHED.
Referenced by ilSCORM2004TrackingItemsPerUserFilterGUI\parse(), ilSCORMTrackingItemsPerUserFilterGUI\parse(), ilObjSCORM2004LearningModuleGUI\showTrackingItems(), ilObjSCORMLearningModuleGUI\showTrackingItems(), ilObjSCORM2004LearningModuleGUI\showTrackingItemsBySco(), and ilObjSCORMLearningModuleGUI\showTrackingItemsBySco().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2006 of file class.ilTrQuery.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilLPObjectStatisticsDailyTableGUI\getItems(), and ilLPObjectStatisticsTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 148 of file class.ilTrQuery.php.
Referenced by ILIAS\Tracking\View\DataRetrieval\DataRetrieval\collectLPDataWithIlTryQuery(), and ilLPProgressTableGUI\getItems().
Here is the caller graph for this function:
|
staticprotected |
Get session data for given objects and user.
Definition at line 698 of file class.ilTrQuery.php.
Referenced by getObjectsStatusForUser().
Here is the caller graph for this function:
|
static |
Get subitems status.
Definition at line 216 of file class.ilTrQuery.php.
References $ref_id, ilObject\_getAllReferences(), and ilObjectLP\getInstance().
Referenced by ILIAS\Tracking\View\DataRetrieval\DataRetrieval\collectLPDataWithIlTryQuery(), and ilLPProgressTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get sub-item object type for parent.
Definition at line 683 of file class.ilTrQuery.php.
References ilObject\_lookupType().
Referenced by ilTrMatrixTableGUI\getSelectableColumns().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Get complete branch of tree (recursively)
Definition at line 1547 of file class.ilTrQuery.php.
References ilObjectLP\getInstance(), and ilLPObjSettings\LP_MODE_UNDEFINED.
Here is the call graph for this function:
|
staticprotected |
Definition at line 819 of file class.ilTrQuery.php.
|
staticprotected |
Get aggregated data for field.
Definition at line 910 of file class.ilTrQuery.php.
|
staticprotected |
Handle privacy and add udf data to (user) result data.
Definition at line 364 of file class.ilTrQuery.php.
|
static |
Definition at line 265 of file class.ilTrQuery.php.
Referenced by ilTrObjectUsersPropsTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Definition at line 1793 of file class.ilTrQuery.php.
References $ilDB, $res, $user_id, ilCourseObjective\_getObjectiveIds(), ilLOSettings\getInstanceByObjId(), ILIAS\Repository\int(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, ilLOUserResults\STATUS_COMPLETED, ilLOUserResults\STATUS_FAILED, and ilLOUserResults\TYPE_QUALIFIED.
Here is the call graph for this function:
|
static |
Get status matrix for users on objects.
| int | $a_parent_ref_id | |
| array | $a_obj_ids | |
| string | null | $a_user_filter | |
| array | null | $a_additional_fields | |
| array | null | $a_privacy_fields | |
| int | null | $a_check_agreement |
Definition at line 1667 of file class.ilTrQuery.php.
|
static |
Definition at line 1976 of file class.ilTrQuery.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilLPObjectStatisticsDailyTableGUI\getItems(), and ilLPObjectStatisticsTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
check whether status (for all relevant users) exists
Definition at line 2201 of file class.ilTrQuery.php.
References ilLPStatus\checkStatusForObject().
Referenced by getObjectsStatusForUser().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2126 of file class.ilTrQuery.php.