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'),
44 return self::$all_columns;
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)
77 self::$confirmation_required = ($this->
getParentObject()->object->getType() ==
'crs')
81 include_once
'Services/Membership/classes/class.ilMemberAgreement.php';
84 include_once(
'Modules/Course/classes/Export/class.ilCourseDefinedFieldDefinition.php');
95 if(!$this->show_edit_link)
105 if(!self::$has_odf_definitions and !$loc_enabled)
107 $this->ctrl->setParameter($this->parent_obj,
'member_id', $a_set[
'usr_id']);
108 $this->tpl->setCurrentBlock(
'link');
109 $this->tpl->setVariable(
'LINK_NAME', $this->ctrl->getLinkTarget($this->parent_obj,
'editMember'));
110 $this->tpl->setVariable(
'LINK_TXT', $this->lng->txt(
'edit'));
111 $this->tpl->parseCurrentBlock();
116 include_once
'./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
118 $list->setSelectionHeaderClass(
'small');
119 $list->setItemLinkClass(
'small');
120 $list->setId(
'actl_'.$a_set[
'usr_id'].
'_'.$this->
getId());
121 $list->setListTitle($this->lng->txt(
'actions'));
123 $this->ctrl->setParameter($this->parent_obj,
'member_id', $a_set[
'usr_id']);
124 $list->addItem($this->lng->txt(
'edit'),
'', $this->ctrl->getLinkTarget($this->
getParentObject(),
'editMember'));
126 if(self::$has_odf_definitions)
128 $this->ctrl->setParameterByClass(
'ilobjectcustomuserfieldsgui',
'member_id',$a_set[
'usr_id']);
129 $trans = $this->lng->txt($this->
getParentObject()->object->getType().
'_cdf_edit_member');
130 $list->addItem($trans,
'', $this->ctrl->getLinkTargetByClass(
'ilobjectcustomuserfieldsgui',
'editMember'));
135 $this->ctrl->setParameterByClass(
'illomembertestresultgui',
'uid', $a_set[
'usr_id']);
137 $this->lng->txt(
'crs_loc_mem_show_res'),
139 $this->ctrl->getLinkTargetByClass(
'illomembertestresultgui',
'')
143 $this->tpl->setVariable(
'ACTION_USER',$list->getHTML());
showActionLinks($a_set)
show edit links
const IL_CRS_VIEW_OBJECTIVE
static $has_odf_definitions
initSettings()
Init acceptance.
getParentObject()
Get parent object.
static _getInstanceByType($a_type)
Get Singleton Instance.
getSelectableColumns()
Get selectable columns.
static _hasFields($a_container_id)
Check if there are any define fields.
User interface class for advanced drop-down selection lists.
static $confirmation_required
checkAcceptance($a_usr_id)
Check acceptance.
static _getInstance()
Get instance of ilPrivacySettings.
$GLOBALS['PHPCAS_CLIENT']
This global variable is used by the interface class phpCAS.
static lookupAcceptedAgreements($a_obj_id)
Lookup users who have accepted the agreement.