ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilCalFileZipJob.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
12 class ilCalFileZipJob implements \ILIAS\BackgroundTasks\Task\Job
13 {
14  protected $file;
15 
21  public function getType()
22  {
23  return "mytype";
24  }
25 
26 
32  public function run(array $values, \ILIAS\BackgroundTasks\Observer $observer)
33  {
34  $this->file = current($values);
35  }
36 
43  public function getInputTypes()
44  {
45  return array("string");
46  }
47 
53  public function setInput(array $values)
54  {
55  $this->file = current($values);
56  }
57 
58 
65  public function getOutputType()
66  {
67  return "string";
68  }
69 
76  public function getOutput()
77  {
78  return $this->file;
79  }
80 
81 
88  public function isStateless()
89  {
90  return false;
91  }
92 }
run(array $values, \ILIAS\BackgroundTasks\Observer $observer)
Run.
Class BaseForm.
setInput(array $values)
Set input // what about run input?
getInputTypes()
Get input types.
Reload workbook from saved file
Create styles array
The data for the language used.