ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilCourseReferencePathInfo. More...
Public Member Functions | |
__construct (int $ref_id, int $target_ref_id=0) | |
ilCourseReferencePathInfo constructor. More... | |
getParentCourseRefId () | |
hasParentCourse () | |
getTargetId () | |
isMemberUpdateEnabled () | |
checkManagmentAccess () | |
Check manage member for both target and parent course. More... | |
Static Public Member Functions | |
static | getInstanceByRefId (int $ref_id, int $target_ref_id=0) |
static | isReferenceMemberUpdateConfirmationRequired (int $course_ref_id, array $participants) |
Protected Member Functions | |
init () | |
Init path info. More... | |
Private Attributes | |
$logger = null | |
$tree = null | |
$access = null | |
$ref_id = 0 | |
$target_ref_id = 0 | |
$has_parent_course = false | |
$parent_course_ref_id = 0 | |
$member_update_enabled = false | |
Static Private Attributes | |
static | $instances = [] |
Class ilCourseReferencePathInfo.
Definition at line 8 of file class.ilCourseReferencePathInfo.php.
ilCourseReferencePathInfo::__construct | ( | int | $ref_id, |
int | $target_ref_id = 0 |
||
) |
ilCourseReferencePathInfo constructor.
Definition at line 61 of file class.ilCourseReferencePathInfo.php.
References $DIC, $ref_id, $target_ref_id, and init().
ilCourseReferencePathInfo::checkManagmentAccess | ( | ) |
Check manage member for both target and parent course.
Definition at line 161 of file class.ilCourseReferencePathInfo.php.
References hasParentCourse().
|
static |
int | $ref_id | |
int | $target_ref_id |
Definition at line 84 of file class.ilCourseReferencePathInfo.php.
References $ref_id, and $target_ref_id.
Referenced by ilCourseReferenceAppEventListener\handleReferences(), ilObjCourseReferenceGUI\initForm(), ilObjCourseReferenceGUI\loadPropertiesFromSettingsForm(), and ilCourseReferenceDeleteConfirmationTableGUI\readLinkedCourseAssignments().
ilCourseReferencePathInfo::getParentCourseRefId | ( | ) |
Definition at line 128 of file class.ilCourseReferencePathInfo.php.
References $parent_course_ref_id.
Referenced by init().
ilCourseReferencePathInfo::getTargetId | ( | ) |
Definition at line 144 of file class.ilCourseReferencePathInfo.php.
References $target_ref_id.
ilCourseReferencePathInfo::hasParentCourse | ( | ) |
Definition at line 136 of file class.ilCourseReferencePathInfo.php.
References $has_parent_course.
Referenced by checkManagmentAccess().
|
protected |
Init path info.
Definition at line 176 of file class.ilCourseReferencePathInfo.php.
References ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilContainerReference\_lookupTargetId(), getParentCourseRefId(), and ilObjCourseReference\lookupMemberUpdateEnabled().
Referenced by __construct().
ilCourseReferencePathInfo::isMemberUpdateEnabled | ( | ) |
Definition at line 152 of file class.ilCourseReferencePathInfo.php.
References $member_update_enabled.
|
static |
int | $course_ref_id | |
int[] | $participants |
Definition at line 98 of file class.ilCourseReferencePathInfo.php.
References $DIC, $tree, and ilParticipants\getInstance().
Referenced by ilMembershipGUI\confirmDeleteParticipants().
|
private |
Definition at line 28 of file class.ilCourseReferencePathInfo.php.
|
private |
Definition at line 44 of file class.ilCourseReferencePathInfo.php.
Referenced by hasParentCourse().
|
staticprivate |
Definition at line 13 of file class.ilCourseReferencePathInfo.php.
|
private |
Definition at line 18 of file class.ilCourseReferencePathInfo.php.
|
private |
Definition at line 55 of file class.ilCourseReferencePathInfo.php.
Referenced by isMemberUpdateEnabled().
|
private |
Definition at line 49 of file class.ilCourseReferencePathInfo.php.
Referenced by getParentCourseRefId().
|
private |
Definition at line 33 of file class.ilCourseReferencePathInfo.php.
Referenced by __construct(), and getInstanceByRefId().
|
private |
Definition at line 38 of file class.ilCourseReferencePathInfo.php.
Referenced by __construct(), getInstanceByRefId(), and getTargetId().
|
private |
Definition at line 23 of file class.ilCourseReferencePathInfo.php.
Referenced by isReferenceMemberUpdateConfirmationRequired().