ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilPDFGenerationJob.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
16{
17 private $pages;
18 private $filename;
19 private $output_mode;
25 public function setFilename($filename)
26 {
27 $this->filename = $filename;
28 return $this;
29 }
30
34 public function getFilename()
35 {
36 return $this->filename;
37 }
38
44 public function setPages($pages)
45 {
46 $this->pages = $pages;
47 return $this;
48 }
49
53 public function getPages()
54 {
55 return $this->pages;
56 }
57
62 public function addPage($page)
63 {
64 $this->pages[] = $page;
65 return $this;
66 }
67
71 public function flushPages()
72 {
73 $this->pages = array();
74 return $this;
75 }
76
81 public function setOutputMode($output_mode)
82 {
83 $this->output_mode = $output_mode;
84 return $this;
85 }
86
90 public function getOutputMode()
91 {
92 return $this->output_mode;
93 }
94}
An exception for terminatinating execution or to throw for unit testing.
Class ilPDFGenerationJob.