ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
interface.ilBackgroundTaskHandler.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
11 {
17  public static function getInstanceFromTask(ilBackgroundTask $a_task);
18 
24  public function getTask();
25 
32  public function init($a_params);
33 
37  public function process();
38 
42  public function cancel();
43 
47  public function finish();
48 
52  public function deleteTaskAndFiles();
53 }
Background task handler interface.
finish()
Finish the task.
deleteTaskAndFiles()
Remove task and its files.
getTask()
Get current task instance.
cancel()
Cancel the task.
static getInstanceFromTask(ilBackgroundTask $a_task)
Constructor/Factory.
init($a_params)
Init background task.
process()
Process the task.