[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/phpbb/cache/ -> service.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 390 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

service:: (11 methods):
  __construct()
  get_driver()
  set_driver()
  __call()
  obtain_word_list()
  obtain_icons()
  obtain_ranks()
  obtain_attach_extensions()
  obtain_bots()
  obtain_cfg_items()
  obtain_disallowed_usernames()


Class: service  - X-Ref

Class for grabbing/handling cached entries

__construct(\phpbb\cache\driver\driver_interface $driver, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, $phpbb_root_path, $php_ext)   X-Ref
Creates a cache service around a cache driver

param: \phpbb\cache\driver\driver_interface $driver The cache driver
param: \phpbb\config\config $config The config
param: \phpbb\db\driver\driver_interface $db Database connection
param: string $phpbb_root_path Root path
param: string $php_ext PHP file extension

get_driver()   X-Ref
Returns the cache driver used by this cache service.

return: \phpbb\cache\driver\driver_interface The cache driver

set_driver(\phpbb\cache\driver\driver_interface $driver)   X-Ref
Replaces the cache driver used by this cache service.

param: \phpbb\cache\driver\driver_interface $driver The cache driver

__call($method, $arguments)   X-Ref
No description

obtain_word_list()   X-Ref
Obtain list of naughty words and build preg style replacement arrays for use by the
calling script


obtain_icons()   X-Ref
Obtain currently listed icons


obtain_ranks()   X-Ref
Obtain ranks


obtain_attach_extensions($forum_id)   X-Ref
Obtain allowed extensions

param: mixed $forum_id If false then check for private messaging, if int then check for forum id. If true, then only return extension informations.
return: array allowed extensions array.

obtain_bots()   X-Ref
Obtain active bots


obtain_cfg_items($style)   X-Ref
Obtain cfg file data


obtain_disallowed_usernames()   X-Ref
Obtain disallowed usernames




Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1