class feed

Properties

protected Environment $template
protected symfony_request $request
protected helper $controller_helper
protected config $config
protected driver_interface $db
protected ContainerInterface $container
protected helper $feed_helper
protected user $user
protected auth $auth
protected dispatcher_interface $phpbb_dispatcher
protected string $php_ext
protected language $language

Methods

__construct(Environment $twig, symfony_request $request, helper $controller_helper, config $config, driver_interface $db, ContainerInterface $container, helper $feed_helper, user $user, auth $auth, dispatcher_interface $phpbb_dispatcher, language $language, string $php_ext)

Constructor

Response
forums()

Controller for /feed/forums route

Response
news()

Controller for /feed/news route

Response
topics()

Controller for /feed/topics route

Response
topics_new()

Controller for /feed/topics_new route

Response
topics_active()

Controller for /feed/topics_active route

Response
forum(int $forum_id)

Controller for /feed/forum/{forum_id} route

Response
topic(int $topic_id)

Controller for /feed/topic/{topic_id} route

Response
overall()

Controller for /feed/{mode] route

Response
send_feed(feed_interface $feed)

Display a given feed

Response
send_feed_do(feed_interface $feed)

Really send the feed

void
check_enabled()

Check if feeds are enabled in the configuration.

send_unavailable()

Throw and exception saying that the feed isn't available

Details

at line 112
__construct(Environment $twig, symfony_request $request, helper $controller_helper, config $config, driver_interface $db, ContainerInterface $container, helper $feed_helper, user $user, auth $auth, dispatcher_interface $phpbb_dispatcher, language $language, string $php_ext)

Constructor

Parameters

Environment $twig
symfony_request $request
helper $controller_helper
config $config
driver_interface $db
ContainerInterface $container
helper $feed_helper
user $user
auth $auth
dispatcher_interface $phpbb_dispatcher
language $language
string $php_ext

at line 135
Response forums()

Controller for /feed/forums route

Return Value

Response

Exceptions

http_exception

at line 154
Response news()

Controller for /feed/news route

Return Value

Response

Exceptions

http_exception

at line 181
Response topics()

Controller for /feed/topics route

Return Value

Response

Exceptions

http_exception

at line 200
Response topics_new()

Controller for /feed/topics_new route

Return Value

Response

Exceptions

http_exception

at line 214
Response topics_active()

Controller for /feed/topics_active route

Return Value

Response

Exceptions

http_exception

at line 235
Response forum(int $forum_id)

Controller for /feed/forum/{forum_id} route

Parameters

int $forum_id

Return Value

Response

Exceptions

http_exception

at line 256
Response topic(int $topic_id)

Controller for /feed/topic/{topic_id} route

Parameters

int $topic_id

Return Value

Response

Exceptions

http_exception

at line 275
Response overall()

Controller for /feed/{mode] route

Return Value

Response

Exceptions

http_exception

at line 294
protected Response send_feed(feed_interface $feed)

Display a given feed

Parameters

feed_interface $feed

Return Value

Response

at line 319
protected Response send_feed_do(feed_interface $feed)

Really send the feed

Parameters

feed_interface $feed

Return Value

Response

Exceptions

feed_exception

at line 433
protected void check_enabled()

Check if feeds are enabled in the configuration.

Return Value

void

Exceptions

http_exception

at line 447
protected send_unavailable()

Throw and exception saying that the feed isn't available

Exceptions

http_exception