|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilLearningSequenceRoles:Public Member Functions | |
| __construct (int $ls_ref_id, int $ls_obj_id, ilLearningSequenceParticipants $participants, ilCtrl $ctrl, ilRbacAdmin $rbacadmin, ilRbacReview $rbacreview, ilDBInterface $database, ilObjUser $user, ilLanguage $lng) | |
| initDefaultRoles () | |
| getLocalLearningSequenceRoles (bool $translate=false) | |
| getDefaultMemberRole () | |
| getDefaultAdminRole () | |
| addLSMember (int $user_id, int $role) | |
| join (int $user_id, int $role=null) | |
| leave (int $user_id) | |
| getLearningSequenceAdminIds () | |
| getDefaultLearningSequenceRoles (string $lso_id) | |
| readMemberData (array $user_ids, array $selected_columns=null) | |
| isMember (int $usr_id) | |
| isCompletedByUser (int $usr_id) | |
Data Fields | |
| const | ROLE_LS_ADMIN = "il_lso_admin" |
| const | ROLE_LS_MEMBER = "il_lso_member" |
| const | TYPE_PORTFOLIO = "prtf" |
Protected Member Functions | |
| getRoleObject (int $obj_id) | |
| isTrackingEnabled () | |
| isPortfolio (array $columns=null) | |
Protected Attributes | |
| int | $ref_id |
| int | $obj_id |
| ilLearningSequenceParticipants | $participants |
| ilCtrl | $ctrl |
| ilRbacAdmin | $rbacadmin |
| ilRbacReview | $rbacreview |
| ilDBInterface | $database |
| ilObjUser | $user |
| ilLanguage | $lng |
| array | $local_roles |
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 Provides Role actions.
Definition at line 24 of file class.ilLearningSequenceRoles.php.
| ilLearningSequenceRoles::__construct | ( | int | $ls_ref_id, |
| int | $ls_obj_id, | ||
| ilLearningSequenceParticipants | $participants, | ||
| ilCtrl | $ctrl, | ||
| ilRbacAdmin | $rbacadmin, | ||
| ilRbacReview | $rbacreview, | ||
| ilDBInterface | $database, | ||
| ilObjUser | $user, | ||
| ilLanguage | $lng | ||
| ) |
Definition at line 43 of file class.ilLearningSequenceRoles.php.
References $ctrl, $database, $lng, $participants, $rbacadmin, $rbacreview, $user, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilLearningSequenceRoles::addLSMember | ( | int | $user_id, |
| int | $role | ||
| ) |
Definition at line 124 of file class.ilLearningSequenceRoles.php.
References join().
Here is the call graph for this function:| ilLearningSequenceRoles::getDefaultAdminRole | ( | ) |
Definition at line 118 of file class.ilLearningSequenceRoles.php.
References $ref_id, and getLocalLearningSequenceRoles().
Here is the call graph for this function:| ilLearningSequenceRoles::getDefaultLearningSequenceRoles | ( | string | $lso_id | ) |
Definition at line 165 of file class.ilLearningSequenceRoles.php.
References $ref_id, and getRoleObject().
Here is the call graph for this function:| ilLearningSequenceRoles::getDefaultMemberRole | ( | ) |
Definition at line 112 of file class.ilLearningSequenceRoles.php.
References $ref_id, and getLocalLearningSequenceRoles().
Referenced by join().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningSequenceRoles::getLearningSequenceAdminIds | ( | ) |
Definition at line 152 of file class.ilLearningSequenceRoles.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ilLearningSequenceRoles::getLocalLearningSequenceRoles | ( | bool | $translate = false | ) |
Definition at line 87 of file class.ilLearningSequenceRoles.php.
References $local_roles, ilObjRole\_getTranslation(), and getRoleObject().
Referenced by getDefaultAdminRole(), and getDefaultMemberRole().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 192 of file class.ilLearningSequenceRoles.php.
References $obj_id, and ilObjectFactory\getInstanceByObjId().
Referenced by getDefaultLearningSequenceRoles(), and getLocalLearningSequenceRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningSequenceRoles::initDefaultRoles | ( | ) |
Definition at line 67 of file class.ilLearningSequenceRoles.php.
References ilObjRole\createDefaultRole().
Here is the call graph for this function:| ilLearningSequenceRoles::isCompletedByUser | ( | int | $usr_id | ) |
Definition at line 303 of file class.ilLearningSequenceRoles.php.
References ilObjUserTracking\_enabledLearningProgress(), ilLPStatus\_hasUserCompleted(), and ilLPStatusWrapper\_updateStatus().
Here is the call graph for this function:| ilLearningSequenceRoles::isMember | ( | int | $usr_id | ) |
Definition at line 298 of file class.ilLearningSequenceRoles.php.
|
protected |
Definition at line 290 of file class.ilLearningSequenceRoles.php.
Referenced by readMemberData().
Here is the caller graph for this function:
|
protected |
Definition at line 282 of file class.ilLearningSequenceRoles.php.
References ilObjUserTracking\_enabledLearningProgress(), and ilObjUserTracking\_enabledUserRelatedData().
Referenced by readMemberData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningSequenceRoles::join | ( | int | $user_id, |
| int | $role = null |
||
| ) |
Definition at line 129 of file class.ilLearningSequenceRoles.php.
References getDefaultMemberRole().
Referenced by addLSMember().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningSequenceRoles::leave | ( | int | $user_id | ) |
Definition at line 138 of file class.ilLearningSequenceRoles.php.
| ilLearningSequenceRoles::readMemberData | ( | array | $user_ids, |
| array | $selected_columns = null |
||
| ) |
| array<int|string> | $user_ids | |
| string[] | $columns |
Definition at line 202 of file class.ilLearningSequenceRoles.php.
References $data, $name, ilLPStatusWrapper\_lookupCompletedForObject(), ilLPStatusWrapper\_lookupFailedForObject(), ilLPStatusWrapper\_lookupInProgressForObject(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilLearningProgress\_lookupProgressByObjId(), ilObjUser\_readUsersProfileData(), ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilObjPortfolio\getAvailablePortfolioLinksForUserIds(), ilPrivacySettings\getInstance(), ilObjectLP\getInstance(), IL_CAL_UNIX, isPortfolio(), isTrackingEnabled(), ILIAS\Repository\lng(), ilLPStatus\LP_STATUS_COMPLETED, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_IN_PROGRESS, and ilLPStatus\LP_STATUS_NOT_ATTEMPTED.
Here is the call graph for this function:
|
protected |
Definition at line 34 of file class.ilLearningSequenceRoles.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilLearningSequenceRoles.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilLearningSequenceRoles.php.
Referenced by __construct().
|
protected |
Definition at line 41 of file class.ilLearningSequenceRoles.php.
Referenced by getLocalLearningSequenceRoles().
|
protected |
Definition at line 32 of file class.ilLearningSequenceRoles.php.
Referenced by getRoleObject().
|
protected |
Definition at line 33 of file class.ilLearningSequenceRoles.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilLearningSequenceRoles.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilLearningSequenceRoles.php.
Referenced by __construct().
|
protected |
Definition at line 31 of file class.ilLearningSequenceRoles.php.
Referenced by getDefaultAdminRole(), getDefaultLearningSequenceRoles(), and getDefaultMemberRole().
|
protected |
Definition at line 38 of file class.ilLearningSequenceRoles.php.
Referenced by __construct().
| const ilLearningSequenceRoles::ROLE_LS_ADMIN = "il_lso_admin" |
Definition at line 26 of file class.ilLearningSequenceRoles.php.
| const ilLearningSequenceRoles::ROLE_LS_MEMBER = "il_lso_member" |
Definition at line 27 of file class.ilLearningSequenceRoles.php.
| const ilLearningSequenceRoles::TYPE_PORTFOLIO = "prtf" |
Definition at line 29 of file class.ilLearningSequenceRoles.php.