3 declare(strict_types=1);
27 foreach ($eventItems as $obj) {
28 if ($obj[
"type"] ==
"file") {
29 if ($this->
access->checkAccessOfUser($this->user->getId(),
"read",
"", (
int)$obj[
'ref_id'])) {
30 $file =
new ilObjFile((
int)$obj[
'ref_id']);
32 $file_property->setAbsolutePath($file->getFile());
33 $file_property->setFileName($file->getFileName());
34 $files[] = $file_property;
Appointment file handler interface.
static getItemsByEvent(int $event_id)
Get session material / event items.
getFiles()
Get files (for appointment)
Session appointment file handler.
Base file handler class for appointment classes.