19declare(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->view_settings->getView());
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(),
97 if ($this->
access->checkAccess(
'leave',
'', $ref_id)) {
101 $lso->getLSRoles()->leave($this->
user->getId());
109 $this->main_tpl->setOnScreenMessage(
'success', $this->
lng->txt(
'mmbr_unsubscribed_from_objs'),
true);
110 $this->
ctrl->returnToParent($this);
confirmedRemove(array $ids)
static checkForumsExistsDelete(int $ref_id, int $user_id)
const LP_STATUS_IN_PROGRESS_NUM
static _lookupStatus(int $a_obj_id, int $a_user_id, bool $a_create=true)
Lookup status.
static getInstanceByRefId(int $ref_id)
static _lookupType(int $id, bool $reference=false)
static _getAllReferences(int $id)
get all reference ids for object ID
static _getMembershipByType(int $a_usr_id, array $a_type, bool $a_only_member_role=false)
get membership by type Get course or group membership
This describes the specific behavior of an ILIAS standard icon.
const VIEW_LEARNING_SEQUENCES