|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for ilDclRecordListGUI:Public Member Functions | |
| __construct (ilObjDataCollectionGUI $a_parent_obj, $table_id) | |
| executeCommand () | |
| execute command More... | |
| showImportExcel ($form=null) | |
| initImportForm () | |
| Init form. More... | |
| importExcel () | |
| Import Data from Excel sheet. More... | |
| endImport ($i, $warnings) | |
| End import. More... | |
| doTableSwitch () | |
| doTableSwitch More... | |
| doTableViewSwitch () | |
| doTableViewSwitch More... | |
| sendFile () | |
| send File to User More... | |
Data Fields | |
| const | GET_TABLE_ID = 'table_id' |
| const | GET_TABLEVIEW_ID = 'tableview_id' |
| const | GET_MODE = 'mode' |
| const | MODE_VIEW = 1 |
| const | MODE_MANAGE = 2 |
| 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 () | |
| getAvailableTables () | |
| getRecordListTableGUI ($use_tableview_filter) | |
| createSwitchers () | |
| checkAccess () | |
Protected Attributes | |
| $mode = self::MODE_VIEW | |
| $table_obj | |
| $ctrl | |
| $lng | |
| $tableview_id | |
Static Protected Attributes | |
| static | $available_modes = array(self::MODE_VIEW, self::MODE_MANAGE) |
Private Member Functions | |
| importRecords ($file, $simulate=false) | |
| Import records from Excel file. More... | |
| recordBelongsToCollection (ilDclBaseRecordModel $record) | |
Definition at line 14 of file class.ilDclRecordListGUI.php.
| ilDclRecordListGUI::__construct | ( | ilObjDataCollectionGUI | $a_parent_obj, |
| $table_id | |||
| ) |
| ilObjDataCollectionGUI | $a_parent_obj | |
| $table_id |
Definition at line 62 of file class.ilDclRecordListGUI.php.
References $_GET, $DIC, $ilCtrl, $lng, $tableview_id, GET_MODE, GET_TABLEVIEW_ID, ilDclCache\getTableCache(), and MODE_VIEW.
Here is the call graph for this function:
|
protected |
Definition at line 328 of file class.ilDclRecordListGUI.php.
References $table.
|
protected |
Definition at line 623 of file class.ilDclRecordListGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Definition at line 575 of file class.ilDclRecordListGUI.php.
References $DIC, PHPMailer\PHPMailer\$options, getAvailableTables(), and ilSubmitButton\getInstance().
Here is the call graph for this function:| ilDclRecordListGUI::doTableSwitch | ( | ) |
doTableSwitch
Definition at line 305 of file class.ilDclRecordListGUI.php.
References $_POST.
| ilDclRecordListGUI::doTableViewSwitch | ( | ) |
doTableViewSwitch
Definition at line 318 of file class.ilDclRecordListGUI.php.
References $_POST.
| ilDclRecordListGUI::endImport | ( | $i, | |
| $warnings | |||
| ) |
End import.
| $i | |
| $warnings |
Definition at line 280 of file class.ilDclRecordListGUI.php.
References $DIC, $i, Sabre\VObject\$output, $tpl, $warning, and $warnings.
Referenced by importRecords().
Here is the caller graph for this function:| ilDclRecordListGUI::executeCommand | ( | ) |
execute command
Definition at line 98 of file class.ilDclRecordListGUI.php.
References $DIC, checkAccess(), CMD_CANCEL_DELETE, CMD_CONFIRM_DELETE_RECORDS, CMD_DELETE_RECORDS, CMD_LIST_RECORDS, CMD_SHOW, CMD_SHOW_IMPORT_EXCEL, and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Definition at line 508 of file class.ilDclRecordListGUI.php.
References PHPMailer\PHPMailer\$options, $table, and ilObjDataCollectionAccess\hasWriteAccess().
Referenced by createSwitchers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $use_tableview_filter |
Definition at line 529 of file class.ilDclRecordListGUI.php.
References $data, $list, $records, $table_obj, and $total.
| ilDclRecordListGUI::importExcel | ( | ) |
Import Data from Excel sheet.
Definition at line 242 of file class.ilDclRecordListGUI.php.
References $form, ilObjDataCollectionAccess\hasPermissionToAddRecord(), importRecords(), initImportForm(), and showImportExcel().
Here is the call graph for this function:
|
private |
Import records from Excel file.
| $file | ||
| bool | $simulate |
Definition at line 265 of file class.ilDclRecordListGUI.php.
References $result, and endImport().
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 215 of file class.ilDclRecordListGUI.php.
References $form.
Referenced by importExcel(), and showImportExcel().
Here is the caller graph for this function:
|
private |
| ilDclBaseRecordModel | $record |
Definition at line 467 of file class.ilDclRecordListGUI.php.
References $table, and ilDclBaseRecordModel\getTable().
Referenced by sendFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilDclRecordListGUI::sendFile | ( | ) |
send File to User
Definition at line 354 of file class.ilDclRecordListGUI.php.
References $_GET, $DIC, $ilUser, ilUtil\deliverFile(), ilDclCache\getRecordCache(), ilDclPropertyFormGUI\rebuildTempFileByHash(), and recordBelongsToCollection().
Here is the call graph for this function:| ilDclRecordListGUI::showImportExcel | ( | $form = null | ) |
Definition at line 199 of file class.ilDclRecordListGUI.php.
References $DIC, $form, $tpl, and initImportForm().
Referenced by importExcel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 55 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 43 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 47 of file class.ilDclRecordListGUI.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 39 of file class.ilDclRecordListGUI.php.
Referenced by getRecordListTableGUI().
|
protected |
Definition at line 51 of file class.ilDclRecordListGUI.php.
Referenced by __construct().
| const ilDclRecordListGUI::CMD_CANCEL_DELETE = 'cancelDelete' |
Definition at line 26 of file class.ilDclRecordListGUI.php.
Referenced by executeCommand().
| const ilDclRecordListGUI::CMD_CONFIRM_DELETE_RECORDS = 'confirmDeleteRecords' |
Definition at line 25 of file class.ilDclRecordListGUI.php.
Referenced by executeCommand().
| const ilDclRecordListGUI::CMD_DELETE_RECORDS = 'deleteRecords' |
Definition at line 27 of file class.ilDclRecordListGUI.php.
Referenced by executeCommand().
| const ilDclRecordListGUI::CMD_LIST_RECORDS = 'listRecords' |
Definition at line 23 of file class.ilDclRecordListGUI.php.
Referenced by ilObjDataCollectionGUI\executeCommand(), executeCommand(), and ilDclTableViewEditGUI\permissionDenied().
| const ilDclRecordListGUI::CMD_SHOW = 'show' |
Definition at line 24 of file class.ilDclRecordListGUI.php.
Referenced by executeCommand().
| const ilDclRecordListGUI::CMD_SHOW_IMPORT_EXCEL = 'showImportExcel' |
Definition at line 28 of file class.ilDclRecordListGUI.php.
Referenced by executeCommand().
| const ilDclRecordListGUI::GET_MODE = 'mode' |
Definition at line 18 of file class.ilDclRecordListGUI.php.
Referenced by __construct().
| const ilDclRecordListGUI::GET_TABLE_ID = 'table_id' |
Definition at line 16 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::GET_TABLEVIEW_ID = 'tableview_id' |
Definition at line 17 of file class.ilDclRecordListGUI.php.
Referenced by __construct().
| const ilDclRecordListGUI::MODE_MANAGE = 2 |
Definition at line 21 of file class.ilDclRecordListGUI.php.
| const ilDclRecordListGUI::MODE_VIEW = 1 |
Definition at line 20 of file class.ilDclRecordListGUI.php.
Referenced by __construct().