ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ilDclRecordListGUI Class Reference

@ilCtrl_Calls ilDclRecordListGUI: ilDataCollectionUploadHandlerGUI More...

+ Collaboration diagram for ilDclRecordListGUI:

Public Member Functions

 __construct (ilObjDataCollectionGUI $a_parent_obj, int $table_id, int $tableview_id)
 
 getRefId ()
 
 getObjId ()
 
 executeCommand ()
 
 listRecords ()
 
 showImportExcel (?Standard $form=null)
 
 downloadImportTemplate ()
 
 initImportForm ()
 
 importExcel ()
 
 endImport (int $i, array $warnings)
 
 getTableId ()
 
 getTableviewId ()
 

Data Fields

const GET_TABLE_ID = 'table_id'
 
const GET_TABLEVIEW_ID = 'tableview_id'
 
const GET_MODE = "mode"
 
const MODE_VIEW = "view"
 
const MODE_MANAGE = "manage"
 
const CMD_LIST_RECORDS = 'listRecords'
 
const CMD_SHOW = 'show'
 
const CMD_CONFIRM_DELETE_RECORDS = 'confirmDeleteRecords'
 
const CMD_CANCEL_DELETE = 'cancelDelete'
 
const CMD_DELETE_RECORDS = 'deleteRecords'
 
const CMD_SHOW_IMPORT_EXCEL = 'showImportExcel'
 
const CMD_DOWNLOAD_IMPORT_TEMPLATE = 'downloadImportTemplate'
 

Protected Member Functions

 denyImportAccessUnlessGranted ()
 
 applyFilter ()
 
 resetFilter ()
 
 setSubTabs (string $active_mode=self::GET_MODE)
 
 getRecordListTableGUI ()
 
 createSwitchers ()
 

Protected Attributes

ILIAS UI Factory $ui_factory
 
ILIAS UI Renderer $renderer
 
string $mode = self::MODE_VIEW
 
ilDclTable $table_obj
 
int $table_id
 
int $obj_id
 
ilObjDataCollectionGUI $parent_obj
 
int $tableview_id
 
ilCtrl $ctrl
 
ilToolbarGUI $toolbar
 
ilLanguage $lng
 
ilTabsGUI $tabs
 
ILIAS HTTP Services $http
 
ILIAS Refinery Factory $refinery
 
bool $filter_changed = false
 

Static Protected Attributes

static array $available_modes = [self::MODE_VIEW, self::MODE_MANAGE]
 

Private Member Functions

 hasImportableFields (ilDclTable $table)
 
 importRecords (string $rid, bool $simulate=false)
 

Private Attributes

ilAccessHandler $access
 
ilGlobalTemplateInterface $tpl
 
Services $irss
 
AbstractResourceStakeholder $stakeholder
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilDclRecordListGUI::__construct ( ilObjDataCollectionGUI  $a_parent_obj,
int  $table_id,
int  $tableview_id 
)

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

67 {
68 global $DIC;
69
70 $this->ctrl = $DIC->ctrl();
71 $this->toolbar = $DIC->toolbar();
72 $this->lng = $DIC->language();
73 $this->tabs = $DIC->tabs();
74 $this->http = $DIC->http();
75 $this->refinery = $DIC->refinery();
76 $this->access = $DIC->access();
77 $this->tpl = $DIC->ui()->mainTemplate();
78 $this->ui_factory = $DIC->ui()->factory();
79 $this->renderer = $DIC->ui()->renderer();
80 $this->irss = $DIC->resourceStorage();
81 $this->stakeholder = new ilDataCollectionStakeholder();
82
83 $this->table_id = $table_id;
84 $this->tableview_id = $tableview_id;
85
86 $this->obj_id = $a_parent_obj->getObject()->getId();
87 $this->parent_obj = $a_parent_obj;
88 $this->table_obj = ilDclCache::getTableCache($table_id);
89
90 $this->ctrl->setParameterByClass(ilDclRecordEditGUI::class, self::GET_TABLE_ID, $this->table_id);
91 $this->ctrl->setParameterByClass(ilDclRecordEditGUI::class, self::GET_TABLEVIEW_ID, $this->tableview_id);
92 $this->ctrl->setParameterByClass(ilDclDetailedViewGUI::class, self::GET_TABLE_ID, $this->table_id);
93 $this->ctrl->setParameterByClass(ilDclDetailedViewGUI::class, self::GET_TABLEVIEW_ID, $this->tableview_id);
94
95 $this->mode = self::MODE_VIEW;
96
97 if ($this->http->wrapper()->query()->has(self::GET_MODE)) {
98 $mode = $this->http->wrapper()->query()->retrieve(self::GET_MODE, $this->refinery->kindlyTo()->string());
99 if (in_array($mode, self::$available_modes, true)) {
100 $this->mode = $mode;
101 }
102 }
103 }
renderer()
static getTableCache(?int $table_id=null)
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:26

References $DIC, $mode, $table_id, $tableview_id, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ilDclCache\getTableCache(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), MODE_VIEW, ILIAS\Repository\refinery(), renderer(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

Member Function Documentation

◆ applyFilter()

ilDclRecordListGUI::applyFilter ( )
protected

Definition at line 316 of file class.ilDclRecordListGUI.php.

316 : void
317 {
318 $table = new ilDclRecordListTableGUI($this, "listRecords", $this->table_obj, $this->tableview_id);
319 $table->initFilter();
320 $table->resetOffset();
321 $table->writeFilterToSession();
322 $this->filter_changed = true;
323 $this->listRecords();
324 }

References listRecords().

+ Here is the call graph for this function:

◆ createSwitchers()

ilDclRecordListGUI::createSwitchers ( )
protected

Definition at line 483 of file class.ilDclRecordListGUI.php.

483 : void
484 {
485 if (ilObjDataCollectionAccess::hasWriteAccess($this->parent_obj->getRefId())) {
486 $tables = $this->parent_obj->object->getTables();
487 } else {
488 $tables = $this->parent_obj->object->getVisibleTables();
489 }
490
491 $switcher = new ilDclSwitcher($this->toolbar, $this->ui_factory, $this->ctrl, $this->lng);
492 $switcher->addTableSwitcherToToolbar(
493 $tables,
494 self::class,
495 self::CMD_SHOW,
496 $this->getTableId()
497 );
498
499 $switcher->addViewSwitcherToToolbar(
500 $this->table_obj->getVisibleTableViews(),
501 $this->getTableId(),
502 self::class,
503 self::CMD_SHOW,
504 $this->getTableviewId()
505 );
506 }
static hasWriteAccess(int $ref, ?int $user_id=0)

References ILIAS\Repository\ctrl(), getTableId(), ilObjDataCollectionAccess\hasWriteAccess(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().

Referenced by listRecords().

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

◆ denyImportAccessUnlessGranted()

ilDclRecordListGUI::denyImportAccessUnlessGranted ( )
protected

Definition at line 273 of file class.ilDclRecordListGUI.php.

273 : void
274 {
275 if (!$this->hasImportableFields($this->table_obj)) {
276 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('dcl_import_template_no_fields'), true);
277 $this->ctrl->redirect($this, self::CMD_LIST_RECORDS);
278 }
279 }
hasImportableFields(ilDclTable $table)

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

Referenced by downloadImportTemplate(), and showImportExcel().

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

◆ downloadImportTemplate()

ilDclRecordListGUI::downloadImportTemplate ( )

Definition at line 236 of file class.ilDclRecordListGUI.php.

236 : void
237 {
239
240 new ilDclContentImporter($this->parent_obj->object->getRefId(), $this->table_id)->sendImportTemplate();
241 }

References denyImportAccessUnlessGranted(), and ilDclContentImporter\sendImportTemplate().

+ Here is the call graph for this function:

◆ endImport()

ilDclRecordListGUI::endImport ( int  $i,
array  $warnings 
)

Definition at line 301 of file class.ilDclRecordListGUI.php.

301 : void
302 {
303 $output = new ilTemplate("tpl.dcl_import_terminated.html", true, true, "components/ILIAS/DataCollection");
304 $output->setVariable("IMPORT_TERMINATED", $this->lng->txt("dcl_import_terminated") . ": " . $i);
305 foreach ($warnings as $warning) {
306 $output->setCurrentBlock("warnings");
307 $output->setVariable("WARNING", $warning);
308 $output->parseCurrentBlock();
309 }
310
311 $output->setVariable("BACK_LINK", $this->ctrl->getLinkTargetByClass(ilDclRecordListGUI::class, "listRecords"));
312 $output->setVariable("BACK", $this->lng->txt("back"));
313 $this->tpl->setContent($output->get());
314 }
special template class to simplify handling of ITX/PEAR

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

Referenced by importRecords().

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

◆ executeCommand()

ilDclRecordListGUI::executeCommand ( )

Definition at line 115 of file class.ilDclRecordListGUI.php.

115 : void
116 {
117 $next_class = $this->ctrl->getNextClass($this);
118 if ($next_class === strtolower(ilDataCollectionUploadHandlerGUI::class)) {
119 $this->ctrl->forwardCommand(new ilDataCollectionUploadHandlerGUI());
120 return;
121 }
122
123 if (!ilObjDataCollectionAccess::hasAccessTo($this->getRefId(), $this->table_id, $this->tableview_id)) {
124 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('permission_denied'), true);
125 return;
126 }
127
128 $this->ctrl->saveParameter($this, self::GET_MODE);
129 $cmd = $this->ctrl->getCmd(self::CMD_SHOW);
130
131 // 'show' fills all filters with the predefined values from the tableview,
132 // whereas 'listRecords' handels the filters "normally", filling them from the POST-variable
133 switch ($cmd) {
134 case self::CMD_SHOW:
137 $this->setSubTabs($this->mode);
138 $this->listRecords();
139 break;
141 $this->confirmDeleteRecords();
142 break;
144 $this->deleteRecords();
145 break;
146 default:
147 $this->$cmd();
148 break;
149 }
150 }
setSubTabs(string $active_mode=self::GET_MODE)

References CMD_CANCEL_DELETE, CMD_CONFIRM_DELETE_RECORDS, CMD_DELETE_RECORDS, CMD_LIST_RECORDS, CMD_SHOW, ILIAS\Repository\ctrl(), getRefId(), listRecords(), ILIAS\Repository\lng(), and setSubTabs().

+ Here is the call graph for this function:

◆ getObjId()

ilDclRecordListGUI::getObjId ( )

Definition at line 110 of file class.ilDclRecordListGUI.php.

110 : int
111 {
112 return $this->parent_obj->getObject()->getId();
113 }

◆ getRecordListTableGUI()

ilDclRecordListGUI::getRecordListTableGUI ( )
protected

Definition at line 445 of file class.ilDclRecordListGUI.php.

446 {
448
449 $list = new ilDclRecordListTableGUI($this, "listRecords", $table_obj, $this->tableview_id, $this->mode);
450 $list->initFilter();
451
452 $list->setExternalSegmentation(true);
453 $list->setExternalSorting(true);
454 $list->determineOffsetAndOrder();
455
456 if ($this->filter_changed) {
457 $list->resetOffset();
458 }
459
460 $limit = $list->getLimit();
461 $offset = $list->getOffset();
462
464 (string) $this->getRefId(),
465 $list->getOrderField(),
466 $list->getOrderDirection(),
467 $limit,
468 $offset,
469 $list->getFilter()
470 );
471 $records = $data['records'];
472 $total = $data['total'];
473
474 $list->setMaxCount($total);
475 $list->setRecordData($records);
476
477 $list->determineOffsetAndOrder();
478 $list->determineLimit();
479
480 return $list;
481 }
getPartialRecords(string $ref_id, string $sort, string $direction, ?int $limit, int $offset, array $filter=[])
Return only the needed subset of record objects for the table, according to sorting,...
$data
Definition: storeScorm.php:45

References $data, $table_obj, $total, ilDclTable\getPartialRecords(), and getRefId().

Referenced by listRecords().

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

◆ getRefId()

ilDclRecordListGUI::getRefId ( )

Definition at line 105 of file class.ilDclRecordListGUI.php.

105 : int
106 {
107 return $this->parent_obj->getRefId();
108 }

Referenced by executeCommand(), and getRecordListTableGUI().

+ Here is the caller graph for this function:

◆ getTableId()

ilDclRecordListGUI::getTableId ( )

Definition at line 508 of file class.ilDclRecordListGUI.php.

508 : int
509 {
510 return $this->table_id;
511 }

References $table_id.

Referenced by createSwitchers().

+ Here is the caller graph for this function:

◆ getTableviewId()

ilDclRecordListGUI::getTableviewId ( )

Definition at line 513 of file class.ilDclRecordListGUI.php.

513 : int
514 {
515 return $this->tableview_id;
516 }

References $tableview_id.

◆ hasImportableFields()

ilDclRecordListGUI::hasImportableFields ( ilDclTable  $table)
private

Definition at line 281 of file class.ilDclRecordListGUI.php.

281 : bool
282 {
283 foreach ($table->getRecordFields() as $field) {
284 if (in_array($field->getDatatypeId(), ilDclContentImporter::SUPPORTED_IMPORT_DATATYPES, true)) {
285 return true;
286 }
287 }
288
289 return false;
290 }
getRecordFields()
Returns all fields of this table which are NOT standard fields.

References ilDclTable\getRecordFields(), and ilDclContentImporter\SUPPORTED_IMPORT_DATATYPES.

Referenced by denyImportAccessUnlessGranted().

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

◆ importExcel()

ilDclRecordListGUI::importExcel ( )

Definition at line 256 of file class.ilDclRecordListGUI.php.

256 : void
257 {
259 $this->parent_obj->getRefId(),
260 $this->table_id
261 )) || !$this->table_obj->getImportEnabled()) {
262 throw new ilDclException($this->lng->txt("access_denied"));
263 }
264 $form = $this->initImportForm()->withRequest($this->http->request());
265 $data = $form->getData();
266 if ($data !== null) {
267 $this->importRecords($data['import_file'][0], $data['simulate']);
268 } else {
269 $this->showImportExcel($form);
270 }
271 }
importRecords(string $rid, bool $simulate=false)
showImportExcel(?Standard $form=null)
static hasPermissionToAddRecord(int $ref_id, int $table_id)

References $data, ilObjDataCollectionAccess\hasPermissionToAddRecord(), ILIAS\FileDelivery\http(), importRecords(), initImportForm(), ILIAS\Repository\lng(), and showImportExcel().

+ Here is the call graph for this function:

◆ importRecords()

ilDclRecordListGUI::importRecords ( string  $rid,
bool  $simulate = false 
)
private

Definition at line 292 of file class.ilDclRecordListGUI.php.

292 : void
293 {
294 $identification = $this->irss->manage()->find($rid);
295 $result = new ilDclContentImporter($this->parent_obj->object->getRefId(), $this->table_id)
296 ->import($this->irss->consume()->stream($identification)->getStream()->getMetadata('uri'), $simulate);
297 $this->irss->manage()->remove($identification, $this->stakeholder);
298 $this->endImport($result['line'], $result['warnings']);
299 }
import(string $file, bool $simulate=false)
endImport(int $i, array $warnings)

References endImport(), and ilDclContentImporter\import().

Referenced by importExcel().

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

◆ initImportForm()

ilDclRecordListGUI::initImportForm ( )

Definition at line 243 of file class.ilDclRecordListGUI.php.

243 : Standard
244 {
245 return $this->ui_factory->input()->container()->form()->standard(
246 $this->ctrl->getFormAction($this, 'importExcel'),
247 [
248 'import_file' => $this->ui_factory->input()->field()->file(new ilDataCollectionUploadHandlerGUI(), $this->lng->txt('import_file'))
249 ->withAcceptedMimeTypes([MimeType::APPLICATION__VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET])
250 ->withRequired(true),
251 'simulate' => $this->ui_factory->input()->field()->checkbox($this->lng->txt('dcl_simulate_import'), $this->lng->txt('dcl_simulate_import_info'))
252 ]
253 )->withSubmitLabel($this->lng->txt('import'));
254 }
This describes a standard form.
Definition: Standard.php:30
withSubmitLabel(string $label)
Sets the label of the submit button of the form.

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\UI\Component\Input\Container\Form\Standard\withSubmitLabel().

Referenced by importExcel(), and showImportExcel().

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

◆ listRecords()

ilDclRecordListGUI::listRecords ( )

Definition at line 152 of file class.ilDclRecordListGUI.php.

152 : void
153 {
154 $list = $this->getRecordListTableGUI();
155
156 $this->createSwitchers();
157
158 $this->ctrl->setParameter($this, 'table_id', $this->table_id);
159 $this->ctrl->setParameter($this, 'tableview_id', $this->tableview_id);
160
161 $permission_to_add_or_import = ilObjDataCollectionAccess::hasPermissionToAddRecord(
162 $this->parent_obj->getRefId(),
163 $this->table_id
164 ) && $this->table_obj->hasCustomFields();
165 if ($permission_to_add_or_import) {
166 $this->ctrl->setParameterByClass(ilDclRecordEditGUI::class, "record_id", null);
167
168 $add_new = $this->ui_factory->button()->primary(
169 $this->lng->txt("dcl_add_new_record"),
170 $this->ctrl->getFormActionByClass(ilDclRecordEditGUI::class, "create")
171 );
172 $this->toolbar->addStickyItem($add_new);
173 }
174
175 if ($permission_to_add_or_import && $this->table_obj->getImportEnabled()
176 && $this->hasImportableFields($this->table_obj)) {
177 $this->ctrl->setParameterByClass(ilDclRecordEditGUI::class, "record_id", null);
178
179 $import_button = $this->ui_factory->button()->standard(
180 $this->lng->txt("dcl_import_records .xls"),
181 $this->ctrl->getFormActionByClass(ilDclRecordListGUI::class, self::CMD_SHOW_IMPORT_EXCEL)
182 );
183 $this->toolbar->addComponent($import_button);
184 }
185
186 if (count($this->table_obj->getRecordFields()) == 0) {
187 $message = $this->lng->txt("dcl_no_fields_yet") . " "
189 $this->parent_obj->getRefId(),
190 $this->table_id
191 ) ? $this->lng->txt("dcl_create_fields") : "");
192 $this->tpl->setOnScreenMessage('info', $message, true);
193 }
194
195 $target = '';
196 if ($this->http->wrapper()->query()->has('table_id')) {
197 $target .= $this->http->wrapper()->query()->retrieve('table_id', $this->refinery->to()->string());
198 }
199 if ($this->http->wrapper()->query()->has('tableview_id')) {
200 $target .= '_' . $this->http->wrapper()->query()->retrieve('tableview_id', $this->refinery->to()->string());
201 }
202
203 $this->tpl->setPermanentLink("dcl", $this->parent_obj->getRefId(), $target);
204
205 if ($desc = $this->table_obj->getDescription()) {
206 $desc = $this->refinery->string()->markdown()->toHTML()->transform($desc);
207 $desc = '<div class="ilDclTableDescription">' . $desc . '</div>';
208 }
209 $this->tpl->setContent($desc . $list->getHTML());
210 }
static hasAccessToFields(int $ref_id, int $table_id)

References $message, ILIAS\Scripts\PHPStan\$target, createSwitchers(), ILIAS\Repository\ctrl(), getRecordListTableGUI(), ilObjDataCollectionAccess\hasAccessToFields(), ilObjDataCollectionAccess\hasPermissionToAddRecord(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().

Referenced by applyFilter(), executeCommand(), and resetFilter().

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

◆ resetFilter()

ilDclRecordListGUI::resetFilter ( )
protected

Definition at line 326 of file class.ilDclRecordListGUI.php.

326 : void
327 {
328 $table = new ilDclRecordListTableGUI($this, "show", $this->table_obj, $this->tableview_id);
329 $table->initFilter();
330 $table->resetOffset();
331 $table->resetFilter();
332 $this->filter_changed = true;
333 $this->listRecords();
334 }

References listRecords().

+ Here is the call graph for this function:

◆ setSubTabs()

ilDclRecordListGUI::setSubTabs ( string  $active_mode = self::GET_MODE)
protected

Definition at line 416 of file class.ilDclRecordListGUI.php.

416 : void
417 {
418 $this->ctrl->setParameter($this, self::GET_MODE, self::MODE_VIEW);
419 if ($this->http->wrapper()->query()->has(self::GET_TABLEVIEW_ID)) {
420 $this->ctrl->setParameter(
421 $this,
422 self::GET_TABLEVIEW_ID,
423 $this->http->wrapper()->query()->retrieve(self::GET_TABLEVIEW_ID, $this->refinery->kindlyTo()->int())
424 );
425 }
426 $this->tabs->addSubTab(
427 self::MODE_VIEW,
428 $this->lng->txt('view'),
429 $this->ctrl->getLinkTarget($this, self::CMD_LIST_RECORDS)
430 );
431
432 $ref_id = $this->http->wrapper()->query()->retrieve('ref_id', $this->refinery->kindlyTo()->int());
433 if ($this->table_obj->hasPermissionToDeleteRecords($ref_id)) {
434 $this->ctrl->setParameter($this, self::GET_MODE, self::MODE_MANAGE);
435 $this->tabs->addSubTab(
436 self::MODE_MANAGE,
437 $this->lng->txt('dcl_manage'),
438 $this->ctrl->getLinkTarget($this, self::CMD_LIST_RECORDS)
439 );
440 }
441 $this->tabs->activateSubTab($active_mode);
442 $this->ctrl->clearParameters($this);
443 }

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

Referenced by executeCommand().

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

◆ showImportExcel()

ilDclRecordListGUI::showImportExcel ( ?Standard  $form = null)

Definition at line 212 of file class.ilDclRecordListGUI.php.

212 : void
213 {
215
216 $this->tabs->clearTargets();
217 $this->tabs->setBackTarget($this->lng->txt('back'), $this->ctrl->getLinkTarget($this, self::CMD_LIST_RECORDS));
218 $this->ctrl->saveParameter($this, self::GET_TABLE_ID);
219 $this->ctrl->saveParameter($this, self::GET_TABLEVIEW_ID);
220 $this->tabs->addTab('import', $this->lng->txt('import'), $this->ctrl->getLinkTarget($this, self::CMD_SHOW_IMPORT_EXCEL));
221 $this->tabs->activateTab('import');
222
223 if (!$form) {
224 $form = $this->initImportForm();
225 }
226
227 $message_box = $this->ui_factory->messageBox()->info($this->lng->txt('dcl_file_format_description'))
228 ->withButtons([$this->ui_factory->button()->standard(
229 $this->lng->txt('dcl_download_import_template'),
230 $this->ctrl->getLinkTarget($this, self::CMD_DOWNLOAD_IMPORT_TEMPLATE)
231 )]);
232
233 $this->tpl->setContent($this->renderer->render([$message_box]) . $this->renderer->render($form));
234 }

References ILIAS\Repository\ctrl(), denyImportAccessUnlessGranted(), initImportForm(), ILIAS\Repository\lng(), renderer(), and ILIAS\Repository\tabs().

Referenced by importExcel().

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

Field Documentation

◆ $access

ilAccessHandler ilDclRecordListGUI::$access
private

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

◆ $available_modes

array ilDclRecordListGUI::$available_modes = [self::MODE_VIEW, self::MODE_MANAGE]
staticprotected

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

◆ $ctrl

ilCtrl ilDclRecordListGUI::$ctrl
protected

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

◆ $filter_changed

bool ilDclRecordListGUI::$filter_changed = false
protected

Definition at line 62 of file class.ilDclRecordListGUI.php.

◆ $http

ILIAS HTTP Services ilDclRecordListGUI::$http
protected

Definition at line 60 of file class.ilDclRecordListGUI.php.

◆ $irss

Services ilDclRecordListGUI::$irss
private

Definition at line 63 of file class.ilDclRecordListGUI.php.

◆ $lng

ilLanguage ilDclRecordListGUI::$lng
protected

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

◆ $mode

string ilDclRecordListGUI::$mode = self::MODE_VIEW
protected

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

Referenced by __construct().

◆ $obj_id

int ilDclRecordListGUI::$obj_id
protected

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

◆ $parent_obj

ilObjDataCollectionGUI ilDclRecordListGUI::$parent_obj
protected

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

◆ $refinery

ILIAS Refinery Factory ilDclRecordListGUI::$refinery
protected

Definition at line 61 of file class.ilDclRecordListGUI.php.

◆ $renderer

ILIAS UI Renderer ilDclRecordListGUI::$renderer
protected

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

◆ $stakeholder

AbstractResourceStakeholder ilDclRecordListGUI::$stakeholder
private

Definition at line 64 of file class.ilDclRecordListGUI.php.

◆ $table_id

int ilDclRecordListGUI::$table_id
protected

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

Referenced by __construct(), and getTableId().

◆ $table_obj

ilDclTable ilDclRecordListGUI::$table_obj
protected

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

Referenced by getRecordListTableGUI().

◆ $tableview_id

int ilDclRecordListGUI::$tableview_id
protected

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

Referenced by __construct(), and getTableviewId().

◆ $tabs

ilTabsGUI ilDclRecordListGUI::$tabs
protected

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

◆ $toolbar

ilToolbarGUI ilDclRecordListGUI::$toolbar
protected

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

◆ $tpl

ilGlobalTemplateInterface ilDclRecordListGUI::$tpl
private

Definition at line 45 of file class.ilDclRecordListGUI.php.

◆ $ui_factory

ILIAS UI Factory ilDclRecordListGUI::$ui_factory
protected

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

◆ CMD_CANCEL_DELETE

const ilDclRecordListGUI::CMD_CANCEL_DELETE = 'cancelDelete'

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

Referenced by executeCommand().

◆ CMD_CONFIRM_DELETE_RECORDS

const ilDclRecordListGUI::CMD_CONFIRM_DELETE_RECORDS = 'confirmDeleteRecords'

Definition at line 38 of file class.ilDclRecordListGUI.php.

Referenced by executeCommand().

◆ CMD_DELETE_RECORDS

const ilDclRecordListGUI::CMD_DELETE_RECORDS = 'deleteRecords'

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

Referenced by executeCommand().

◆ CMD_DOWNLOAD_IMPORT_TEMPLATE

const ilDclRecordListGUI::CMD_DOWNLOAD_IMPORT_TEMPLATE = 'downloadImportTemplate'

Definition at line 42 of file class.ilDclRecordListGUI.php.

◆ CMD_LIST_RECORDS

const ilDclRecordListGUI::CMD_LIST_RECORDS = 'listRecords'

◆ CMD_SHOW

const ilDclRecordListGUI::CMD_SHOW = 'show'

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

Referenced by executeCommand().

◆ CMD_SHOW_IMPORT_EXCEL

const ilDclRecordListGUI::CMD_SHOW_IMPORT_EXCEL = 'showImportExcel'

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

◆ GET_MODE

const ilDclRecordListGUI::GET_MODE = "mode"

Definition at line 33 of file class.ilDclRecordListGUI.php.

◆ GET_TABLE_ID

const ilDclRecordListGUI::GET_TABLE_ID = 'table_id'

Definition at line 31 of file class.ilDclRecordListGUI.php.

◆ GET_TABLEVIEW_ID

const ilDclRecordListGUI::GET_TABLEVIEW_ID = 'tableview_id'

Definition at line 32 of file class.ilDclRecordListGUI.php.

◆ MODE_MANAGE

const ilDclRecordListGUI::MODE_MANAGE = "manage"

Definition at line 35 of file class.ilDclRecordListGUI.php.

◆ MODE_VIEW

const ilDclRecordListGUI::MODE_VIEW = "view"

Definition at line 34 of file class.ilDclRecordListGUI.php.

Referenced by __construct().


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