ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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, and ilDclCache\getTableCache().
|
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().
|
protected |
Definition at line 575 of file class.ilDclRecordListGUI.php.
References $DIC, PHPMailer\PHPMailer\$options, getAvailableTables(), and ilSubmitButton\getInstance().
Referenced by executeCommand().
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().
ilDclRecordListGUI::executeCommand | ( | ) |
execute command
Definition at line 98 of file class.ilDclRecordListGUI.php.
References $DIC, $ilSetting, $list, $tpl, checkAccess(), createSwitchers(), ilLinkButton\getInstance(), getRecordListTableGUI(), ilObjDataCollectionAccess\hasAccessToFields(), ilObjDataCollectionAccess\hasPermissionToAddRecord(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
|
protected |
Definition at line 508 of file class.ilDclRecordListGUI.php.
References PHPMailer\PHPMailer\$options, $table, and ilObjDataCollectionAccess\hasWriteAccess().
Referenced by createSwitchers().
|
protected |
$use_tableview_filter |
Definition at line 529 of file class.ilDclRecordListGUI.php.
References $data, $list, $records, $table_obj, and $total.
Referenced by executeCommand().
ilDclRecordListGUI::importExcel | ( | ) |
Import Data from Excel sheet.
Definition at line 242 of file class.ilDclRecordListGUI.php.
References $form, ilObjDataCollectionAccess\hasPermissionToAddRecord(), importRecords(), initImportForm(), and showImportExcel().
|
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().
ilDclRecordListGUI::initImportForm | ( | ) |
Init form.
Definition at line 215 of file class.ilDclRecordListGUI.php.
References $form, ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by importExcel(), and showImportExcel().
|
private |
ilDclBaseRecordModel | $record |
Definition at line 467 of file class.ilDclRecordListGUI.php.
References $_GET, $DIC, $mode, $table, and ilDclBaseRecordModel\getTable().
Referenced by sendFile().
|
protected |
ilDclRecordListGUI::sendFile | ( | ) |
send File to User
Definition at line 354 of file class.ilDclRecordListGUI.php.
References $_GET, $_POST, $DIC, $ilUser, $key, $tpl, ilUtil\deliverFile(), ilDclCache\getRecordCache(), ilDclCache\getRecordFieldCache(), ilDclCache\getRecordRepresentation(), ilDclPropertyFormGUI\rebuildTempFileByHash(), recordBelongsToCollection(), and ilUtil\sendInfo().
ilDclRecordListGUI::showImportExcel | ( | $form = null | ) |
Definition at line 199 of file class.ilDclRecordListGUI.php.
References $DIC, $form, $tpl, and initImportForm().
Referenced by importExcel().
|
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.
Referenced by recordBelongsToCollection().
|
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.
const ilDclRecordListGUI::CMD_CONFIRM_DELETE_RECORDS = 'confirmDeleteRecords' |
Definition at line 25 of file class.ilDclRecordListGUI.php.
const ilDclRecordListGUI::CMD_DELETE_RECORDS = 'deleteRecords' |
Definition at line 27 of file class.ilDclRecordListGUI.php.
const ilDclRecordListGUI::CMD_LIST_RECORDS = 'listRecords' |
Definition at line 23 of file class.ilDclRecordListGUI.php.
Referenced by ilObjDataCollectionGUI\executeCommand(), and ilDclTableViewEditGUI\permissionDenied().
const ilDclRecordListGUI::CMD_SHOW = 'show' |
Definition at line 24 of file class.ilDclRecordListGUI.php.
const ilDclRecordListGUI::CMD_SHOW_IMPORT_EXCEL = 'showImportExcel' |
Definition at line 28 of file class.ilDclRecordListGUI.php.
const ilDclRecordListGUI::GET_MODE = 'mode' |
Definition at line 18 of file class.ilDclRecordListGUI.php.
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.
const ilDclRecordListGUI::MODE_MANAGE = 2 |
Definition at line 21 of file class.ilDclRecordListGUI.php.
Referenced by ilDclRecordListTableGUI\buildData().
const ilDclRecordListGUI::MODE_VIEW = 1 |
Definition at line 20 of file class.ilDclRecordListGUI.php.