5 include_once
'./Services/Membership/classes/class.ilMembershipGUI.php';
36 return $GLOBALS[
'DIC']->access()->filterUserIdsByRbacOrPositionOfCurrentUser(
49 if (empty($user_ids[0])) {
50 $this->lng->loadLanguageModule(
'search');
56 foreach ((array) $user_ids as $new_member) {
63 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
73 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
90 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
101 ilUtil::sendSuccess($this->lng->txt(
"grp_msg_member_assigned"),
true);
103 ilUtil::sendSuccess($this->lng->txt(
'grp_users_already_assigned'),
true);
105 $this->ctrl->redirect($this,
'participants');
113 $participants = (array)
$_POST[
'visible_member_ids'];
114 $notification = (array)
$_POST[
'notification'];
115 $contact = (array)
$_POST[
'contact'];
119 foreach ($participants as $mem_id) {
121 $this->
getMembersObject()->updateContact($mem_id, in_array($mem_id, $contact));
122 $this->
getMembersObject()->updateNotification($mem_id, in_array($mem_id, $notification));
128 ilUtil::sendSuccess($this->lng->txt(
'settings_saved'),
true);
129 $this->ctrl->redirect($this,
'participants');
138 include_once
'./Services/Tracking/classes/class.ilObjUserTracking.php';
142 if ($show_tracking) {
143 include_once(
'./Services/Object/classes/class.ilObjectLP.php');
145 $show_tracking = $olp->isActive();
148 include_once
'./Modules/Group/classes/class.ilGroupParticipantsTableGUI.php';
163 include_once
'./Modules/Group/classes/class.ilGroupEditParticipantsTableGUI.php';
165 $table->setTitle($this->lng->txt($this->getParentObject()->getType() .
'_header_edit_members'));
178 $this->tpl->addBlockFile(
'ADM_CONTENT',
'adm_content',
'tpl.grp_edit_members.html',
'Modules/Group');
203 include_once
'./Modules/Group/classes/class.ilGroupWaitingList.php';
213 return $this->
getParentGUI()->object->getDefaultMemberRole();
223 $member_data = $this->
getParentGUI()->addCustomData($member_data);
234 if (is_array($this->member_data) && array_key_exists($a_user_id, $this->member_data)) {
235 $user_data = $this->member_data[$a_user_id];
236 $user_data[
'access'] = $this->member_data[
'access_time'];
237 $user_data[
'progress'] = $this->lng->txt($this->member_data[
'progress']);
initParticipantTableGUI()
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.
assignMembers($user_ids, $a_type)
public
Class ilMailMemberCourseRoles.
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.
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)
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.
getAttendanceListUserData($a_user_id)
Callback from attendance list.
filterUserIdsByRbacOrPositionOfCurrentUser($a_user_ids)
Filter user ids by access.