|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilDclRecordListGUI:Public Member Functions | |
| __construct (ilObjDataCollectionGUI $a_parent_obj, int $table_id, int $tableview_id) | |
| getRefId () | |
| getObjId () | |
| executeCommand () | |
| execute command More... | |
| showImportExcel (?ilPropertyFormGUI $form=null) | |
| initImportForm () | |
| Init form. More... | |
| importExcel () | |
| Import Data from Excel sheet. More... | |
| endImport (int $i, array $warnings) | |
| End import. More... | |
| doTableSwitch () | |
| doTableSwitch More... | |
| doTableViewSwitch () | |
| doTableViewSwitch 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) | |
| getAvailableTables () | |
| getRecordListTableGUI (bool $use_tableview_filter) | |
| createSwitchers () | |
| checkAccess () | |
Protected Attributes | |
| 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 | $ilToolbar |
| 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 | |
| init (ilDataCollectionOutboundsAdapter $adapter) | |
| importRecords (string $file, bool $simulate=false) | |
| Import records from Excel file. More... | |
| recordBelongsToCollection (ilDclBaseRecordModel $record) | |
Private Attributes | |
| ilDataCollectionUiPort | $dclUi |
| ilDataCollectionAccessPort | $dclAccess |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 19 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, ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ilDclCache\getTableCache(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilDataCollectionOutboundsAdapter\new(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
| ilCtrlException |
Definition at line 322 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 603 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 561 of file class.ilDclRecordListGUI.php.
References ilToolbarGUI\addButtonInstance(), ilToolbarGUI\addInputItem(), ilToolbarGUI\addSeparator(), ilToolbarGUI\addText(), ILIAS\Repository\ctrl(), ilSubmitButton\getInstance(), ILIAS\Repository\lng(), and ilToolbarGUI\setFormAction().
Here is the call graph for this function:| ilDclRecordListGUI::doTableSwitch | ( | ) |
doTableSwitch
| ilCtrlException |
Definition at line 298 of file class.ilDclRecordListGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilDclRecordListGUI::doTableViewSwitch | ( | ) |
doTableViewSwitch
| ilCtrlException |
Definition at line 312 of file class.ilDclRecordListGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilDclRecordListGUI::endImport | ( | int | $i, |
| array | $warnings | ||
| ) |
End import.
| ilTemplateException |
Definition at line 275 of file class.ilDclRecordListGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilDclRecordListGUI::executeCommand | ( | ) |
execute command
| ilCtrlException |
Definition at line 111 of file class.ilDclRecordListGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 502 of file class.ilDclRecordListGUI.php.
References ilObjDataCollectionAccess\hasWriteAccess().
Here is the call graph for this function:| ilDclRecordListGUI::getObjId | ( | ) |
Definition at line 102 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 517 of file class.ilDclRecordListGUI.php.
References $data, and ilDclTable\getPartialRecords().
Here is the call graph for this function:| ilDclRecordListGUI::getRefId | ( | ) |
Definition at line 97 of file class.ilDclRecordListGUI.php.
| ilDclRecordListGUI::getTableId | ( | ) |
Definition at line 612 of file class.ilDclRecordListGUI.php.
| ilDclRecordListGUI::getTableviewId | ( | ) |
Definition at line 617 of file class.ilDclRecordListGUI.php.
| ilDclRecordListGUI::importExcel | ( | ) |
Import Data from Excel sheet.
Definition at line 241 of file class.ilDclRecordListGUI.php.
References ilObjDataCollectionAccess\hasPermissionToAddRecord(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Import records from Excel file.
Definition at line 263 of file class.ilDclRecordListGUI.php.
|
private |
Definition at line 53 of file class.ilDclRecordListGUI.php.
| ilDclRecordListGUI::initImportForm | ( | ) |
Init form.
Definition at line 216 of file class.ilDclRecordListGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 468 of file class.ilDclRecordListGUI.php.
References ilDclBaseRecordModel\getTable().
Here is the call graph for this function:
|
protected |
| ilCtrlException |
Definition at line 335 of file class.ilDclRecordListGUI.php.
| ilDclRecordListGUI::sendFile | ( | ) |
send File to User
Definition at line 348 of file class.ilDclRecordListGUI.php.
References $filename, ilFileDelivery\deliverFileAttached(), ilDclCache\getRecordCache(), ILIAS\FileDelivery\http(), ilDclPropertyFormGUI\rebuildTempFileByHash(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 477 of file class.ilDclRecordListGUI.php.
References $ref_id, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilDclRecordListGUI::showImportExcel | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 205 of file class.ilDclRecordListGUI.php.
|
staticprotected |
Definition at line 41 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 45 of file class.ilDclRecordListGUI.php.
|
private |
Definition at line 43 of file class.ilDclRecordListGUI.php.
|
private |
Definition at line 42 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 51 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 49 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 46 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 47 of file class.ilDclRecordListGUI.php.
|
protected |
Stores current mode active.
Definition at line 35 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 38 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 39 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 50 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 37 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 36 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 40 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 48 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_CANCEL_DELETE = 'cancelDelete' |
Definition at line 29 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_CONFIRM_DELETE_RECORDS = 'confirmDeleteRecords' |
Definition at line 28 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_DELETE_RECORDS = 'deleteRecords' |
Definition at line 30 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_LIST_RECORDS = 'listRecords' |
Definition at line 26 of file class.ilDclRecordListGUI.php.
Referenced by ilObjDataCollectionGUI\executeCommand(), and ilDclTableViewEditGUI\permissionDenied().
| const ilDclRecordListGUI::CMD_SHOW = 'show' |
Definition at line 27 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::CMD_SHOW_IMPORT_EXCEL = 'showImportExcel' |
Definition at line 31 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::GET_MODE = "mode" |
Definition at line 23 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::GET_TABLE_ID = 'table_id' |
Definition at line 21 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::GET_TABLEVIEW_ID = 'tableview_id' |
Definition at line 22 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::MODE_MANAGE = "manage" |
Definition at line 25 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::MODE_VIEW = "view" |
Definition at line 24 of file class.ilDclRecordListGUI.php.