[ Index ]

PHP Cross Reference of phpBB-3.3.0-deutsch

title

Body

[close]

/phpbb/feed/ -> base.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: 337 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 14 functions

  __construct()
  set_keys()
  open()
  close()
  set()
  get()
  get_item()
  get_readable_forums()
  get_moderator_approve_forums()
  is_moderator_approve_forum()
  get_excluded_forums()
  is_excluded_forum()
  get_passworded_forums()
  user_viewprofile()

Functions
Functions that are not part of a class:

__construct(\phpbb\feed\helper $helper,\phpbb\config\config $config,\phpbb\db\driver\driver_interface $db,\phpbb\cache\driver\driver_interface $cache,\phpbb\user $user,\phpbb\auth\auth $auth,\phpbb\content_visibility $content_visibility,\phpbb\event\dispatcher_interface $phpbb_dispatcher,$phpEx)   X-Ref
Constructor

param: \phpbb\feed\helper                    $helper        Feed helper
param: \phpbb\config\config                $config        Config object
param: \phpbb\db\driver\driver_interface    $db            Database connection
param: \phpbb\cache\driver\driver_interface    $cache    Cache object
param: \phpbb\user                        $user        User object
param: \phpbb\auth\auth                    $auth        Auth object
param: \phpbb\content_visibility            $content_visibility        Auth object
param: \phpbb\event\dispatcher_interface    $phpbb_dispatcher        Event dispatcher object
param: string                                $phpEx        php file extension

set_keys()   X-Ref
{@inheritdoc}


open()   X-Ref
{@inheritdoc}


close()   X-Ref
{@inheritdoc}


set($key, $value)   X-Ref
{@inheritdoc}


get($key)   X-Ref
{@inheritdoc}


get_item()   X-Ref
{@inheritdoc}


get_readable_forums()   X-Ref
Returns the ids of the forums readable by the current user.

return: int[]

get_moderator_approve_forums()   X-Ref
Returns the ids of the forum for which the current user can approve the post in the moderation queue.

return: int[]

is_moderator_approve_forum($forum_id)   X-Ref
Returns true if the current user can approve the post of the given forum

return: bool
param: int $forum_id Forum id to check

get_excluded_forums()   X-Ref
Returns the ids of the forum excluded from the feeds

return: int[]

is_excluded_forum($forum_id)   X-Ref
Returns true if the given id is in the excluded forums list.

return: bool
param: int $forum_id Id to check

get_passworded_forums()   X-Ref
Returns all password protected forum ids the current user is currently NOT authenticated for.

return: array     Array of forum ids

user_viewprofile($row)   X-Ref
Returns the link to the user profile.

return: string



Generated: Tue Apr 7 19:44:41 2020 Cross-referenced by PHPXref 0.7.1