ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Description of class class. More...
Public Member Functions | |
__construct ($a_usr_id) | |
Constructor. More... | |
setEvents (array $a_events) | |
Set events. More... | |
getEvents () | |
Get events. More... | |
setBucketTitle ($a_title) | |
set bucket title. More... | |
getBucketTitle () | |
return bucket title. More... | |
run () | |
Run task. More... | |
Protected Attributes | |
$user_id | |
$task_factory = null | |
$bucket_title | |
$has_files = false | |
Private Member Functions | |
collectFiles (ilCalendarCopyDefinition $def) | |
Collect files. More... | |
getEventFileNameFromId (ilCalendarEntry $a_event, $a_file_id) | |
Only courses store the files using the id for naming. More... | |
Private Attributes | |
$logger = null | |
$events = [] | |
Array of calendar event. More... | |
Description of class class.
Definition at line 14 of file class.ilDownloadFilesBackgroundTask.php.
ilDownloadFilesBackgroundTask::__construct | ( | $a_usr_id | ) |
Constructor.
type | $a_usr_id |
Definition at line 52 of file class.ilDownloadFilesBackgroundTask.php.
References $DIC.
|
private |
Collect files.
Definition at line 148 of file class.ilDownloadFilesBackgroundTask.php.
References $files, $time, ilCalendarCopyDefinition\addCopyDefinition(), array, ilUtil\getASCIIFilename(), getEventFileNameFromId(), getEvents(), ilAppointmentFileHandlerFactory\getInstance(), ilCalendarCategory\getInstanceByCategoryId(), and IL_CAL_FKT_DATE.
Referenced by run().
ilDownloadFilesBackgroundTask::getBucketTitle | ( | ) |
return bucket title.
Definition at line 92 of file class.ilDownloadFilesBackgroundTask.php.
References $bucket_title.
Referenced by run().
|
private |
Only courses store the files using the id for naming.
ilCalendarEntry |
Definition at line 208 of file class.ilDownloadFilesBackgroundTask.php.
References $filename, ilCalendarCategoryAssignments\_lookupCategory(), ilObject\_lookupType(), ilUtil\getASCIIFilename(), ilCalendarEntry\getEntryId(), ilCalendarCategory\getInstanceByCategoryId(), and ilCalendarCategory\TYPE_OBJ.
Referenced by collectFiles().
ilDownloadFilesBackgroundTask::getEvents | ( | ) |
Get events.
Definition at line 74 of file class.ilDownloadFilesBackgroundTask.php.
References $events.
Referenced by collectFiles().
ilDownloadFilesBackgroundTask::run | ( | ) |
Run task.
Definition at line 108 of file class.ilDownloadFilesBackgroundTask.php.
References $GLOBALS, collectFiles(), ilUtil\getASCIIFilename(), getBucketTitle(), and ilUtil\sendInfo().
ilDownloadFilesBackgroundTask::setBucketTitle | ( | $a_title | ) |
set bucket title.
$a_title |
Definition at line 83 of file class.ilDownloadFilesBackgroundTask.php.
Referenced by ilAppointmentPresentationGUI\downloadFiles().
ilDownloadFilesBackgroundTask::setEvents | ( | array | $a_events | ) |
Set events.
array | $a_events |
Definition at line 65 of file class.ilDownloadFilesBackgroundTask.php.
|
protected |
Definition at line 40 of file class.ilDownloadFilesBackgroundTask.php.
Referenced by getBucketTitle().
|
private |
Array of calendar event.
Definition at line 34 of file class.ilDownloadFilesBackgroundTask.php.
Referenced by getEvents().
|
protected |
Definition at line 46 of file class.ilDownloadFilesBackgroundTask.php.
|
private |
Definition at line 19 of file class.ilDownloadFilesBackgroundTask.php.
|
protected |
Definition at line 29 of file class.ilDownloadFilesBackgroundTask.php.
|
protected |
Definition at line 24 of file class.ilDownloadFilesBackgroundTask.php.