[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

Defines 1 class

factory:: (2 methods):
  __construct()
  get_feed()


Class: factory  - X-Ref

Factory class to return correct object

__construct(ContainerInterface $container, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db)   X-Ref
Constructor

param: ContainerInterface                    $container    Container object
param: \phpbb\config\config                $config        Config object
param: \phpbb\db\driver\driver_interface    $db            Database connection

get_feed($mode, $forum_id, $topic_id)   X-Ref
Return correct object for specified mode

param: string    $mode        The feeds mode.
param: int    $forum_id    Forum id specified by the script if forum feed provided.
param: int    $topic_id    Topic id specified by the script if topic feed provided.
return: object    Returns correct feeds object for specified mode.



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1