|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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 |
Definition at line 21 of file class.ilDclRecordListGUI.php.
| ilDclRecordListGUI::__construct | ( | ilObjDataCollectionGUI | $a_parent_obj, |
| int | $table_id, | ||
| int | $tableview_id | ||
| ) |
| ilCtrlException |
Definition at line 63 of file class.ilDclRecordListGUI.php.
References $DIC, $mode, $table_id, $tableview_id, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ilDclCache\getTableCache(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
| ilCtrlException |
Definition at line 299 of file class.ilDclRecordListGUI.php.
References listRecords().
Here is the call graph for this function:
|
protected |
Definition at line 556 of file class.ilDclRecordListGUI.php.
References $table_id, and $tableview_id.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Definition at line 531 of file class.ilDclRecordListGUI.php.
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:| ilDclRecordListGUI::endImport | ( | int | $i, |
| array | $warnings | ||
| ) |
End import.
| ilTemplateException |
Definition at line 281 of file class.ilDclRecordListGUI.php.
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:| ilDclRecordListGUI::executeCommand | ( | ) |
execute command
| ilCtrlException |
Definition at line 114 of file class.ilDclRecordListGUI.php.
References checkAccess(), ILIAS\Repository\ctrl(), listRecords(), ILIAS\Repository\lng(), setSubTabs(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilDclRecordListGUI::getObjId | ( | ) |
Definition at line 105 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 493 of file class.ilDclRecordListGUI.php.
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:| ilDclRecordListGUI::getRefId | ( | ) |
Definition at line 100 of file class.ilDclRecordListGUI.php.
Referenced by getRecordListTableGUI().
Here is the caller graph for this function:| ilDclRecordListGUI::getTableId | ( | ) |
Definition at line 569 of file class.ilDclRecordListGUI.php.
References $table_id.
Referenced by createSwitchers().
Here is the caller graph for this function:| ilDclRecordListGUI::getTableviewId | ( | ) |
| ilDclRecordListGUI::importExcel | ( | ) |
Import Data from Excel sheet.
Definition at line 247 of file class.ilDclRecordListGUI.php.
References $table_id, ilObjDataCollectionAccess\hasPermissionToAddRecord(), importRecords(), initImportForm(), ILIAS\Repository\lng(), and showImportExcel().
Here is the call graph for this function:
|
private |
Import records from Excel file.
Definition at line 269 of file class.ilDclRecordListGUI.php.
References $table_id, endImport(), and ilDclContentImporter\import().
Referenced by importExcel().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclRecordListGUI::initImportForm | ( | ) |
Init form.
Definition at line 221 of file class.ilDclRecordListGUI.php.
References ILIAS\Repository\lng(), and ilFileInputGUI\setSuffixes().
Referenced by importExcel(), and showImportExcel().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclRecordListGUI::listRecords | ( | ) |
Definition at line 150 of file class.ilDclRecordListGUI.php.
References $ilSetting, $message, $table_id, 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:
|
private |
Definition at line 462 of file class.ilDclRecordListGUI.php.
References ilDclBaseRecordModel\getTable().
Referenced by sendFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilCtrlException |
Definition at line 312 of file class.ilDclRecordListGUI.php.
References listRecords().
Here is the call graph for this function:| ilDclRecordListGUI::sendFile | ( | ) |
send File to User
Definition at line 325 of file class.ilDclRecordListGUI.php.
References $message, $ref_id, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilFileDelivery\deliverFileLegacy(), ilDclCache\getRecordCache(), ilDclCache\getRecordFieldCache(), ilDclCache\getRecordRepresentation(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilDclPropertyFormGUI\rebuildTempFileByHash(), recordBelongsToCollection(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 471 of file class.ilDclRecordListGUI.php.
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:| ilDclRecordListGUI::showImportExcel | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 210 of file class.ilDclRecordListGUI.php.
References initImportForm().
Referenced by importExcel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 35 of file class.ilDclRecordListGUI.php.
|
staticprotected |
Definition at line 49 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 51 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 58 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 55 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 57 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 53 of file class.ilDclRecordListGUI.php.
|
protected |
Stores current mode active.
Definition at line 43 of file class.ilDclRecordListGUI.php.
Referenced by __construct().
|
protected |
Definition at line 46 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 47 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 56 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 38 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 45 of file class.ilDclRecordListGUI.php.
Referenced by __construct(), checkAccess(), getTableId(), importExcel(), importRecords(), and listRecords().
|
protected |
Definition at line 44 of file class.ilDclRecordListGUI.php.
Referenced by getRecordListTableGUI().
|
protected |
Definition at line 48 of file class.ilDclRecordListGUI.php.
Referenced by __construct(), checkAccess(), and getTableviewId().
|
protected |
Definition at line 54 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 52 of file class.ilDclRecordListGUI.php.
|
private |
Definition at line 36 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 37 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_CANCEL_DELETE = 'cancelDelete' |
Definition at line 31 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_CONFIRM_DELETE_RECORDS = 'confirmDeleteRecords' |
Definition at line 30 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_DELETE_RECORDS = 'deleteRecords' |
Definition at line 32 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_LIST_RECORDS = 'listRecords' |
Definition at line 28 of file class.ilDclRecordListGUI.php.
Referenced by ilObjDataCollectionGUI\executeCommand(), and ilDclTableViewEditGUI\permissionDenied().
| const ilDclRecordListGUI::CMD_SHOW = 'show' |
Definition at line 29 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_SHOW_IMPORT_EXCEL = 'showImportExcel' |
Definition at line 33 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::GET_MODE = "mode" |
Definition at line 25 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::GET_TABLE_ID = 'table_id' |
Definition at line 23 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::GET_TABLEVIEW_ID = 'tableview_id' |
Definition at line 24 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::MODE_MANAGE = "manage" |
Definition at line 27 of file class.ilDclRecordListGUI.php.
Referenced by ilDclRecordListTableGUI\buildData().
| const ilDclRecordListGUI::MODE_VIEW = "view" |
Definition at line 26 of file class.ilDclRecordListGUI.php.