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() |
||
54 | |||
55 | /** |
||
56 | * @param \phpbb\event\data $event |
||
57 | * @return void |
||
58 | */ |
||
59 | public function init_builder(\phpbb\event\data $event) |
||
69 | |||
70 | /** |
||
71 | * @param \phpbb\event\data $event |
||
72 | * @return void |
||
73 | */ |
||
74 | public function build_message(\phpbb\event\data $event) |
||
83 | |||
84 | /** |
||
85 | * @param \phpbb\event\data $event |
||
86 | * @return void |
||
87 | */ |
||
88 | public function show_errors(\phpbb\event\data $event) |
||
95 | |||
96 | /** |
||
97 | * @param \phpbb\event\data $event |
||
98 | * @return void |
||
99 | */ |
||
100 | public function modify_sql_data(\phpbb\event\data $event) |
||
110 | |||
111 | /** |
||
112 | * @param \phpbb\event\data $event |
||
113 | * @return void |
||
114 | */ |
||
115 | public function set_content_post_id(\phpbb\event\data $event) |
||
122 | |||
123 | /** |
||
124 | * @param \phpbb\event\data $event |
||
125 | * @return void |
||
126 | */ |
||
127 | public function modify_topic_review(\phpbb\event\data $event) |
||
137 | |||
138 | /** |
||
139 | * @param \phpbb\event\data $event |
||
140 | * @return void |
||
141 | */ |
||
142 | public function set_redirect_url(\phpbb\event\data $event) |
||
164 | |||
165 | /** |
||
166 | * @param \phpbb\event\data $event |
||
167 | * @return void |
||
168 | */ |
||
169 | public function save_fields(\phpbb\event\data $event) |
||
176 | |||
177 | /** |
||
178 | * @param \phpbb\event\data $event |
||
179 | * @return void |
||
180 | */ |
||
181 | public function build_form(\phpbb\event\data $event) |
||
200 | } |
||
201 |