ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilDclRecordListGUI Class Reference
+ Collaboration diagram for ilDclRecordListGUI:

Public Member Functions

 __construct (ilObjDataCollectionGUI $a_parent_obj, int $table_id, int $tableview_id)
 
 getRefId ()
 
 getObjId ()
 
 executeCommand ()
 execute command More...
 
 listRecords ()
 
 showImportExcel (?ilPropertyFormGUI $form=null)
 
 initImportForm ()
 Init form. More...
 
 importExcel ()
 Import Data from Excel sheet. More...
 
 endImport (int $i, array $warnings)
 End import. More...
 
 sendFile ()
 send File to User More...
 
 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'
 

Protected Member Functions

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

Protected Attributes

ILIAS UI Factory $ui_factory
 
ILIAS UI Renderer $renderer
 
string $mode = self::MODE_VIEW
 Stores current mode active. More...
 
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
 
ILIAS ResourceStorage Services $irss
 
bool $filter_changed = false
 

Static Protected Attributes

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

Private Member Functions

 importRecords (string $file, bool $simulate=false)
 Import records from Excel file. More...
 
 recordBelongsToCollection (ilDclBaseRecordModel $record)
 

Private Attributes

ilAccessHandler $access
 
ilGlobalTemplateInterface $tpl
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

64 {
65 global $DIC;
66
67 $this->ctrl = $DIC->ctrl();
68 $this->toolbar = $DIC->toolbar();
69 $this->lng = $DIC->language();
70 $this->tabs = $DIC->tabs();
71 $this->http = $DIC->http();
72 $this->refinery = $DIC->refinery();
73 $this->irss = $DIC->resourceStorage();
74 $this->access = $DIC->access();
75 $this->tpl = $DIC->ui()->mainTemplate();
76 $this->ui_factory = $DIC->ui()->factory();
77 $this->renderer = $DIC->ui()->renderer();
78
79 $this->table_id = $table_id;
80 $this->tableview_id = $tableview_id;
81
82 $this->obj_id = $a_parent_obj->getObject()->getId();
83 $this->parent_obj = $a_parent_obj;
84 $this->table_obj = ilDclCache::getTableCache($table_id);
85
86 $this->ctrl->setParameterByClass(ilDclRecordEditGUI::class, self::GET_TABLE_ID, $this->table_id);
87 $this->ctrl->setParameterByClass(ilDclRecordEditGUI::class, self::GET_TABLEVIEW_ID, $this->tableview_id);
88 $this->ctrl->setParameterByClass(ilDclDetailedViewGUI::class, self::GET_TABLEVIEW_ID, $this->tableview_id);
89
90 $this->mode = self::MODE_VIEW;
91
92 if ($this->http->wrapper()->query()->has(self::GET_MODE)) {
93 $mode = $this->http->wrapper()->query()->retrieve(self::GET_MODE, $this->refinery->kindlyTo()->string());
94 if (in_array($mode, self::$available_modes, true)) {
95 $this->mode = $mode;
96 }
97 }
98 }
renderer()
static getTableCache(?int $table_id=null)
string $mode
Stores current mode active.
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
Exceptions
ilCtrlException

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

295 : void
296 {
297 $table = new ilDclRecordListTableGUI($this, "listRecords", $this->table_obj, $this->tableview_id);
298 $table->initFilter();
299 $table->resetOffset();
300 $table->writeFilterToSession();
301 $this->filter_changed = true;
302 $this->listRecords();
303 }

References listRecords().

+ Here is the call graph for this function:

◆ checkAccess()

ilDclRecordListGUI::checkAccess ( )
protected

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

550 : bool
551 {
552 if (null === $this->table_id || null === $this->tableview_id) {
553 return false;
554 }
555
556 return ilObjDataCollectionAccess::hasAccessTo(
557 $this->parent_obj->getRefId(),
558 $this->table_id,
559 $this->tableview_id
560 );
561 }

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ createSwitchers()

ilDclRecordListGUI::createSwitchers ( )
protected

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

527 : void
528 {
529 if (ilObjDataCollectionAccess::hasWriteAccess($this->parent_obj->getRefId())) {
530 $tables = $this->parent_obj->object->getTables();
531 } else {
532 $tables = $this->parent_obj->object->getVisibleTables();
533 }
534
535 $switcher = new ilDclSwitcher($this->toolbar, $this->ui_factory, $this->ctrl, $this->lng);
536 $switcher->addTableSwitcherToToolbar(
537 $tables,
538 self::class,
539 self::CMD_SHOW
540 );
541
542 $switcher->addViewSwitcherToToolbar(
543 $this->table_obj->getVisibleTableViews(),
544 $this->getTableId(),
545 self::class,
546 self::CMD_SHOW
547 );
548 }
static hasWriteAccess(int $ref, ?int $user_id=0)

References ILIAS\Repository\ctrl(), 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:

◆ endImport()

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

End import.

Exceptions
ilTemplateException

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

277 : void
278 {
279 $output = new ilTemplate("tpl.dcl_import_terminated.html", true, true, "components/ILIAS/DataCollection");
280 $output->setVariable("IMPORT_TERMINATED", $this->lng->txt("dcl_import_terminated") . ": " . $i);
281 foreach ($warnings as $warning) {
282 $output->setCurrentBlock("warnings");
283 $output->setVariable("WARNING", $warning);
284 $output->parseCurrentBlock();
285 }
286
287 $output->setVariable("BACK_LINK", $this->ctrl->getLinkTargetByClass(ilDclRecordListGUI::class, "listRecords"));
288 $output->setVariable("BACK", $this->lng->txt("back"));
289 $this->tpl->setContent($output->get());
290 }
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 ( )

execute command

Exceptions
ilCtrlException

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

114 : void
115 {
116 if (!$this->checkAccess()) {
117 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('permission_denied'), true);
118 return;
119 }
120
121 $this->ctrl->saveParameter($this, self::GET_MODE);
122 $cmd = $this->ctrl->getCmd(self::CMD_SHOW);
123
124 // 'show' fills all filters with the predefined values from the tableview,
125 // whereas 'listRecords' handels the filters "normally", filling them from the POST-variable
126 switch ($cmd) {
127 case self::CMD_SHOW:
130 $this->setSubTabs($this->mode);
131 $this->listRecords();
132 break;
134 $this->confirmDeleteRecords();
135 break;
137 $this->deleteRecords();
138 break;
140 $this->tabs->setBackTarget($this->lng->txt('back'), $this->ctrl->getLinkTarget($this));
141 $this->$cmd();
142 break;
143
144 default:
145 $this->$cmd();
146 break;
147 }
148 }
setSubTabs(string $active_mode=self::GET_MODE)

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

+ Here is the call graph for this function:

◆ getObjId()

ilDclRecordListGUI::getObjId ( )

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

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

◆ getRecordListTableGUI()

ilDclRecordListGUI::getRecordListTableGUI ( )
protected

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

490 {
492
493 $list = new ilDclRecordListTableGUI($this, "listRecords", $table_obj, $this->tableview_id, $this->mode);
494 $list->initFilter();
495
496 $list->setExternalSegmentation(true);
497 $list->setExternalSorting(true);
498 $list->determineOffsetAndOrder();
499
500 if ($this->filter_changed) {
501 $list->resetOffset();
502 }
503
504 $limit = $list->getLimit();
505 $offset = $list->getOffset();
506
508 (string) $this->getRefId(),
509 $list->getOrderField(),
510 $list->getOrderDirection(),
511 $limit,
512 $offset,
513 $list->getFilter()
514 );
515 $records = $data['records'];
516 $total = $data['total'];
517
518 $list->setMaxCount($total);
519 $list->setRecordData($records);
520
521 $list->determineOffsetAndOrder();
522 $list->determineLimit();
523
524 return $list;
525 }
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,...

References $data, $table_obj, 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 100 of file class.ilDclRecordListGUI.php.

100 : int
101 {
102 return $this->parent_obj->getRefId();
103 }

Referenced by getRecordListTableGUI().

+ Here is the caller graph for this function:

◆ getTableId()

ilDclRecordListGUI::getTableId ( )

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

563 : int
564 {
565 return $this->table_id;
566 }

References $table_id.

◆ getTableviewId()

ilDclRecordListGUI::getTableviewId ( )

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

568 : int
569 {
570 return $this->tableview_id;
571 }

References $tableview_id.

◆ importExcel()

ilDclRecordListGUI::importExcel ( )

Import Data from Excel sheet.

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

243 : void
244 {
246 $this->parent_obj->getRefId(),
247 $this->table_id
248 )) || !$this->table_obj->getImportEnabled()) {
249 throw new ilDclException($this->lng->txt("access_denied"));
250 }
251 $form = $this->initImportForm();
252 if ($form->checkInput()) {
253 $file = $form->getInput("import_file");
254 $file_location = $file["tmp_name"];
255 $simulate = $form->getInput("simulate");
256 $this->importRecords($file_location, (bool) $simulate);
257 } else {
258 $this->showImportExcel($form);
259 }
260 }
showImportExcel(?ilPropertyFormGUI $form=null)
importRecords(string $file, bool $simulate=false)
Import records from Excel file.
static hasPermissionToAddRecord(int $ref_id, int $table_id)

References ilObjDataCollectionAccess\hasPermissionToAddRecord(), importRecords(), initImportForm(), ILIAS\Repository\lng(), and showImportExcel().

+ Here is the call graph for this function:

◆ importRecords()

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

Import records from Excel file.

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

265 : void
266 {
267 $importer = new ilDclContentImporter($this->parent_obj->object->getRefId(), $this->table_id);
268 $result = $importer->import($file, $simulate);
269
270 $this->endImport($result['line'], $result['warnings']);
271 }
endImport(int $i, array $warnings)
End import.

References endImport().

Referenced by importExcel().

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

◆ initImportForm()

ilDclRecordListGUI::initImportForm ( )

Init form.

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

218 {
219 $form = new ilPropertyFormGUI();
220
221 $item = new ilCustomInputGUI();
222 $item->setHtml($this->lng->txt('dcl_file_format_description'));
223 $item->setTitle("Info");
224 $form->addItem($item);
225
226 $file = new ilFileInputGUI($this->lng->txt("import_file"), "import_file");
227 $file->setSuffixes(['xlsx']);
228 $file->setRequired(true);
229 $form->addItem($file);
230
231 $cb = new ilCheckboxInputGUI($this->lng->txt("dcl_simulate_import"), "simulate");
232 $cb->setInfo($this->lng->txt("dcl_simulate_info"));
233 $form->addItem($cb);
234
235 $form->addCommandButton("importExcel", $this->lng->txt("import"));
236
237 return $form;
238 }
This class represents a checkbox property in a property form.
This class represents a custom property in a property form.
This class represents a file property in a property form.
This class represents a property form user interface.

References ILIAS\Repository\lng().

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 150 of file class.ilDclRecordListGUI.php.

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

References $message, 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:

◆ recordBelongsToCollection()

ilDclRecordListGUI::recordBelongsToCollection ( ilDclBaseRecordModel  $record)
private

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

458 : bool
459 {
460 $table = $record->getTable();
461 $obj_id = $this->parent_obj->object->getId();
462 $obj_id_rec = $table->getCollectionObject()->getId();
463
464 return $obj_id == $obj_id_rec;
465 }

References $obj_id, and ilDclBaseRecordModel\getTable().

Referenced by sendFile().

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

◆ resetFilter()

ilDclRecordListGUI::resetFilter ( )
protected
Exceptions
ilCtrlException

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

308 : void
309 {
310 $table = new ilDclRecordListTableGUI($this, "show", $this->table_obj, $this->tableview_id);
311 $table->initFilter();
312 $table->resetOffset();
313 $table->resetFilter();
314 $this->filter_changed = true;
315 $this->listRecords();
316 }

References listRecords().

+ Here is the call graph for this function:

◆ sendFile()

ilDclRecordListGUI::sendFile ( )

send File to User

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

321 : void
322 {
323 $hasIlFileHash = $this->http->wrapper()->query()->has('ilfilehash');
324 //need read access to receive file
325 if ($this->access->checkAccess('read', "", $this->parent_obj->getRefId())) {
326 // deliver temp-files
327 if ($hasIlFileHash) {
328 $filehash = $this->http->wrapper()->query()->retrieve(
329 'ilfilehash',
330 $this->refinery->kindlyTo()->string()
331 );
332 $field_id = $this->http->wrapper()->query()->retrieve('field_id', $this->refinery->kindlyTo()->int());
334
335 $filepath = $_FILES["field_" . $field_id]['tmp_name'];
336 $filetitle = $_FILES["field_" . $field_id]['name'];
337
338 ilFileDelivery::deliverFileLegacy($filepath, $filetitle);
339 } else {
340 $rec_id = $this->http->wrapper()
341 ->query()
342 ->retrieve('record_id', $this->refinery->kindlyTo()->int());
343
344 $record = ilDclCache::getRecordCache($rec_id);
345 if (!$this->recordBelongsToCollection($record)) {
346 return;
347 }
348
349 $field_id = $this->http->wrapper()
350 ->query()
351 ->retrieve('field_id', $this->refinery->kindlyTo()->string());
352
353
354
355 // Find the current revision
356 $rid_string = $record->getRecordFieldValue($field_id);
357 $identification = $this->irss->manage()->find($rid_string);
358 if ($identification === null) {
359 return;
360 }
361 $current_revision = $this->irss->manage()->getCurrentRevision($identification);
362
363 // Download the File
364 $this->irss->consume()
365 ->download($identification)
366 ->overrideFileName($current_revision->getTitle())
367 ->run();
368 }
369 }
370 }
static getRecordCache(?int $record_id)
static rebuildTempFileByHash(string $hash)
recordBelongsToCollection(ilDclBaseRecordModel $record)
static deliverFileLegacy(string $a_file, ?string $a_filename=null, ?string $a_mime=null, ?bool $isInline=false, ?bool $removeAfterDelivery=false, ?bool $a_exit_after=true)

References ILIAS\Repository\access(), ilFileDelivery\deliverFileLegacy(), ilDclCache\getRecordCache(), ILIAS\FileDelivery\http(), ilDclPropertyFormGUI\rebuildTempFileByHash(), recordBelongsToCollection(), and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

◆ setSubTabs()

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

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

467 : void
468 {
469 $this->ctrl->setParameter($this, self::GET_MODE, self::MODE_VIEW);
470 $this->tabs->addSubTab(
471 self::MODE_VIEW,
472 $this->lng->txt('view'),
473 $this->ctrl->getLinkTarget($this, self::CMD_LIST_RECORDS)
474 );
475
476 $ref_id = $this->http->wrapper()->query()->retrieve('ref_id', $this->refinery->kindlyTo()->int());
477 if ($this->table_obj->hasPermissionToDeleteRecords($ref_id)) {
478 $this->ctrl->setParameter($this, self::GET_MODE, self::MODE_MANAGE);
479 $this->tabs->addSubTab(
480 self::MODE_MANAGE,
481 $this->lng->txt('dcl_manage'),
482 $this->ctrl->getLinkTarget($this, self::CMD_LIST_RECORDS)
483 );
484 }
485 $this->tabs->activateSubTab($active_mode);
486 $this->ctrl->clearParameters($this);
487 }
$ref_id
Definition: ltiauth.php:66

References $ref_id, 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 ( ?ilPropertyFormGUI  $form = null)

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

206 : void
207 {
208 if (!$form) {
209 $form = $this->initImportForm();
210 }
211 $this->tpl->setContent($form->getHTML());
212 }

References initImportForm().

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 35 of file class.ilDclRecordListGUI.php.

◆ $available_modes

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

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

◆ $ctrl

ilCtrl ilDclRecordListGUI::$ctrl
protected

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

◆ $filter_changed

bool ilDclRecordListGUI::$filter_changed = false
protected

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

◆ $http

ILIAS HTTP Services ilDclRecordListGUI::$http
protected

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

◆ $irss

ILIAS ResourceStorage Services ilDclRecordListGUI::$irss
protected

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

◆ $lng

ilLanguage ilDclRecordListGUI::$lng
protected

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

◆ $mode

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

Stores current mode active.

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

Referenced by __construct().

◆ $obj_id

int ilDclRecordListGUI::$obj_id
protected

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

Referenced by recordBelongsToCollection().

◆ $parent_obj

ilObjDataCollectionGUI ilDclRecordListGUI::$parent_obj
protected

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

◆ $refinery

ILIAS Refinery Factory ilDclRecordListGUI::$refinery
protected

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

◆ $renderer

ILIAS UI Renderer ilDclRecordListGUI::$renderer
protected

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

◆ $table_id

int ilDclRecordListGUI::$table_id
protected

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

Referenced by __construct(), and getTableId().

◆ $table_obj

ilDclTable ilDclRecordListGUI::$table_obj
protected

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

Referenced by getRecordListTableGUI().

◆ $tableview_id

int ilDclRecordListGUI::$tableview_id
protected

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

Referenced by __construct(), and getTableviewId().

◆ $tabs

ilTabsGUI ilDclRecordListGUI::$tabs
protected

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

◆ $toolbar

ilToolbarGUI ilDclRecordListGUI::$toolbar
protected

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

◆ $tpl

ilGlobalTemplateInterface ilDclRecordListGUI::$tpl
private

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

◆ $ui_factory

ILIAS UI Factory ilDclRecordListGUI::$ui_factory
protected

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

◆ CMD_CANCEL_DELETE

const ilDclRecordListGUI::CMD_CANCEL_DELETE = 'cancelDelete'

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

Referenced by executeCommand().

◆ CMD_CONFIRM_DELETE_RECORDS

const ilDclRecordListGUI::CMD_CONFIRM_DELETE_RECORDS = 'confirmDeleteRecords'

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

Referenced by executeCommand().

◆ CMD_DELETE_RECORDS

const ilDclRecordListGUI::CMD_DELETE_RECORDS = 'deleteRecords'

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

Referenced by executeCommand().

◆ CMD_LIST_RECORDS

const ilDclRecordListGUI::CMD_LIST_RECORDS = 'listRecords'

◆ CMD_SHOW

const ilDclRecordListGUI::CMD_SHOW = 'show'

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

Referenced by executeCommand().

◆ CMD_SHOW_IMPORT_EXCEL

const ilDclRecordListGUI::CMD_SHOW_IMPORT_EXCEL = 'showImportExcel'

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

Referenced by executeCommand().

◆ GET_MODE

const ilDclRecordListGUI::GET_MODE = "mode"

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

◆ GET_TABLE_ID

const ilDclRecordListGUI::GET_TABLE_ID = 'table_id'

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

◆ GET_TABLEVIEW_ID

const ilDclRecordListGUI::GET_TABLEVIEW_ID = 'tableview_id'

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

◆ MODE_MANAGE

const ilDclRecordListGUI::MODE_MANAGE = "manage"

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

◆ MODE_VIEW

const ilDclRecordListGUI::MODE_VIEW = "view"

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

Referenced by __construct().


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