ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $ref_id, ?int $table_id=null) | |
import (string $file, bool $simulate=false) | |
Data Fields | |
const | EXPORT_EXCEL = 'xlsx' |
Protected Member Functions | |
checkImportType (ilDclBaseFieldModel $field) | |
getImportFieldsFromTitles (ilDclTable $table, array $titles) | |
Protected Attributes | |
int | $max_imports = 100 |
array | $supported_import_datatypes |
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 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 19 of file class.ilDclContentImporter.php.
ilDclContentImporter::__construct | ( | int | $ref_id, |
?int | $table_id = null |
||
) |
Definition at line 55 of file class.ilDclContentImporter.php.
References $DIC, $ref_id, $table_id, ILIAS\Repository\lng(), and ILIAS\Repository\user().
|
protected |
Definition at line 174 of file class.ilDclContentImporter.php.
References $supported_import_datatypes, ilDclBaseFieldModel\getDatatypeId(), ilDclBaseFieldModel\getTitle(), and ILIAS\Repository\lng().
Referenced by getImportFieldsFromTitles().
|
protected |
string[] | $titles |
Definition at line 189 of file class.ilDclContentImporter.php.
References ILIAS\LTI\ToolProvider\$key, ilDclStandardField\_getImportableStandardFieldTitle(), ilDclStandardField\_getNonImportableStandardFieldTitles(), checkImportType(), ilDataCollectionImporter\getExcelCharForInteger(), ilDclTable\getRecordFields(), and ILIAS\Repository\lng().
Referenced by import().
ilDclContentImporter::import | ( | string | $file, |
bool | $simulate = false |
||
) |
ilException | |
Definition at line 74 of file class.ilDclContentImporter.php.
References Vendor\Package\$e, $i, $warnings, ilDataCollectionImporter\getExcelCharForInteger(), getImportFieldsFromTitles(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by ilDclRecordListGUI\importRecords().
|
protected |
Definition at line 46 of file class.ilDclContentImporter.php.
|
protected |
Definition at line 52 of file class.ilDclContentImporter.php.
|
protected |
Definition at line 24 of file class.ilDclContentImporter.php.
|
protected |
Ref-ID of DataCollection.
Definition at line 40 of file class.ilDclContentImporter.php.
Referenced by __construct().
|
protected |
Definition at line 26 of file class.ilDclContentImporter.php.
Referenced by checkImportType().
|
protected |
Table-Id for export.
Definition at line 44 of file class.ilDclContentImporter.php.
Referenced by __construct().
|
protected |
Definition at line 50 of file class.ilDclContentImporter.php.
|
protected |
Definition at line 53 of file class.ilDclContentImporter.php.
|
protected |
Definition at line 36 of file class.ilDclContentImporter.php.
Referenced by import().
const ilDclContentImporter::EXPORT_EXCEL = 'xlsx' |
Definition at line 23 of file class.ilDclContentImporter.php.