|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Collaboration diagram for ilDclContentImporter:Public Member Functions | |
| __construct (int $ref_id, ?int $table_id=null) | |
| import (string $file, bool $simulate=false) | |
| sendImportTemplate () | |
Data Fields | |
| const | EXPORT_EXCEL = 'xlsx' |
| const array | SUPPORTED_IMPORT_DATATYPES |
Protected Member Functions | |
| checkImportType (ilDclBaseFieldModel $field) | |
| getImportFieldsFromTitles (ilDclTable $table, array $titles) | |
Protected Attributes | |
| int | $max_imports = 100 |
| array | $warnings |
| int | $ref_id |
| Ref-ID of DataCollection. More... | |
| int | $table_id |
| Table-Id for export. More... | |
| ilObjDataCollection | $dcl |
| array | $tables |
| ilLanguage | $lng |
| ilObjUser | $user |
Definition at line 21 of file class.ilDclContentImporter.php.
| ilDclContentImporter::__construct | ( | int | $ref_id, |
| ?int | $table_id = null |
||
| ) |
Definition at line 59 of file class.ilDclContentImporter.php.
References $DIC, $ref_id, $table_id, ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 200 of file class.ilDclContentImporter.php.
References ilDclBaseFieldModel\getDatatypeId(), ilDclBaseFieldModel\getTitle(), and ILIAS\Repository\lng().
Referenced by getImportFieldsFromTitles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string[] | $titles |
Definition at line 215 of file class.ilDclContentImporter.php.
References ilDclStandardField\_getImportableStandardFieldTitle(), ilDclStandardField\_getNonImportableStandardFieldTitles(), checkImportType(), ilDataCollectionImporter\getExcelCharForInteger(), ilDclTable\getRecordFields(), and ILIAS\Repository\lng().
Referenced by import().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclContentImporter::import | ( | string | $file, |
| bool | $simulate = false |
||
| ) |
| ilException | |
| ilDateTimeException |
Definition at line 77 of file class.ilDclContentImporter.php.
References Vendor\Package\$e, $warnings, ilDataCollectionImporter\getExcelCharForInteger(), getImportFieldsFromTitles(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by ilDclRecordListGUI\importRecords().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclContentImporter::sendImportTemplate | ( | ) |
Definition at line 179 of file class.ilDclContentImporter.php.
References ILIAS\TestQuestionPool\ExportImport\Foundation\Export\$exporter, and $filename.
Referenced by ilDclRecordListGUI\downloadImportTemplate().
Here is the caller graph for this function:
|
protected |
Definition at line 50 of file class.ilDclContentImporter.php.
|
protected |
Definition at line 56 of file class.ilDclContentImporter.php.
|
protected |
Definition at line 38 of file class.ilDclContentImporter.php.
|
protected |
Ref-ID of DataCollection.
Definition at line 44 of file class.ilDclContentImporter.php.
Referenced by __construct().
|
protected |
Table-Id for export.
Definition at line 48 of file class.ilDclContentImporter.php.
Referenced by __construct().
|
protected |
Definition at line 54 of file class.ilDclContentImporter.php.
|
protected |
Definition at line 57 of file class.ilDclContentImporter.php.
|
protected |
Definition at line 40 of file class.ilDclContentImporter.php.
Referenced by import().
| const ilDclContentImporter::EXPORT_EXCEL = 'xlsx' |
Definition at line 25 of file class.ilDclContentImporter.php.
| const array ilDclContentImporter::SUPPORTED_IMPORT_DATATYPES |
Definition at line 26 of file class.ilDclContentImporter.php.
Referenced by ilDclRecordListGUI\hasImportableFields().