3 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
25 $GLOBALS[
'lng']->loadLanguageModule(
'ps');
26 if(self::$all_columns)
28 # return self::$all_columns;
31 include_once
'./Services/PrivacySecurity/classes/class.ilExportFieldsInfo.php';
33 self::$all_columns = $ef->getSelectableFieldsInfo($this->
getParentObject()->object->getId());
35 if ($this->type ==
'member' &&
36 $ilSetting->get(
'user_portfolios'))
38 self::$all_columns[
'prtf'] = array(
39 'txt' => $this->lng->txt(
'obj_prtf'),
54 if(!self::$confirmation_required)
58 if(!self::$export_allowed)
62 return in_array($a_usr_id,self::$accepted_ids);
71 if(self::$accepted_ids !== NULL)
78 include_once
'Services/Membership/classes/class.ilMemberAgreement.php';
81 include_once(
'Modules/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php');
92 if(!$this->show_edit_link)
97 if(!self::$has_odf_definitions)
99 $this->ctrl->setParameter($this->parent_obj,
'member_id', $a_set[
'usr_id']);
100 $this->tpl->setCurrentBlock(
'link');
101 $this->tpl->setVariable(
'LINK_NAME', $this->ctrl->getLinkTarget($this->parent_obj,
'editMember'));
102 $this->tpl->setVariable(
'LINK_TXT', $this->lng->txt(
'edit'));
103 $this->tpl->parseCurrentBlock();
108 include_once
'./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
110 $list->setSelectionHeaderClass(
'small');
111 $list->setItemLinkClass(
'small');
112 $list->setId(
'actl_'.$a_set[
'usr_id'].
'_'.$this->
getId());
113 $list->setListTitle($this->lng->txt(
'actions'));
115 $this->ctrl->setParameter($this->parent_obj,
'member_id', $a_set[
'usr_id']);
116 $list->addItem($this->lng->txt(
'edit'),
'', $this->ctrl->getLinkTarget($this->
getParentObject(),
'editMember'));
118 $this->ctrl->setParameterByClass(
'ilobjectcustomuserfieldsgui',
'member_id',$a_set[
'usr_id']);
120 $trans = $this->lng->txt($this->
getParentObject()->object->getType().
'_cdf_edit_member');
121 $list->addItem($trans,
'', $this->ctrl->getLinkTargetByClass(
'ilobjectcustomuserfieldsgui',
'editMember'));
124 $this->tpl->setVariable(
'ACTION_USER',$list->getHTML());