phpBB API Documentation
Class

phpbb_feed_factory

class phpbb_feed_factory

Factory class to return correct object

Methods

object init(string $mode, int $forum_id, int $topic_id)

Return correct object for specified mode

Details

at line 362
public object init(string $mode, int $forum_id, int $topic_id)

Return correct object for specified mode

Parameters

string $mode The feeds mode.
int $forum_id Forum id specified by the script if forum feed provided.
int $topic_id Topic id specified by the script if topic feed provided.

Return Value

object Returns correct feeds object for specified mode.