phpBB API Documentation
Class

phpbb_feed_news

class phpbb_feed_news extends phpbb_feed_topic_base

News feed

This will give you {$this->num_items} first posts of all topics in the selected news forums.

Properties

$sql SQL Query to be executed to get feed items
$keys Keys specified for retrieval of title, content, etc.
$num_items
$separator Separator for title elements to separate items (for example forum / topic)
$separator_stats Separator for the statistics row (Posted by, post date, replies, etc.)
mixed $result

Methods

phpbb_feed_base()

Constructor

from phpbb_feed_base
set_keys()

Set keys.

from phpbb_feed_topic_base
open()

Open feed

from phpbb_feed_base
close()

Close feed

from phpbb_feed_base
set($key, $value)

Set key

from phpbb_feed_base
get($key)

Get key

from phpbb_feed_base
get_readable_forums()

from phpbb_feed_base
get_moderator_approve_forums()

from phpbb_feed_base
is_moderator_approve_forum($forum_id)

from phpbb_feed_base
get_excluded_forums()

from phpbb_feed_base
is_excluded_forum($forum_id)

from phpbb_feed_base
get_passworded_forums()

from phpbb_feed_base
get_item()

from phpbb_feed_base
user_viewprofile($row)

from phpbb_feed_base
adjust_item($item_row, $row)

from phpbb_feed_topic_base
get_news_forums()

get_sql()

Details

in phpbb_feed_base at line 473
public phpbb_feed_base()

Constructor

in phpbb_feed_topic_base at line 709
public set_keys()

Set keys.

in phpbb_feed_base at line 502
public open()

Open feed

in phpbb_feed_base at line 509
public close()

Close feed

in phpbb_feed_base at line 522
public set($key, $value)

Set key

Parameters

$key
$value

in phpbb_feed_base at line 530
public get($key)

Get key

Parameters

$key

in phpbb_feed_base at line 535
public get_readable_forums()

in phpbb_feed_base at line 548
public get_moderator_approve_forums()

in phpbb_feed_base at line 561
public is_moderator_approve_forum($forum_id)

Parameters

$forum_id

in phpbb_feed_base at line 579
public get_excluded_forums()

in phpbb_feed_base at line 607
public is_excluded_forum($forum_id)

Parameters

$forum_id

in phpbb_feed_base at line 614
public get_passworded_forums()

in phpbb_feed_base at line 621
public get_item()

in phpbb_feed_base at line 640
public user_viewprofile($row)

Parameters

$row

in phpbb_feed_topic_base at line 728
public adjust_item($item_row, $row)

Parameters

$item_row
$row

at line 1190
public get_news_forums()

at line 1218
public get_sql()