ILIAS
release_4-4 Revision
|
Class ilDataCollectionField. More...
Public Member Functions | |
__construct (ilObjDataCollectionGUI $a_parent_obj, $table_id) | |
Constructor. More... | |
executeCommand () | |
execute command More... | |
listRecords () | |
List Records. More... | |
exportExcel () | |
showImportExcel ($form=null) | |
importExcel () | |
endImport ($i, $warnings) | |
getReferenceFromValue ($field, $value) | |
doTableSwitch () | |
doTableSwitch More... | |
applyFilter () | |
resetFilter () | |
sendFile () | |
Protected Attributes | |
$max_imports = 100 | |
$supported_import_datatypes | |
Private Member Functions | |
importRecords ($file, $simulate=false) | |
getExcelCharForInteger ($int) | |
checkImportType ($field, &$warnings) | |
getImportFieldsFromTitles ($titles, &$warnings) | |
recordBelongsToCollection (ilDataCollectionRecord $record) | |
Private Attributes | |
$table_obj | |
Class ilDataCollectionField.
Definition at line 20 of file class.ilDataCollectionRecordListGUI.php.
ilDataCollectionRecordListGUI::__construct | ( | ilObjDataCollectionGUI | $a_parent_obj, |
$table_id | |||
) |
Constructor.
object | $a_parent_obj | |
int | $table_id |
Definition at line 40 of file class.ilDataCollectionRecordListGUI.php.
References $_GET, $ilCtrl, and ilDataCollectionCache\getTableCache().
ilDataCollectionRecordListGUI::applyFilter | ( | ) |
Definition at line 374 of file class.ilDataCollectionRecordListGUI.php.
References $ilCtrl, and listRecords().
|
private |
$field | ilDataCollectionField |
$warnings | array |
Definition at line 325 of file class.ilDataCollectionRecordListGUI.php.
References $lng, and $supported_import_datatypes.
Referenced by getImportFieldsFromTitles().
ilDataCollectionRecordListGUI::doTableSwitch | ( | ) |
doTableSwitch
Definition at line 363 of file class.ilDataCollectionRecordListGUI.php.
References $_POST, and $ilCtrl.
ilDataCollectionRecordListGUI::endImport | ( | $i, | |
$warnings | |||
) |
Definition at line 275 of file class.ilDataCollectionRecordListGUI.php.
References $ilCtrl, $lng, and $tpl.
Referenced by importRecords().
ilDataCollectionRecordListGUI::executeCommand | ( | ) |
execute command
Definition at line 58 of file class.ilDataCollectionRecordListGUI.php.
References $cmd, $ilCtrl, and $tpl.
ilDataCollectionRecordListGUI::exportExcel | ( | ) |
Definition at line 148 of file class.ilDataCollectionRecordListGUI.php.
References $ilCtrl, $lng, $table_obj, exit, ilTable2GUI\EXPORT_EXCEL, and ilDataCollectionRecordListTableGUI\setRecordData().
|
private |
Definition at line 309 of file class.ilDataCollectionRecordListGUI.php.
Referenced by getImportFieldsFromTitles(), and importRecords().
|
private |
$titles | string[] |
Definition at line 339 of file class.ilDataCollectionRecordListGUI.php.
References $lng, checkImportType(), and getExcelCharForInteger().
Referenced by importRecords().
ilDataCollectionRecordListGUI::getReferenceFromValue | ( | $field, | |
$value | |||
) |
$field | ilDataCollectionField |
$value |
Definition at line 299 of file class.ilDataCollectionRecordListGUI.php.
References ilDataCollectionCache\getFieldCache(), and ilDataCollectionCache\getTableCache().
Referenced by importRecords().
ilDataCollectionRecordListGUI::importExcel | ( | ) |
Definition at line 199 of file class.ilDataCollectionRecordListGUI.php.
References $file, $lng, exit, importRecords(), and showImportExcel().
|
private |
Definition at line 217 of file class.ilDataCollectionRecordListGUI.php.
References $file, $ilUser, $lng, endImport(), getExcelCharForInteger(), getImportFieldsFromTitles(), getReferenceFromValue(), IL_CAL_DATETIME, IL_CAL_UNIX, ilDataCollectionDatatype\INPUTFORMAT_DATETIME, and ilDataCollectionDatatype\INPUTFORMAT_REFERENCE.
Referenced by importExcel().
ilDataCollectionRecordListGUI::listRecords | ( | ) |
List Records.
Definition at line 77 of file class.ilDataCollectionRecordListGUI.php.
References $data, $ilCtrl, $lng, $options, $records, $total, $tpl, ilObjDataCollection\_hasWriteAccess(), and ilUtil\sendInfo().
Referenced by applyFilter(), and resetFilter().
|
private |
Definition at line 421 of file class.ilDataCollectionRecordListGUI.php.
References ilDataCollectionRecord\getTable().
Referenced by sendFile().
ilDataCollectionRecordListGUI::resetFilter | ( | ) |
Definition at line 387 of file class.ilDataCollectionRecordListGUI.php.
References $ilCtrl, and listRecords().
ilDataCollectionRecordListGUI::sendFile | ( | ) |
Definition at line 400 of file class.ilDataCollectionRecordListGUI.php.
References $_GET, ilUtil\deliverFile(), ilDataCollectionCache\getRecordCache(), and recordBelongsToCollection().
ilDataCollectionRecordListGUI::showImportExcel | ( | $form = null | ) |
Definition at line 163 of file class.ilDataCollectionRecordListGUI.php.
References $file, $ilCtrl, $lng, $tpl, and ilFormPropertyGUI\setInfo().
Referenced by importExcel().
|
protected |
Definition at line 23 of file class.ilDataCollectionRecordListGUI.php.
|
protected |
Definition at line 25 of file class.ilDataCollectionRecordListGUI.php.
Referenced by checkImportType().
|
private |
Definition at line 33 of file class.ilDataCollectionRecordListGUI.php.
Referenced by exportExcel().