1 | <?php |
||
32 | class Page |
||
33 | { |
||
34 | /** |
||
35 | * @var \Zend\ServiceManager\ServiceManager |
||
36 | */ |
||
37 | protected $serviceManager; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $customroottemplate; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | public $cb_pagetype; |
||
48 | |||
49 | /** |
||
50 | * @var string |
||
51 | */ |
||
52 | public $cb_subnav; |
||
53 | |||
54 | /** |
||
55 | * @var string |
||
56 | */ |
||
57 | public $cb_customcontenttemplate; |
||
58 | |||
59 | /** |
||
60 | * @var int |
||
61 | */ |
||
62 | protected $status = 200; |
||
63 | |||
64 | /** |
||
65 | * @var \HaaseIT\HCSF\PagePayload |
||
66 | */ |
||
67 | public $oPayload; |
||
68 | |||
69 | /** |
||
70 | * @var array |
||
71 | */ |
||
72 | public $cb_customdata; |
||
73 | |||
74 | /** |
||
75 | * @var array|string |
||
76 | */ |
||
77 | public $cb_pageconfig; |
||
78 | |||
79 | /** |
||
80 | * @var array |
||
81 | */ |
||
82 | protected $headers = []; |
||
83 | |||
84 | /** |
||
85 | * @var string |
||
86 | */ |
||
87 | protected $contenttype = 'text/html; charset=utf-8'; |
||
88 | |||
89 | /** |
||
90 | * @var bool |
||
91 | */ |
||
92 | protected $renderwithtemplate = true; |
||
93 | |||
94 | /** |
||
95 | * @return string |
||
96 | */ |
||
97 | public function getContenttype() |
||
101 | |||
102 | /** |
||
103 | * @param string $contenttype |
||
104 | */ |
||
105 | public function setContenttype($contenttype) |
||
109 | |||
110 | /** |
||
111 | * @return bool |
||
112 | */ |
||
113 | public function isRenderwithtemplate() |
||
117 | |||
118 | /** |
||
119 | * @param bool $renderwithtemplate |
||
120 | */ |
||
121 | public function setRenderwithtemplate($renderwithtemplate) |
||
125 | |||
126 | /** |
||
127 | * @return string |
||
128 | */ |
||
129 | public function getCustomRootTemplate() |
||
133 | |||
134 | /** |
||
135 | * @return array |
||
136 | */ |
||
137 | public function getHeaders() |
||
141 | |||
142 | /** |
||
143 | * @param string $header |
||
144 | */ |
||
145 | public function addHeader($header) |
||
149 | |||
150 | /** |
||
151 | * @return int |
||
152 | */ |
||
153 | public function getStatus() |
||
157 | |||
158 | /** |
||
159 | * @param int $status |
||
160 | */ |
||
161 | public function setStatus($status) |
||
165 | } |
||
166 |