ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilCourseReferencePathInfo
Definition at line 22 of file class.ilCourseReferencePathInfo.php.
ilCourseReferencePathInfo::__construct | ( | int | $ref_id, |
int | $target_ref_id = 0 |
||
) |
ilCourseReferencePathInfo constructor.
Definition at line 75 of file class.ilCourseReferencePathInfo.php.
References $DIC, $ref_id, $target_ref_id, ILIAS\Repository\access(), init(), and ILIAS\Repository\logger().
ilCourseReferencePathInfo::checkManagmentAccess | ( | ) |
Check manage member for both target and parent course.
Definition at line 175 of file class.ilCourseReferencePathInfo.php.
References ILIAS\Repository\access(), hasParentCourse(), and ILIAS\Repository\logger().
|
static |
int | $ref_id | |
int | $target_ref_id |
Definition at line 98 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 142 of file class.ilCourseReferencePathInfo.php.
References $parent_course_ref_id.
Referenced by init().
ilCourseReferencePathInfo::getTargetId | ( | ) |
Definition at line 158 of file class.ilCourseReferencePathInfo.php.
References $target_ref_id.
ilCourseReferencePathInfo::hasParentCourse | ( | ) |
Definition at line 150 of file class.ilCourseReferencePathInfo.php.
References $has_parent_course.
Referenced by checkManagmentAccess().
|
protected |
Init path info.
Definition at line 190 of file class.ilCourseReferencePathInfo.php.
References ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilContainerReference\_lookupTargetId(), getParentCourseRefId(), and ilObjCourseReference\lookupMemberUpdateEnabled().
Referenced by __construct().
ilCourseReferencePathInfo::isMemberUpdateEnabled | ( | ) |
Definition at line 166 of file class.ilCourseReferencePathInfo.php.
References $member_update_enabled.
|
static |
int | $course_ref_id | |
int[] | $participants |
Definition at line 112 of file class.ilCourseReferencePathInfo.php.
References $DIC, $tree, and ilParticipants\getInstance().
Referenced by ilMembershipGUI\confirmDeleteParticipants().
|
private |
Definition at line 42 of file class.ilCourseReferencePathInfo.php.
|
private |
Definition at line 58 of file class.ilCourseReferencePathInfo.php.
Referenced by hasParentCourse().
|
staticprivate |
Definition at line 27 of file class.ilCourseReferencePathInfo.php.
|
private |
Definition at line 32 of file class.ilCourseReferencePathInfo.php.
|
private |
Definition at line 69 of file class.ilCourseReferencePathInfo.php.
Referenced by isMemberUpdateEnabled().
|
private |
Definition at line 63 of file class.ilCourseReferencePathInfo.php.
Referenced by getParentCourseRefId().
|
private |
Definition at line 47 of file class.ilCourseReferencePathInfo.php.
Referenced by __construct(), and getInstanceByRefId().
|
private |
Definition at line 52 of file class.ilCourseReferencePathInfo.php.
Referenced by __construct(), getInstanceByRefId(), and getTargetId().
|
private |
Definition at line 37 of file class.ilCourseReferencePathInfo.php.
Referenced by isReferenceMemberUpdateConfirmationRequired().