1 | <?php |
||
14 | class feed implements EventSubscriberInterface |
||
15 | { |
||
16 | /** @var \phpbb\config\config */ |
||
17 | protected $config; |
||
18 | |||
19 | /** @var \phpbb\db\driver\driver_interface */ |
||
20 | protected $db; |
||
21 | |||
22 | /** @var \phpbb\template\template */ |
||
23 | protected $template; |
||
24 | |||
25 | /* @var \blitze\content\services\types */ |
||
26 | protected $content_types; |
||
27 | |||
28 | /** |
||
29 | * Constructor |
||
30 | * |
||
31 | * @param \phpbb\config\config $config Config object |
||
32 | * @param \phpbb\db\driver\driver_interface $db Database connection |
||
33 | * @param \phpbb\template\template $template Template object |
||
34 | * @param \blitze\content\services\types $content_types Content types object |
||
35 | */ |
||
36 | public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\template\template $template, \blitze\content\services\types $content_types) |
||
43 | |||
44 | /** |
||
45 | * @return array |
||
46 | */ |
||
47 | public static function getSubscribedEvents() |
||
54 | |||
55 | /** |
||
56 | * This excludes content forums from feeds |
||
57 | * |
||
58 | * @param \phpbb\event\data $event |
||
59 | * @return void |
||
60 | */ |
||
61 | public function hide_from_feeds(\phpbb\event\data $event) |
||
70 | |||
71 | /** |
||
72 | * @return void |
||
73 | */ |
||
74 | public function set_content_feeds() |
||
92 | } |
||
93 |