1 | <?php |
||
14 | class posting implements EventSubscriberInterface |
||
15 | { |
||
16 | /** @var \phpbb\controller\helper */ |
||
17 | protected $helper; |
||
18 | |||
19 | /** @var \phpbb\template\template */ |
||
20 | protected $template; |
||
21 | |||
22 | /** @var \blitze\content\services\form\builder */ |
||
23 | protected $builder; |
||
24 | |||
25 | /** @var string */ |
||
26 | protected $content_langname = ''; |
||
27 | |||
28 | /** @var string|bool */ |
||
29 | protected $content_type = false; |
||
30 | |||
31 | /** @var bool */ |
||
32 | protected $build_content = false; |
||
33 | |||
34 | /** @var int */ |
||
35 | protected $content_post_id = 0; |
||
36 | |||
37 | /** |
||
38 | * Constructor |
||
39 | * |
||
40 | * @param \phpbb\controller\helper $helper Controller helper class |
||
41 | * @param \phpbb\template\template $template Template object |
||
42 | * @param \blitze\content\services\form\builder $builder Form builder object |
||
43 | */ |
||
44 | public function __construct(\phpbb\controller\helper $helper, \phpbb\template\template $template, \blitze\content\services\form\builder $builder) |
||
50 | |||
51 | /** |
||
52 | * @return array |
||
53 | */ |
||
54 | public static function getSubscribedEvents() |
||
69 | |||
70 | /** |
||
71 | * @param \phpbb\event\data $event |
||
72 | * @return void |
||
73 | */ |
||
74 | public function init_builder(\phpbb\event\data $event) |
||
84 | |||
85 | /** |
||
86 | * @param \phpbb\event\data $event |
||
87 | * @return void |
||
88 | */ |
||
89 | public function build_message(\phpbb\event\data $event) |
||
98 | |||
99 | /** |
||
100 | * @param \phpbb\event\data $event |
||
101 | * @return void |
||
102 | */ |
||
103 | public function show_errors(\phpbb\event\data $event) |
||
110 | |||
111 | /** |
||
112 | * @param \phpbb\event\data $event |
||
113 | * @return void |
||
114 | */ |
||
115 | public function force_visibility(\phpbb\event\data $event) |
||
125 | |||
126 | /** |
||
127 | * @param \phpbb\event\data $event |
||
128 | * @return void |
||
129 | */ |
||
130 | public function modify_sql_data(\phpbb\event\data $event) |
||
139 | |||
140 | /** |
||
141 | * @param \phpbb\event\data $event |
||
142 | * @return void |
||
143 | */ |
||
144 | public function set_content_post_id(\phpbb\event\data $event) |
||
151 | |||
152 | /** |
||
153 | * @param \phpbb\event\data $event |
||
154 | * @return void |
||
155 | */ |
||
156 | public function modify_topic_review(\phpbb\event\data $event) |
||
166 | |||
167 | /** |
||
168 | * @param \phpbb\event\data $event |
||
169 | * @return void |
||
170 | */ |
||
171 | public function set_redirect_url(\phpbb\event\data $event) |
||
193 | |||
194 | /** |
||
195 | * @param \phpbb\event\data $event |
||
196 | * @return void |
||
197 | */ |
||
198 | public function save_fields(\phpbb\event\data $event) |
||
205 | |||
206 | /** |
||
207 | * @param \phpbb\event\data $event |
||
208 | * @return void |
||
209 | */ |
||
210 | public function build_form(\phpbb\event\data $event) |
||
229 | |||
230 | /** |
||
231 | * @return void |
||
232 | */ |
||
233 | public function update_navbar() |
||
250 | } |
||
251 |