19 declare(strict_types=1);
28 if (!isset($this->icon) || is_null($this->icon)) {
29 $this->icon = $this->
factory->symbol()->icon()->standard(
51 $this->
ctrl->setParameter($this,
'view', $this->viewSettings->getCurrentView());
58 foreach ($assignments as $assignment) {
60 $lso_ref_id = array_shift($ref_ids);
73 if (!$this->
access->checkAccess(
'read',
'', $lso_ref_id)) {
82 $lso_obj->getDescription(),
92 if ($ls_lp_items === []) {
96 foreach ($ls_lp_items as $item) {
113 if ($this->
access->checkAccess(
'leave',
'', $ref_id)) {
117 $lso->getLSRoles()->leave($this->
user->getId());
125 $this->main_tpl->setOnScreenMessage(
'success', $this->
lng->txt(
'mmbr_unsubscribed_from_objs'),
true);
126 $this->
ctrl->returnToParent($this);
136 return $this->
lng->txt(
'pd_unsubscribe_multiple_memberships');
static _getAllReferences(int $id)
get all reference ids for object ID
const LP_STATUS_IN_PROGRESS_NUM
const VIEW_LEARNING_SEQUENCES
isRelevantLso(ilObjLearningSequence $obj)
static getInstanceByRefId(int $ref_id)
getLSLearnerItems(int $usr_id)
confirmedRemove(array $ids)
This describes the specific behavior of an ILIAS standard icon.
getRemoveMultipleActionText()
static _getMembershipByType(int $a_usr_id, array $a_type, bool $a_only_member_role=false)
get membership by type Get course or group membership
static _lookupType(int $id, bool $reference=false)
static checkForumsExistsDelete(int $ref_id, int $user_id)