1 | <?php |
||
14 | class posting implements EventSubscriberInterface |
||
15 | { |
||
16 | /** @var \blitze\content\services\form\builder */ |
||
17 | protected $builder; |
||
18 | |||
19 | /** @var string|bool */ |
||
20 | protected $content_type = false; |
||
21 | |||
22 | /** @var bool */ |
||
23 | protected $build_content = false; |
||
24 | |||
25 | /** @var int */ |
||
26 | protected $content_post_id = 0; |
||
27 | |||
28 | /** |
||
29 | * Constructor |
||
30 | * |
||
31 | * @param \blitze\content\services\form\builder $builder Form builder object |
||
32 | */ |
||
33 | public function __construct(\blitze\content\services\form\builder $builder) |
||
37 | |||
38 | /** |
||
39 | * @return array |
||
40 | */ |
||
41 | public static function getSubscribedEvents() |
||
55 | |||
56 | /** |
||
57 | * @param \phpbb\event\data $event |
||
58 | * @return void |
||
59 | */ |
||
60 | public function init_builder(\phpbb\event\data $event) |
||
70 | |||
71 | /** |
||
72 | * @param \phpbb\event\data $event |
||
73 | * @return void |
||
74 | */ |
||
75 | public function build_message(\phpbb\event\data $event) |
||
84 | |||
85 | /** |
||
86 | * @param \phpbb\event\data $event |
||
87 | * @return void |
||
88 | */ |
||
89 | public function show_errors(\phpbb\event\data $event) |
||
96 | |||
97 | /** |
||
98 | * @param \phpbb\event\data $event |
||
99 | * @return void |
||
100 | */ |
||
101 | public function force_visibility(\phpbb\event\data $event) |
||
111 | |||
112 | /** |
||
113 | * @param \phpbb\event\data $event |
||
114 | * @return void |
||
115 | */ |
||
116 | public function modify_sql_data(\phpbb\event\data $event) |
||
125 | |||
126 | /** |
||
127 | * @param \phpbb\event\data $event |
||
128 | * @return void |
||
129 | */ |
||
130 | public function set_content_post_id(\phpbb\event\data $event) |
||
137 | |||
138 | /** |
||
139 | * @param \phpbb\event\data $event |
||
140 | * @return void |
||
141 | */ |
||
142 | public function modify_topic_review(\phpbb\event\data $event) |
||
152 | |||
153 | /** |
||
154 | * @param \phpbb\event\data $event |
||
155 | * @return void |
||
156 | */ |
||
157 | public function set_redirect_url(\phpbb\event\data $event) |
||
179 | |||
180 | /** |
||
181 | * @param \phpbb\event\data $event |
||
182 | * @return void |
||
183 | */ |
||
184 | public function save_fields(\phpbb\event\data $event) |
||
191 | |||
192 | /** |
||
193 | * @param \phpbb\event\data $event |
||
194 | * @return void |
||
195 | */ |
||
196 | public function build_form(\phpbb\event\data $event) |
||
215 | } |
||
216 |