31 ?
int $table_id =
null,
33 ?
string $filepath =
null
42 return $this->
raiseError(
'No valid target given.',
'CLIENT');
47 "Parent with ID $target_ref_id has been deleted.",
48 'CLIENT_TARGET_DELETED'
54 'Check access failed. No permission to read DataCollection',
55 "CLIENT_PERMISSION_ISSUE"
61 return $exporter->export($format, $filepath);
63 return $this->
raiseError($exception->getMessage(), $exception->getCode());
Base class for ILIAS Exception handling.
static hasReadAccess(int $ref, ?int $user_id=0)
static _isInTrash(int $ref_id)
raiseError(string $a_message, $a_code)
checkSession(string $sid)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
exportDataCollectionContent(string $sid, int $target_ref_id, ?int $table_id=null, string $format=ilDclContentExporter::EXPORT_EXCEL, ?string $filepath=null)
Export DataCollection async.