service
class service
Class for grabbing/handling cached entries
Constants
private PURGE_DEFERRED_ON_EVENT |
|
Properties
protected driver_interface | $driver | Cache driver. |
|
protected config | $config | The config. |
|
protected driver_interface | $db | Database connection. |
|
protected dispatcher | $dispatcher | ||
protected string | $phpbb_root_path | Root path. |
|
protected string | $php_ext | PHP file extension. |
Methods
Creates a cache service around a cache driver
Returns the cache driver used by this cache service.
Deferred purge of the cache.
No description
Obtain list of naughty words and build preg style replacement arrays for use by the calling script
Obtain currently listed icons
Obtain ranks
Obtain allowed extensions
Obtain active bots
Obtain cfg file data
Obtain disallowed usernames
Details
at line 75
__construct(driver_interface $driver, config $config, driver_interface $db, dispatcher $dispatcher, string $phpbb_root_path, string $php_ext)
Creates a cache service around a cache driver
at line 90
driver_interface
get_driver()
Returns the cache driver used by this cache service.
at line 105
void
deferred_purge()
Deferred purge of the cache.
A deferred purge will be executed after rendering a page. It is recommended to be used in cases where an instant purge of the cache is not required, i.e. when the goal of a cache purge is to start from a clear cache at the next page load.
at line 119
set_driver(driver_interface $driver)
Replaces the cache driver used by this cache service.
at line 124
__call($method, $arguments)
No description
at line 133
obtain_word_list()
Obtain list of naughty words and build preg style replacement arrays for use by the calling script
at line 158
obtain_icons()
Obtain currently listed icons
at line 188
obtain_ranks()
Obtain ranks
at line 225
array
obtain_attach_extensions(mixed $forum_id)
Obtain allowed extensions
at line 329
obtain_bots()
Obtain active bots
at line 369
obtain_cfg_items($style)
Obtain cfg file data
at line 400
obtain_disallowed_usernames()
Obtain disallowed usernames