5 include_once
'./Services/Membership/classes/class.ilMembershipGUI.php';
27 return $GLOBALS[
'DIC']->access()->filterUserIdsByRbacOrPositionOfCurrentUser(
40 if (empty($user_ids[0])) {
41 $this->lng->loadLanguageModule(
'search');
47 foreach ((
array) $user_ids as $new_member) {
54 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
64 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
81 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
96 $this->ctrl->redirect($this,
'participants');
104 $participants = (
array)
$_POST[
'visible_member_ids'];
106 foreach ($participants as $mem_id) {
108 $this->
getMembersObject()->updateNotification($mem_id, in_array($mem_id, $notification));
114 $this->ctrl->redirect($this,
'participants');
123 include_once
'./Services/Tracking/classes/class.ilObjUserTracking.php';
127 if ($show_tracking) {
128 include_once(
'./Services/Object/classes/class.ilObjectLP.php');
130 $show_tracking = $olp->isActive();
133 include_once
'./Modules/Group/classes/class.ilGroupParticipantsTableGUI.php';
148 include_once
'./Modules/Group/classes/class.ilGroupEditParticipantsTableGUI.php';
150 $table->setTitle($this->lng->txt($this->getParentObject()->getType() .
'_header_edit_members'));
163 $this->tpl->addBlockFile(
'ADM_CONTENT',
'adm_content',
'tpl.grp_edit_members.html',
'Modules/Group');
188 include_once
'./Modules/Group/classes/class.ilGroupWaitingList.php';
198 return $this->
getParentGUI()->object->getDefaultMemberRole();
208 $member_data = $this->
getParentGUI()->addCustomData($member_data);
220 $data = $this->member_data[$a_user_id];
222 $data[
'progress'] = $this->lng->txt(
$data[
'progress']);
initParticipantTableGUI()
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
readMemberData(array $usr_ids, array $columns)
Required for member table guis.
Base class for member tab content.
updateLPFromStatus()
Update lp from status.
getMembersObject()
Get member object.
initParticipantTemplate()
Init participant view template.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
assignMembers($user_ids, $a_type)
public
static _enabledUserRelatedData()
check wether user related tracking is enabled or not
static _enabledLearningProgress()
check wether learing progress is enabled or not
initWaitingList()
init waiting list
updateParticipantsStatus()
save in participants table
initEditParticipantTableGUI(array $participants)
init edit participants table gui
getParentGUI()
Get parent gui.
Create styles array
The data for the language used.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
GUI class for membership features.
static getLogger($a_component_id)
Get component logger.
getParentObject()
Get parent object.
const TYPE_ADMISSION_MEMBER
if(empty($password)) $table
static getInstance($a_obj_id)
getPrintMemberData($a_members)
getLocalTypeRole($a_translation=false)
getAttendanceListUserData($a_user_id)
Callback from attendance list.
filterUserIdsByRbacOrPositionOfCurrentUser($a_user_ids)
Filter user ids by access.