|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilDataCollectionRecordListGUI. More...
Collaboration diagram for ilDataCollectionRecordListGUI:Public Member Functions | |
| __construct (ilObjDataCollectionGUI $a_parent_obj, $table_id) | |
| executeCommand () | |
| execute command More... | |
| exportExcel () | |
| Export DC as Excel sheet. More... | |
| showImportExcel ($form=NULL) | |
| importExcel () | |
| Import Data from Excel sheet. More... | |
| endImport ($i, $warnings) | |
| End import. More... | |
| getReferenceFromValue ($field, $value) | |
| doTableSwitch () | |
| doTableSwitch More... | |
| sendFile () | |
| send File to User More... | |
Data Fields | |
| const | MODE_VIEW = 1 |
| const | MODE_MANAGE = 2 |
Protected Member Functions | |
| applyFilter () | |
| resetFilter () | |
Protected Attributes | |
| $mode = self::MODE_VIEW | |
| $max_imports = 100 | |
| $supported_import_datatypes | |
| $table_obj | |
| $ctrl | |
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... | |
| getExcelCharForInteger ($int) | |
| checkImportType ($field, &$warnings) | |
| getImportFieldsFromTitles ($titles, &$warnings) | |
| recordBelongsToCollection (ilDataCollectionRecord $record) | |
Class ilDataCollectionRecordListGUI.
Definition at line 22 of file class.ilDataCollectionRecordListGUI.php.
| ilDataCollectionRecordListGUI::__construct | ( | ilObjDataCollectionGUI | $a_parent_obj, |
| $table_id | |||
| ) |
| ilObjDataCollectionGUI | $a_parent_obj | |
| $table_id |
Definition at line 64 of file class.ilDataCollectionRecordListGUI.php.
References $_GET, $ilCtrl, ilDataCollectionCache\getTableCache(), and MODE_VIEW.
Here is the call graph for this function:
|
protected |
Definition at line 493 of file class.ilDataCollectionRecordListGUI.php.
|
private |
| ilDataCollectionField | $field | |
| array | $warnings |
Definition at line 435 of file class.ilDataCollectionRecordListGUI.php.
References $lng.
Referenced by getImportFieldsFromTitles().
Here is the caller graph for this function:| ilDataCollectionRecordListGUI::doTableSwitch | ( | ) |
doTableSwitch
Definition at line 485 of file class.ilDataCollectionRecordListGUI.php.
| ilDataCollectionRecordListGUI::endImport | ( | $i, | |
| $warnings | |||
| ) |
End import.
| $i | |
| $warnings |
Definition at line 375 of file class.ilDataCollectionRecordListGUI.php.
References $ilCtrl, $lng, and $tpl.
Referenced by importRecords().
Here is the caller graph for this function:| ilDataCollectionRecordListGUI::executeCommand | ( | ) |
execute command
Definition at line 83 of file class.ilDataCollectionRecordListGUI.php.
| ilDataCollectionRecordListGUI::exportExcel | ( | ) |
Export DC as Excel sheet.
Definition at line 210 of file class.ilDataCollectionRecordListGUI.php.
References $ilCtrl, $lng, exit, and ilTable2GUI\EXPORT_EXCEL.
|
private |
Definition at line 415 of file class.ilDataCollectionRecordListGUI.php.
Referenced by getImportFieldsFromTitles(), and importRecords().
Here is the caller graph for this function:
|
private |
| $titles | string[] |
| $warnings |
Definition at line 453 of file class.ilDataCollectionRecordListGUI.php.
References $lng, ilDataCollectionStandardField\_getAllStandardFieldTitles(), checkImportType(), getExcelCharForInteger(), and ilStr\isUtf8().
Referenced by importRecords().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecordListGUI::getReferenceFromValue | ( | $field, | |
| $value | |||
| ) |
| $field | ilDataCollectionField |
| $value |
Definition at line 401 of file class.ilDataCollectionRecordListGUI.php.
References ilDataCollectionCache\getFieldCache(), and ilDataCollectionCache\getTableCache().
Referenced by importRecords().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecordListGUI::importExcel | ( | ) |
Import Data from Excel sheet.
Definition at line 272 of file class.ilDataCollectionRecordListGUI.php.
References $file, $lng, exit, importRecords(), and showImportExcel().
Here is the call graph for this function:
|
private |
Import records from Excel file.
| $file | ||
| bool | $simulate |
Definition at line 297 of file class.ilDataCollectionRecordListGUI.php.
References $file, $ilUser, $lng, endImport(), getExcelCharForInteger(), getImportFieldsFromTitles(), getReferenceFromValue(), IL_CAL_DATETIME, IL_CAL_UNIX, ilDataCollectionDatatype\INPUTFORMAT_DATETIME, ilDataCollectionDatatype\INPUTFORMAT_REFERENCE, and ilStr\isUtf8().
Referenced by importExcel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilDataCollectionRecord | $record |
Definition at line 598 of file class.ilDataCollectionRecordListGUI.php.
References ilDataCollectionRecord\getTable().
Referenced by sendFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 502 of file class.ilDataCollectionRecordListGUI.php.
| ilDataCollectionRecordListGUI::sendFile | ( | ) |
send File to User
Definition at line 514 of file class.ilDataCollectionRecordListGUI.php.
References $_GET, ilUtil\deliverFile(), ilDataCollectionCache\getRecordCache(), and recordBelongsToCollection().
Here is the call graph for this function:| ilDataCollectionRecordListGUI::showImportExcel | ( | $form = NULL | ) |
Definition at line 229 of file class.ilDataCollectionRecordListGUI.php.
References $tpl.
Referenced by importExcel().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 57 of file class.ilDataCollectionRecordListGUI.php.
|
protected |
Definition at line 53 of file class.ilDataCollectionRecordListGUI.php.
|
protected |
Definition at line 35 of file class.ilDataCollectionRecordListGUI.php.
|
protected |
Definition at line 31 of file class.ilDataCollectionRecordListGUI.php.
|
protected |
Definition at line 39 of file class.ilDataCollectionRecordListGUI.php.
|
protected |
Definition at line 49 of file class.ilDataCollectionRecordListGUI.php.
| const ilDataCollectionRecordListGUI::MODE_MANAGE = 2 |
Definition at line 25 of file class.ilDataCollectionRecordListGUI.php.
| const ilDataCollectionRecordListGUI::MODE_VIEW = 1 |
Definition at line 24 of file class.ilDataCollectionRecordListGUI.php.
Referenced by __construct().