phpBB API Documentation
Class

phpbb\feed\base

abstract class base implements feed_interface

Base class with some generic functions and settings.

Methods

__construct(helper $helper, config $config, driver_interface $db, driver_interface $cache, user $user, auth $auth, content_visibility $content_visibility, dispatcher_interface $phpbb_dispatcher, string $phpEx)

Constructor

set_keys()

Set keys.

open()

Open feed

close()

Close feed

set(string $key, mixed $value)

Set key

mixed get(string $key)

Get key

array get_item()

Get the next post in the feed

Details

at line 92
public __construct(helper $helper, config $config, driver_interface $db, driver_interface $cache, user $user, auth $auth, content_visibility $content_visibility, dispatcher_interface $phpbb_dispatcher, string $phpEx)

Constructor

Parameters

helper $helper Feed helper
config $config Config object
driver_interface $db Database connection
driver_interface $cache Cache object
user $user User object
auth $auth Auth object
content_visibility $content_visibility Auth object
dispatcher_interface $phpbb_dispatcher Event dispatcher object
string $phpEx php file extension

at line 132
public set_keys()

Set keys.

at line 139
public open()

Open feed

at line 146
public close()

Close feed

at line 157
public set(string $key, mixed $value)

Set key

Parameters

string $key Key
mixed $value Value

at line 165
public mixed get(string $key)

Get key

Parameters

string $key Key

Return Value

mixed

at line 173
public array get_item()

Get the next post in the feed

Return Value

array