ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (ilObjDataCollectionGUI $a_parent_obj, int $table_id, int $tableview_id) | |
getRefId () | |
getObjId () | |
executeCommand () | |
execute command More... | |
listRecords (bool $use_tableview_filter=false) | |
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 (bool $use_tableview_filter) | |
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(), renderer(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
|
protected |
ilCtrlException |
Definition at line 301 of file class.ilDclRecordListGUI.php.
References listRecords().
|
protected |
Definition at line 562 of file class.ilDclRecordListGUI.php.
References $table_id, $tableview_id, and null.
Referenced by executeCommand().
|
protected |
Definition at line 539 of file class.ilDclRecordListGUI.php.
References ILIAS\Repository\ctrl(), getTableId(), ilObjDataCollectionAccess\hasWriteAccess(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by listRecords().
ilDclRecordListGUI::endImport | ( | int | $i, |
array | $warnings | ||
) |
End import.
ilTemplateException |
Definition at line 279 of file class.ilDclRecordListGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by importRecords().
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().
ilDclRecordListGUI::getObjId | ( | ) |
Definition at line 105 of file class.ilDclRecordListGUI.php.
|
protected |
Definition at line 495 of file class.ilDclRecordListGUI.php.
References $data, $table_obj, ilDclTable\getPartialRecords(), and getRefId().
Referenced by listRecords().
ilDclRecordListGUI::getRefId | ( | ) |
Definition at line 100 of file class.ilDclRecordListGUI.php.
Referenced by getRecordListTableGUI().
ilDclRecordListGUI::getTableId | ( | ) |
Definition at line 575 of file class.ilDclRecordListGUI.php.
References $table_id.
Referenced by createSwitchers().
ilDclRecordListGUI::getTableviewId | ( | ) |
ilDclRecordListGUI::importExcel | ( | ) |
Import Data from Excel sheet.
Definition at line 245 of file class.ilDclRecordListGUI.php.
References $table_id, ilObjDataCollectionAccess\hasPermissionToAddRecord(), importRecords(), initImportForm(), ILIAS\Repository\lng(), and showImportExcel().
|
private |
Import records from Excel file.
Definition at line 267 of file class.ilDclRecordListGUI.php.
References $table_id, endImport(), and ilDclContentImporter\import().
Referenced by importExcel().
ilDclRecordListGUI::initImportForm | ( | ) |
Init form.
Definition at line 220 of file class.ilDclRecordListGUI.php.
References ILIAS\Repository\lng(), and ilFormPropertyGUI\setRequired().
Referenced by importExcel(), and showImportExcel().
ilDclRecordListGUI::listRecords | ( | bool | $use_tableview_filter = false | ) |
Definition at line 153 of file class.ilDclRecordListGUI.php.
References $message, $table_id, createSwitchers(), ILIAS\Repository\ctrl(), getRecordListTableGUI(), ilObjDataCollectionAccess\hasAccessToFields(), ilObjDataCollectionAccess\hasPermissionToAddRecord(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), null, ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().
Referenced by applyFilter(), executeCommand(), and resetFilter().
|
private |
Definition at line 464 of file class.ilDclRecordListGUI.php.
References ilDclBaseRecordModel\getTable().
Referenced by sendFile().
|
protected |
ilCtrlException |
Definition at line 314 of file class.ilDclRecordListGUI.php.
References listRecords().
ilDclRecordListGUI::sendFile | ( | ) |
send File to User
Definition at line 327 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(), null, ilDclPropertyFormGUI\rebuildTempFileByHash(), recordBelongsToCollection(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().
|
protected |
Definition at line 473 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().
ilDclRecordListGUI::showImportExcel | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 209 of file class.ilDclRecordListGUI.php.
References initImportForm().
Referenced by importExcel().
|
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.