24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
51 $this->
setRowTemplate(
'tpl.calendar_shared_role_list_row.html',
'Services/Calendar');
54 $this->
addColumn($this->lng->txt(
'objs_role'),
'title',
'75%');
55 $this->
addColumn($this->lng->txt(
'assigned_members'),
'num',
'25%');
57 $this->
addMultiCommand(
'shareAssignRoles',$this->lng->txt(
'cal_share_cal'));
71 $this->role_ids = $a_role_ids;
83 $this->tpl->setVariable(
'VAL_ID',$a_set[
'id']);
85 $this->tpl->setVariable(
'TITLE',$a_set[
'title']);
86 if(strlen($a_set[
'description']))
88 $this->tpl->setVariable(
'DESCRIPTION',$a_set[
'description']);
90 $this->tpl->setVariable(
'NUM_USERS',$a_set[
'num']);
105 foreach($this->role_ids as $id)
109 $tmp_data[
'id'] = $id;
110 $tmp_data[
'num'] = count($rbacreview->assignedUsers($id));
112 $roles[] = $tmp_data;
115 $this->
setData($roles ? $roles : array());