|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilDclContentExporter:Public Member Functions | |
| __construct (int $ref_id, ?int $table_id, array $filter=[]) | |
| sanitizeFilename (string $filename) | |
| Sanitize the given filename The ilUtil::_sanitizeFilename() does not clean enough. More... | |
| getExportContentPath (string $format) | |
| Return export path. More... | |
| export (string $format=self::EXPORT_EXCEL, string $filepath=null, bool $send=false) | |
| Creates an export of a specific data collection table. More... | |
| exportAsync (string $format=self::EXPORT_EXCEL, string $filepath=null) | |
| Start Export async. More... | |
Data Fields | |
| const | SOAP_FUNCTION_NAME = 'exportDataCollectionContent' |
| const | EXPORT_EXCEL = 'xlsx' |
| const | IN_PROGRESS_POSTFIX = '.prog' |
Protected Member Functions | |
| fillRowExcel (ilDclTable $table, ilExcel $worksheet, ilDclBaseRecordModel $record, int $row) | |
| Fill a excel row. More... | |
| fillHeaderExcel (ilDclTable $table, ilExcel $worksheet, int $row) | |
| Fill Excel header. More... | |
| fillMetaExcel (ilDclTable $table, ilExcel $worksheet, int $row) | |
| Fill Excel meta-data. More... | |
Protected Attributes | |
| int | $ref_id |
| Ref-ID of DataCollection. More... | |
| int | $table_id |
| Table-Id for export. More... | |
| array | $filter |
| Array with filters. More... | |
| ilObjDataCollection | $dcl |
| ilLanguage | $lng |
| ilDclTable | $table |
| array | $tables |
Private Attributes | |
| ilGlobalTemplateInterface | $main_tpl |
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.ilDclContentExporter.php.
| ilDclContentExporter::__construct | ( | int | $ref_id, |
| ?int | $table_id, | ||
| array | $filter = [] |
||
| ) |
Definition at line 45 of file class.ilDclContentExporter.php.
References $DIC, $filter, $lng, $ref_id, $table_id, ILIAS\UI\examples\Symbol\Glyph\Filter\filter(), ILIAS\Repository\lng(), and ilLanguage\loadLanguageModule().
Here is the call graph for this function:| ilDclContentExporter::export | ( | string | $format = self::EXPORT_EXCEL, |
| string | $filepath = null, |
||
| bool | $send = false |
||
| ) |
Creates an export of a specific data collection table.
PhpOffice\PhpSpreadsheet\Writer\Exception|\PhpOffice\PhpSpreadsheet\Exception
Definition at line 124 of file class.ilDclContentExporter.php.
References $filename, $format, ILIAS\Repository\lng(), ilFileUtils\makeDirParents(), and ilDclCache\resetCache().
Here is the call graph for this function:| ilDclContentExporter::exportAsync | ( | string | $format = self::EXPORT_EXCEL, |
| string | $filepath = null |
||
| ) |
Start Export async.
| ilDclException |
Definition at line 215 of file class.ilDclContentExporter.php.
References $_COOKIE, $client_id, $DIC, $format, $res, and ilSession\_duplicate().
Here is the call graph for this function:
|
protected |
Fill Excel header.
Definition at line 101 of file class.ilDclContentExporter.php.
References ilDclTable\getFields().
Here is the call graph for this function:
|
protected |
Fill Excel meta-data.
Definition at line 115 of file class.ilDclContentExporter.php.
|
protected |
Fill a excel row.
Definition at line 84 of file class.ilDclContentExporter.php.
References ilDclBaseRecordModel\fillRecordFieldExcelExport().
Here is the call graph for this function:| ilDclContentExporter::getExportContentPath | ( | string | $format | ) |
Return export path.
Definition at line 76 of file class.ilDclContentExporter.php.
References $format, and ilExport\_getExportDirectory().
Here is the call graph for this function:| ilDclContentExporter::sanitizeFilename | ( | string | $filename | ) |
Sanitize the given filename The ilUtil::_sanitizeFilename() does not clean enough.
Definition at line 66 of file class.ilDclContentExporter.php.
References $filename.
|
protected |
Definition at line 37 of file class.ilDclContentExporter.php.
|
protected |
Array with filters.
Definition at line 35 of file class.ilDclContentExporter.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilDclContentExporter.php.
Referenced by __construct().
|
private |
Definition at line 42 of file class.ilDclContentExporter.php.
|
protected |
Ref-ID of DataCollection.
Definition at line 27 of file class.ilDclContentExporter.php.
Referenced by __construct().
|
protected |
Definition at line 41 of file class.ilDclContentExporter.php.
|
protected |
Table-Id for export.
Definition at line 31 of file class.ilDclContentExporter.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilDclContentExporter.php.
| const ilDclContentExporter::EXPORT_EXCEL = 'xlsx' |
Definition at line 22 of file class.ilDclContentExporter.php.
Referenced by ilDclRecordListTableGUI\exportData().
| const ilDclContentExporter::IN_PROGRESS_POSTFIX = '.prog' |
Definition at line 23 of file class.ilDclContentExporter.php.
Referenced by ilDclExportTableGUI\fillRow(), and ilDclExportTableGUI\isExportInProgress().
| const ilDclContentExporter::SOAP_FUNCTION_NAME = 'exportDataCollectionContent' |
Definition at line 21 of file class.ilDclContentExporter.php.