ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ilMemberExportGUI Class Reference
+ Inheritance diagram for ilMemberExportGUI:
+ Collaboration diagram for ilMemberExportGUI:

Public Member Functions

 __construct (int $a_ref_id)
 Constructor @access public. More...
 
 executeCommand ()
 
 initCSV (?ilPropertyFormGUI $a_form=null)
 
 initExcel (?ilPropertyFormGUI $a_form=null)
 
 show ()
 
 export ()
 Export, create member export file and store it in data directory. More...
 
 exportExcel ()
 
 deliverData ()
 
 showFileList ()
 Show file list of available export files. More...
 
 downloadExportFile (array $ids)
 Download export file. More...
 
 confirmDeleteExportFile (array $ids)
 Confirm deletion of export files. More...
 
 deleteExportFile ()
 Delete member export files. More...
 

Protected Member Functions

 initSettingsForm (bool $a_is_excel=false)
 
 handleIncoming ()
 
 getTableActionURLBuilder ()
 
 handleTableAction ()
 
 initFileIdsFromPost ()
 
 initFileSystemStorage ()
 

Protected Attributes

GlobalHttpState $http
 
Factory $refinery
 
ilCtrl $ctrl
 
ilGlobalTemplateInterface $tpl
 
ilLanguage $lng
 
ilToolbarGUI $toolbar
 
ilObjUser $user
 
Profile $profile
 
UIRenderer $ui_renderer
 
UIFactory $ui_factory
 
DataFactory $data_factory
 
ilMemberExport $export = null
 
ilExportFieldsInfo $fields_info = null
 
ilFileSystemAbstractionStorage $fss_export = null
 
ilUserFormSettings $exportSettings
 

Private Attributes

int $ref_id
 
int $obj_id
 
string $type
 

Detailed Description

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om \

Definition at line 37 of file class.ilMemberExportGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilMemberExportGUI::__construct ( int  $a_ref_id)

Constructor @access public.

Parameters

Definition at line 66 of file class.ilMemberExportGUI.php.

67 {
68 global $DIC;
69
70 $this->http = $DIC->http();
71 $this->refinery = $DIC->refinery();
72
73 $this->ctrl = $DIC->ctrl();
74 $this->tpl = $DIC->ui()->mainTemplate();
75 $this->toolbar = $DIC->toolbar();
76 $this->user = $DIC->user();
77 $this->profile = $DIC['user']->getProfile();
78 $this->lng = $DIC->language();
79 $this->lng->loadLanguageModule('ps');
80 $this->ui_factory = $DIC->ui()->factory();
81 $this->ui_renderer = $DIC->ui()->renderer();
82 $this->data_factory = new DataFactory();
83 $this->ref_id = $a_ref_id;
84 $this->obj_id = ilObject::_lookupObjId($this->ref_id);
85 $this->type = ilObject::_lookupType($this->obj_id);
86
87 $this->fields_info = ilExportFieldsInfo::_getInstanceByType($this->type);
88 $this->initFileSystemStorage();
89 }
static _getInstanceByType(string $a_type)
Get Singleton Instance.
static _lookupType(int $id, bool $reference=false)
static _lookupObjId(int $ref_id)
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:26

References $DIC, ilExportFieldsInfo\_getInstanceByType(), ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), initFileSystemStorage(), ILIAS\Repository\lng(), ILIAS\Repository\profile(), ILIAS\Repository\refinery(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ confirmDeleteExportFile()

ilMemberExportGUI::confirmDeleteExportFile ( array  $ids)

Confirm deletion of export files.

Parameters
string[]$ids

Definition at line 459 of file class.ilMemberExportGUI.php.

459 : void
460 {
461 if (!count($ids)) {
462 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('ps_select_one'), true);
463 $this->ctrl->redirect($this, 'show');
464 }
465 $confirmation_gui = new ilConfirmationGUI();
466 $confirmation_gui->setFormAction($this->ctrl->getFormAction($this));
467 $confirmation_gui->setHeaderText($this->lng->txt('info_delete_sure') /* .' '.$this->lng->txt('ps_delete_export_files') */);
468 $confirmation_gui->setCancel($this->lng->txt('cancel'), 'show');
469 $confirmation_gui->setConfirm($this->lng->txt('delete'), 'deleteExportFile');
470 foreach ($this->fss_export->getMemberExportFiles() as $file) {
471 if (!in_array(md5($file['name']), $ids)) {
472 continue;
473 }
474 $confirmation_gui->addItem(
475 "id[]",
476 md5($file['name']),
477 strtoupper($file['type']) . ' - ' .
479 );
480 }
481 $this->tpl->setContent($confirmation_gui->getHTML());
482 }
const IL_CAL_UNIX
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ?ilObjUser $user=null,)
@classDescription Date and time handling

References ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), IL_CAL_UNIX, and ILIAS\Repository\lng().

Referenced by handleTableAction().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deleteExportFile()

ilMemberExportGUI::deleteExportFile ( )

Delete member export files.

Reimplemented in ilPRGMembersExportGUI.

Definition at line 487 of file class.ilMemberExportGUI.php.

487 : void
488 {
489 $file_ids = $this->initFileIdsFromPost();
490 if (!count($file_ids)) {
491 $this->ctrl->redirect($this, 'show');
492 }
493 foreach ($this->fss_export->getMemberExportFiles() as $file) {
494 if (!in_array(md5($file['name']), $file_ids)) {
495 continue;
496 }
497
498 $path = $file['timest'] . '_participant_export_' .
499 $file['type'] . '_' . $this->obj_id . '.' . $file['type'];
500 if ($this->fss_export->hasMemberExportFile($path)) {
501 $this->fss_export->deleteMemberExportFile($path);
502 continue;
503 }
504
505 if ($file['type'] !== "xls") {
506 continue;
507 }
508 //try xlsx if type is xls and file can't be found
509 $path = $file['timest'] . '_participant_export_xls_' . $this->obj_id . '.xlsx';
510 if ($this->fss_export->hasMemberExportFile($path)) {
511 $this->fss_export->deleteMemberExportFile($path);
512 }
513 }
514
515 $this->tpl->setOnScreenMessage('success', $this->lng->txt('ps_files_deleted'), true);
516 $this->ctrl->redirect($this, 'show');
517 }

References ILIAS\Repository\ctrl(), initFileIdsFromPost(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ deliverData()

ilMemberExportGUI::deliverData ( )

Definition at line 291 of file class.ilMemberExportGUI.php.

291 : void
292 {
293 foreach ($this->fss_export->getMemberExportFiles() as $file) {
294 $member_export_filename = (string) ilSession::get('member_export_filename');
295 if ($file['name'] === $member_export_filename) {
296 $content = $this->fss_export->getMemberExportFile($member_export_filename);
298 $content,
299 date('Y_m_d_H-i', $file['timest']) .
300 '_member_export_' .
301 $this->obj_id .
302 '.csv',
303 'text/csv'
304 );
305 }
306 }
307 }
static get(string $a_var)
static deliverData(string $a_data, string $a_filename, string $mime="application/octet-stream")

References ILIAS\UI\examples\Symbol\Glyph\Date\date(), ilUtil\deliverData(), and ilSession\get().

+ Here is the call graph for this function:

◆ downloadExportFile()

ilMemberExportGUI::downloadExportFile ( array  $ids)

Download export file.

Parameters
string[]$ids

Reimplemented in ilPRGMembersExportGUI.

Definition at line 384 of file class.ilMemberExportGUI.php.

384 : void
385 {
386 $hash = $ids[0] ?? '';
387 if (!$hash) {
388 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('ps_select_one'), true);
389 $this->ctrl->redirect($this, 'show');
390 }
391
392 foreach ($this->fss_export->getMemberExportFiles() as $file) {
393 if (md5($file['name']) === $hash) {
394 $contents = $this->fss_export->getMemberExportFile($file['timest'] . '_participant_export_' .
395 $file['type'] . '_' . $this->obj_id . '.' . $file['type']);
396
397 // newer export files could be .xlsx
398 if ($file['type'] === 'xls' && !$contents) {
399 $contents = $this->fss_export->getMemberExportFile($file['timest'] . '_participant_export_' .
400 $file['type'] . '_' . $this->obj_id . '.xlsx');
401 $file['type'] = 'xlsx';
402 }
403
404 switch ($file['type']) {
405 case 'xlsx':
407 $contents,
408 date('Y_m_d_H-i' . $file['timest']) . '_member_export_' . $this->obj_id . '.xlsx',
409 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
410 );
411
412 // no break
413 case 'xls':
415 $contents,
416 date('Y_m_d_H-i' . $file['timest']) . '_member_export_' . $this->obj_id . '.xls',
417 'application/vnd.ms-excel'
418 );
419
420 // no break
421 default:
422 case 'csv':
424 $contents,
425 date('Y_m_d_H-i' . $file['timest']) .
426 '_member_export_' .
427 $this->obj_id .
428 '.csv',
429 'text/csv'
430 );
431 break;
432 }
433 }
434 }
435 }

References $contents, ILIAS\Repository\ctrl(), ILIAS\UI\examples\Symbol\Glyph\Date\date(), ilUtil\deliverData(), and ILIAS\Repository\lng().

Referenced by handleTableAction().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilMemberExportGUI::executeCommand ( )

Definition at line 91 of file class.ilMemberExportGUI.php.

91 : void
92 {
93 if (!ilPrivacySettings::getInstance()->checkExportAccess($this->ref_id)) {
94 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('permission_denied'), true);
95 $this->ctrl->returnToParent($this);
96 }
97
98 $next_class = $this->ctrl->getNextClass($this);
99 $cmd = $this->ctrl->getCmd();
100
101 switch ($next_class) {
102 default:
103 if (!$cmd) {
104 $cmd = 'show';
105 }
106 $this->$cmd();
107 break;
108 }
109 }

References ILIAS\Repository\ctrl(), ilPrivacySettings\getInstance(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ export()

ilMemberExportGUI::export ( )

Export, create member export file and store it in data directory.

Reimplemented in ilPRGMembersExportGUI.

Definition at line 264 of file class.ilMemberExportGUI.php.

264 : void
265 {
266 $this->handleIncoming();
267
268 $this->export = new ilMemberExport($this->ref_id);
269 $this->export->create();
270
271 $filename = time() . '_participant_export_csv_' . $this->obj_id . '.csv';
272 $this->fss_export->addMemberExportFile($this->export->getCSVString(), $filename);
273 $this->ctrl->redirect($this, 'show');
274 }
$filename
Definition: buildRTE.php:78
export()
Export, create member export file and store it in data directory.
Class for generation of member export files.

References $filename, ILIAS\Repository\ctrl(), export(), and handleIncoming().

Referenced by export(), and exportExcel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ exportExcel()

ilMemberExportGUI::exportExcel ( )

Reimplemented in ilPRGMembersExportGUI.

Definition at line 276 of file class.ilMemberExportGUI.php.

276 : void
277 {
278 $this->handleIncoming();
279
280 $filename = time() . '_participant_export_xls_' . $this->obj_id;
281 $this->fss_export->initMemberExportDirectory();
282 $filepath = $this->fss_export->getMemberExportDirectory() . DIRECTORY_SEPARATOR . $filename;
283
284 $this->export = new ilMemberExport($this->ref_id, ilMemberExport::EXPORT_EXCEL);
285 $this->export->setFilename($filepath);
286 $this->export->create();
287
288 $this->ctrl->redirect($this, 'show');
289 }

References $filename, $obj_id, ILIAS\Repository\ctrl(), export(), ilMemberExport\EXPORT_EXCEL, and handleIncoming().

+ Here is the call graph for this function:

◆ getTableActionURLBuilder()

ilMemberExportGUI::getTableActionURLBuilder ( )
protected
Returns
array{0: URLBuilder, 1: URLBuilderToken, 2: URLBuilderToken}

Definition at line 333 of file class.ilMemberExportGUI.php.

333 : array
334 {
335 $link = ILIAS_HTTP_PATH . '/' . $this->ctrl->getLinkTarget(
336 $this,
337 'handleTableAction'
338 );
339 $url_builder = new URLBuilder($this->data_factory->uri($link));
340 return $url_builder->acquireParameters(['mem_exp_tbl'], 'table_ids', 'table_action');
341 }

References ILIAS\Repository\ctrl().

Referenced by handleTableAction().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleIncoming()

ilMemberExportGUI::handleIncoming ( )
protected

Reimplemented in ilPRGMembersExportGUI.

Definition at line 237 of file class.ilMemberExportGUI.php.

237 : void
238 {
239 $settings = [];
240 $incoming = [];
241 if ($this->http->wrapper()->post()->has('export_members')) {
242 $incoming = $this->http->wrapper()->post()->retrieve(
243 'export_members',
244 $this->refinery->kindlyTo()->dictOf(
245 $this->refinery->kindlyTo()->string()
246 )
247 );
248 }
249 if (count($incoming)) {
250 foreach ($incoming as $id) {
251 $settings[$id] = true;
252 }
253 }
254
255 // Save (form) settings
256 $this->exportSettings = new ilUserFormSettings('memexp');
257 $this->exportSettings->set($settings);
258 $this->exportSettings->store();
259 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
$settings
Definition: index.php:44
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References $id, $settings, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by export(), and exportExcel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleTableAction()

ilMemberExportGUI::handleTableAction ( )
protected

Definition at line 343 of file class.ilMemberExportGUI.php.

343 : void
344 {
345 list($url_builder, $id_token, $action_token) = $this->getTableActionURLBuilder();
346
347 if (!$this->http->wrapper()->query()->has($action_token->getName())) {
348 return;
349 }
350
351 $action = $this->http->wrapper()->query()->retrieve(
352 $action_token->getName(),
353 $this->refinery->kindlyTo()->string()
354 );
355
356 $ids = [];
357 if ($this->http->wrapper()->query()->has($id_token->getName())) {
358 $ids = $this->http->wrapper()->query()->retrieve(
359 $id_token->getName(),
360 $this->refinery->kindlyTo()->listOf($this->refinery->kindlyTo()->string())
361 );
362
363 if ($ids === ['ALL_OBJECTS']) {
364 $data_retrieval = new DataRetrieval($this->fss_export, $this->lng);
365 $ids = $data_retrieval->getAllIDs();
366 }
367 }
368
369 switch ($action) {
370 case TableBuilder::ACTION_DOWNLOAD:
371 $this->downloadExportFile($ids);
372 break;
373
374 case TableBuilder::ACTION_DELETE:
375 $this->confirmDeleteExportFile($ids);
376 break;
377 }
378 }
confirmDeleteExportFile(array $ids)
Confirm deletion of export files.
downloadExportFile(array $ids)
Download export file.

References confirmDeleteExportFile(), downloadExportFile(), getTableActionURLBuilder(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ initCSV()

ilMemberExportGUI::initCSV ( ?ilPropertyFormGUI  $a_form = null)

Definition at line 207 of file class.ilMemberExportGUI.php.

207 : void
208 {
209 if (!$a_form) {
210 $a_form = $this->initSettingsForm();
211 }
212 $this->tpl->setContent($a_form->getHTML());
213 }
initSettingsForm(bool $a_is_excel=false)

References initSettingsForm().

+ Here is the call graph for this function:

◆ initExcel()

ilMemberExportGUI::initExcel ( ?ilPropertyFormGUI  $a_form = null)

Definition at line 215 of file class.ilMemberExportGUI.php.

215 : void
216 {
217 if (!$a_form) {
218 $a_form = $this->initSettingsForm(true);
219 }
220 $this->tpl->setContent($a_form->getHTML());
221 }

References initSettingsForm().

+ Here is the call graph for this function:

◆ initFileIdsFromPost()

ilMemberExportGUI::initFileIdsFromPost ( )
protected
Returns
string[]

Definition at line 440 of file class.ilMemberExportGUI.php.

440 : array
441 {
442 $ids = [];
443 if ($this->http->wrapper()->post()->has('id')) {
444 $ids = $this->http->wrapper()->post()->retrieve(
445 'id',
446 $this->refinery->kindlyTo()->listOf(
447 $this->refinery->kindlyTo()->string()
448 )
449 );
450 }
451
452 return $ids;
453 }

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by deleteExportFile(), and ilPRGMembersExportGUI\deleteExportFile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initFileSystemStorage()

ilMemberExportGUI::initFileSystemStorage ( )
protected

Reimplemented in ilPRGMembersExportGUI.

Definition at line 519 of file class.ilMemberExportGUI.php.

519 : void
520 {
521 if ($this->type === 'crs') {
522 $this->fss_export = new ilFSStorageCourse($this->obj_id);
523 }
524 if ($this->type === 'grp') {
525 $this->fss_export = new ilFSStorageGroup($this->obj_id);
526 }
527 }

Referenced by __construct().

+ Here is the caller graph for this function:

◆ initSettingsForm()

ilMemberExportGUI::initSettingsForm ( bool  $a_is_excel = false)
protected

Reimplemented in ilPRGMembersExportGUI.

Definition at line 111 of file class.ilMemberExportGUI.php.

112 {
113 // Check user selection
114 $this->exportSettings = new ilUserFormSettings('memexp');
115
116 $form = new ilPropertyFormGUI();
117 $form->setFormAction($this->ctrl->getFormAction($this));
118 $form->setTitle($this->lng->txt('ps_export_settings'));
119
120 if ($a_is_excel) {
121 $form->addCommandButton('exportExcel', $this->lng->txt('ps_export_excel'));
122 } else {
123 $form->addCommandButton('export', $this->lng->txt('ps_perform_export'));
124 }
125 $form->addCommandButton('show', $this->lng->txt('cancel'));
126
127 // roles
128 $roles = new ilCheckboxGroupInputGUI($this->lng->txt('ps_user_selection'), 'export_members');
129 $roles->addOption(new ilCheckboxOption($this->lng->txt('ps_export_admin'), 'admin'));
130 if ($this->type === 'crs') {
131 $roles->addOption(new ilCheckboxOption($this->lng->txt('ps_export_tutor'), 'tutor'));
132 }
133 $roles->addOption(new ilCheckboxOption($this->lng->txt('ps_export_member'), 'member'));
134 $roles->addOption(new ilCheckboxOption($this->lng->txt('ps_export_sub'), 'subscribers'));
135 $roles->addOption(new ilCheckboxOption($this->lng->txt('ps_export_wait'), 'waiting_list'));
136 $form->addItem($roles);
137 $current_roles = array();
138 foreach (array('admin', 'tutor', 'member', 'subscribers', 'waiting_list') as $role) {
139 if ($this->exportSettings->enabled($role)) {
140 $current_roles[] = $role;
141 }
142 }
143 $roles->setValue($current_roles);
144
145 // user data
146 $current_udata = array();
147 $udata = new ilCheckboxGroupInputGUI($this->lng->txt('ps_export_user_data'), 'export_members');
148 $form->addItem($udata);
149
150 // standard fields
151 $this->fields_info->sortExportFields();
152 foreach ($this->fields_info->getFieldsInfo() as $field => $exportable) {
153 if (!$exportable) {
154 continue;
155 }
156 $udata->addOption(new ilCheckboxOption($this->lng->txt($field), $field));
157 if ($this->exportSettings->enabled($field)) {
158 $current_udata[] = $field;
159 }
160 }
161
162 // udf
163 foreach ($this->profile->getVisibleUserDefinedFields(Context::buildFromObjectType($this->type)) as $field) {
164 $field_id = 'udf_' . $field->getIdentifier();
165 $udata->addOption(new ilCheckboxOption($field->getLabel($this->lng), $field_id));
166 if ($this->exportSettings->enabled($field_id)) {
167 $current_udata[] = $field_id;
168 }
169 }
170
171 $udata->setValue($current_udata);
172
173 // course custom data
174 $cdf_fields = ilCourseDefinedFieldDefinition::_getFields($this->obj_id);
175 if (count($cdf_fields)) {
176 $cdf = new ilCheckboxGroupInputGUI($this->lng->txt('ps_' . $this->type . '_user_fields'), 'export_members');
177 $form->addItem($cdf);
178
179 $current_cdf = array();
180 foreach ($cdf_fields as $field_obj) {
181 $field = 'cdf_' . $field_obj->getId();
182 $cdf->addOption(new ilCheckboxOption($field_obj->getName(), $field));
183 if ($this->exportSettings->enabled($field)) {
184 $current_cdf[] = $field;
185 }
186 }
187
188 $cdf->setValue($current_cdf);
189 }
190
191 // consultation hours
192 if (ilBookingEntry::hasObjectBookingEntries($this->obj_id, $this->user->getId())) {
193 $this->lng->loadLanguageModule('dateplaner');
194 $chours = new ilCheckboxInputGUI($this->lng->txt('cal_ch_field_ch'), 'export_members[]');
195 $chours->setValue('consultation_hour');
196 $chours->setChecked($this->exportSettings->enabled('consultation_hour'));
197 $form->addItem($chours);
198 }
199
200 $grp_membr = new ilCheckboxInputGUI($this->lng->txt('crs_members_groups'), 'export_members[]');
201 $grp_membr->setValue('group_memberships');
202 $grp_membr->setChecked($this->exportSettings->enabled('group_memberships'));
203 $form->addItem($grp_membr);
204 return $form;
205 }
static hasObjectBookingEntries(int $a_obj_id, int $a_usr_id)
Check if object has assigned consultation hour appointments.
This class represents a property in a property form.
This class represents a checkbox property in a property form.
This class represents an option in a checkbox group.
static _getFields(int $a_container_id, $a_sort=self::IL_CDF_SORT_NAME)
Get all fields of a container.
This class represents a property form user interface.

References ilCourseDefinedFieldDefinition\_getFields(), ILIAS\Repository\ctrl(), ilBookingEntry\hasObjectBookingEntries(), ILIAS\Repository\lng(), ILIAS\Repository\profile(), and ILIAS\Repository\user().

Referenced by initCSV(), and initExcel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ show()

ilMemberExportGUI::show ( )

Definition at line 223 of file class.ilMemberExportGUI.php.

223 : void
224 {
225 $this->toolbar->addButton(
226 $this->lng->txt('ps_perform_export'),
227 $this->ctrl->getLinkTarget($this, "initCSV")
228 );
229 $this->toolbar->addButton(
230 $this->lng->txt('ps_export_excel'),
231 $this->ctrl->getLinkTarget($this, "initExcel")
232 );
233
234 $this->showFileList();
235 }
showFileList()
Show file list of available export files.

References ILIAS\Repository\lng(), showFileList(), and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

◆ showFileList()

ilMemberExportGUI::showFileList ( )

Show file list of available export files.

Definition at line 312 of file class.ilMemberExportGUI.php.

312 : void
313 {
314 $table = new TableBuilder(
315 new DataRetrieval($this->fss_export, $this->lng),
316 $this->lng,
317 $this->ui_factory,
318 $this->http,
319 $this->user,
320 $this->data_factory
321 );
322
323 $this->tpl->setContent(
324 $this->ui_renderer->render(
325 $table->get(...$this->getTableActionURLBuilder())
326 )
327 );
328 }

References ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\user().

Referenced by show().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $ctrl

ilCtrl ilMemberExportGUI::$ctrl
protected

Definition at line 46 of file class.ilMemberExportGUI.php.

◆ $data_factory

DataFactory ilMemberExportGUI::$data_factory
protected

Definition at line 54 of file class.ilMemberExportGUI.php.

◆ $export

ilMemberExport ilMemberExportGUI::$export = null
protected

Definition at line 56 of file class.ilMemberExportGUI.php.

Referenced by ilPRGMembersExportGUI\exportAssignments().

◆ $exportSettings

ilUserFormSettings ilMemberExportGUI::$exportSettings
protected

Definition at line 59 of file class.ilMemberExportGUI.php.

◆ $fields_info

ilExportFieldsInfo ilMemberExportGUI::$fields_info = null
protected

Definition at line 57 of file class.ilMemberExportGUI.php.

◆ $fss_export

ilFileSystemAbstractionStorage ilMemberExportGUI::$fss_export = null
protected

Definition at line 58 of file class.ilMemberExportGUI.php.

◆ $http

GlobalHttpState ilMemberExportGUI::$http
protected

Definition at line 43 of file class.ilMemberExportGUI.php.

◆ $lng

ilLanguage ilMemberExportGUI::$lng
protected

Definition at line 48 of file class.ilMemberExportGUI.php.

◆ $obj_id

int ilMemberExportGUI::$obj_id
private

Definition at line 40 of file class.ilMemberExportGUI.php.

Referenced by exportExcel().

◆ $profile

Profile ilMemberExportGUI::$profile
protected

Definition at line 51 of file class.ilMemberExportGUI.php.

◆ $ref_id

int ilMemberExportGUI::$ref_id
private

Definition at line 39 of file class.ilMemberExportGUI.php.

Referenced by ilPRGMembersExportGUI\__construct().

◆ $refinery

Factory ilMemberExportGUI::$refinery
protected

Definition at line 44 of file class.ilMemberExportGUI.php.

◆ $toolbar

ilToolbarGUI ilMemberExportGUI::$toolbar
protected

Definition at line 49 of file class.ilMemberExportGUI.php.

◆ $tpl

ilGlobalTemplateInterface ilMemberExportGUI::$tpl
protected

Definition at line 47 of file class.ilMemberExportGUI.php.

◆ $type

string ilMemberExportGUI::$type
private

Definition at line 41 of file class.ilMemberExportGUI.php.

Referenced by ilPRGMembersExportGUI\exportAssignments().

◆ $ui_factory

UIFactory ilMemberExportGUI::$ui_factory
protected

Definition at line 53 of file class.ilMemberExportGUI.php.

◆ $ui_renderer

UIRenderer ilMemberExportGUI::$ui_renderer
protected

Definition at line 52 of file class.ilMemberExportGUI.php.

◆ $user

ilObjUser ilMemberExportGUI::$user
protected

Definition at line 50 of file class.ilMemberExportGUI.php.


The documentation for this class was generated from the following file: