ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
getDefaultMode () | |
getValidModes () | |
getCurrentMode () | |
getSettingsInfo () | |
getMembers (bool $a_search=true) | |
getMailTemplateId () | |
![]() | |
resetCaches () | |
isAnonymized () | |
getDefaultMode () | |
getValidModes () | |
getCurrentMode () | |
isActive () | |
getModeText (int $mode) | |
getModeInfoText (int $mode) | |
getSettingsInfo () | |
getCollectionInstance () | |
getMembers (bool $search=true) | |
resetLPDataForCompleteObject (bool $recursive=true) | |
resetLPDataForUserIds (array $user_ids, bool $recursive=true) | |
handleToTrash () | |
handleDelete () | |
getMailTemplateId () | |
hasIndividualModeOptions () | |
initInvidualModeOptions (ilRadioGroupInputGUI $modeRadio) | |
shouldFetchIndividualModeFromFormSubmission () | |
fetchIndividualModeFromFormSubmission (ilPropertyFormGUI $form) | |
appendModeConfiguration (int $mode, ilRadioOption $modeElement) | |
saveModeConfiguration (ilPropertyFormGUI $form, bool &$modeChanged) | |
Static Public Member Functions | |
static | getDefaultModes (bool $a_lp_active) |
![]() | |
static | getInstance (int $obj_id) |
static | getTypeClass (string $type) |
static | getSupportedObjectTypes () |
static | isSupportedObjectType (string $type) |
static | handleMove (int $source_ref_id) |
static | getLPMemberships (int $usr_id, array $obj_ids, ?int $parent_ref_id=null, bool $mapped_ref_ids=false) |
Get all objects where given user is member (from LP POV) More... | |
static | supportsSpentSeconds (string $obj_type) |
static | supportsMark (string $obj_type) |
static | supportsMatrixView (string $obj_type) |
static | getDefaultModes (bool $lp_active) |
Get available type-specific default modes (no administration needed) More... | |
static | saveTypeDefaults (array $data) |
static | getTypeDefault (string $type) |
Protected Member Functions | |
checkObjectives () | |
![]() | |
__construct (int $obj_id) | |
resetCustomLPDataForUserIds (array $user_ids, bool $recursive=true) | |
gatherLPUsers () | |
updateParentCollections () | |
Static Protected Member Functions | |
static | isLPMember (array &$a_res, int $a_usr_id, array $a_obj_ids) |
![]() | |
static | isLPMember (array &$res, int $usr_id, array $obj_ids) |
Find (lp-relevant) members for given object ids. More... | |
static | findMembershipsByPath (array &$res, int $usr_id, int $parent_ref_id, array $obj_ids, bool $mapped_ref_ids=false) |
Find (lp-relevant) memberships by path. More... | |
static | getTypeDefaultFromDB (string $type) |
Additional Inherited Members | |
![]() | |
ilTree | $tree |
ilDBInterface | $db |
ilObjectDefinition | $objectDefinition |
int | $obj_id |
ilLPCollection | $collection_instance = null |
int | $mode = null |
![]() | |
static array | $type_defaults = null |
Definition at line 26 of file class.ilCourseLP.php.
|
protected |
Definition at line 70 of file class.ilCourseLP.php.
References ilObjCourse\_lookupViewMode(), and ilCourseConstants\IL_CRS_VIEW_OBJECTIVE.
Referenced by getCurrentMode(), getDefaultMode(), and getValidModes().
ilCourseLP::getCurrentMode | ( | ) |
Definition at line 62 of file class.ilCourseLP.php.
References checkObjectives(), and ilLPObjSettings\LP_MODE_OBJECTIVES.
ilCourseLP::getDefaultMode | ( | ) |
Definition at line 42 of file class.ilCourseLP.php.
References checkObjectives(), ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, and ilLPObjSettings\LP_MODE_OBJECTIVES.
|
static |
Definition at line 28 of file class.ilCourseLP.php.
References ilLPObjSettings\LP_MODE_DEACTIVATED, and ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR.
ilCourseLP::getMailTemplateId | ( | ) |
Definition at line 127 of file class.ilCourseLP.php.
References ilCourseMailTemplateTutorContext\ID.
ilCourseLP::getMembers | ( | bool | $a_search = true | ) |
Definition at line 92 of file class.ilCourseLP.php.
References ilCourseParticipants\_getInstanceByObjId().
ilCourseLP::getSettingsInfo | ( | ) |
Definition at line 75 of file class.ilCourseLP.php.
References $DIC, $lng, and ilObjCourse\STATUS_DETERMINATION_LP.
ilCourseLP::getValidModes | ( | ) |
Definition at line 50 of file class.ilCourseLP.php.
References checkObjectives(), ilLPObjSettings\LP_MODE_COLLECTION, ilLPObjSettings\LP_MODE_DEACTIVATED, ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, and ilLPObjSettings\LP_MODE_OBJECTIVES.
|
staticprotected |
Definition at line 98 of file class.ilCourseLP.php.
References $DIC, $ilDB, $query, and ILIAS\Repository\int().