[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/ -> feed.php (summary)

(no description)

Copyright: (c) 2009 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id$
File Size: 1487 lines (39 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 classes

phpbb_feed_factory:: (1 method):
  init()

phpbb_feed_base:: (14 methods):
  phpbb_feed_base()
  set_keys()
  open()
  close()
  set()
  get()
  get_readable_forums()
  get_moderator_approve_forums()
  is_moderator_approve_forum()
  get_excluded_forums()
  is_excluded_forum()
  get_passworded_forums()
  get_item()
  user_viewprofile()

phpbb_feed_post_base:: (2 methods):
  set_keys()
  adjust_item()

phpbb_feed_topic_base:: (2 methods):
  set_keys()
  adjust_item()

phpbb_feed_overall:: (2 methods):
  get_sql()
  adjust_item()

phpbb_feed_forum:: (5 methods):
  phpbb_feed_forum()
  open()
  get_sql()
  adjust_item()
  get_item()

phpbb_feed_topic:: (4 methods):
  phpbb_feed_topic()
  open()
  get_sql()
  get_item()

phpbb_feed_forums:: (3 methods):
  set_keys()
  get_sql()
  adjust_item()

phpbb_feed_news:: (2 methods):
  get_news_forums()
  get_sql()

phpbb_feed_topics:: (2 methods):
  get_sql()
  adjust_item()

phpbb_feed_topics_active:: (4 methods):
  set_keys()
  get_sql()
  get_forum_ids()
  adjust_item()

Defines 4 functions

  feed_append_sid()
  feed_format_date()
  feed_generate_content()

Class: phpbb_feed_factory  - X-Ref

Factory class to return correct object

init($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.

Class: phpbb_feed_base  - X-Ref

Base class with some generic functions and settings.

phpbb_feed_base()   X-Ref
Constructor


set_keys()   X-Ref
Set keys.


open()   X-Ref
Open feed


close()   X-Ref
Close feed


set($key, $value)   X-Ref
Set key


get($key)   X-Ref
Get key


get_readable_forums()   X-Ref
No description

get_moderator_approve_forums()   X-Ref
No description

is_moderator_approve_forum($forum_id)   X-Ref
No description

get_excluded_forums()   X-Ref
No description

is_excluded_forum($forum_id)   X-Ref
No description

get_passworded_forums()   X-Ref
No description

get_item()   X-Ref
No description

user_viewprofile($row)   X-Ref
No description

Class: phpbb_feed_post_base  - X-Ref

Abstract class for post based feeds

set_keys()   X-Ref
No description

adjust_item(&$item_row, &$row)   X-Ref
No description

Class: phpbb_feed_topic_base  - X-Ref

Abstract class for topic based feeds

set_keys()   X-Ref
No description

adjust_item(&$item_row, &$row)   X-Ref
No description

Class: phpbb_feed_overall  - X-Ref

Board wide feed (aka overall feed)

This will give you the newest {$this->num_items} posts
from the whole board.

get_sql()   X-Ref
No description

adjust_item(&$item_row, &$row)   X-Ref
No description

Class: phpbb_feed_forum  - X-Ref

Forum feed

This will give you the last {$this->num_items} posts made
within a specific forum.

phpbb_feed_forum($forum_id)   X-Ref
No description

open()   X-Ref
No description

get_sql()   X-Ref
No description

adjust_item(&$item_row, &$row)   X-Ref
No description

get_item()   X-Ref
No description

Class: phpbb_feed_topic  - X-Ref

Topic feed for a specific topic

This will give you the last {$this->num_items} posts made within this topic.

phpbb_feed_topic($topic_id)   X-Ref
No description

open()   X-Ref
No description

get_sql()   X-Ref
No description

get_item()   X-Ref
No description

Class: phpbb_feed_forums  - X-Ref

'All Forums' feed

This will give you a list of all postable forums where feeds are enabled
including forum description, topic stats and post stats

set_keys()   X-Ref
No description

get_sql()   X-Ref
No description

adjust_item(&$item_row, &$row)   X-Ref
No description

Class: phpbb_feed_news  - X-Ref

News feed

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

get_news_forums()   X-Ref
No description

get_sql()   X-Ref
No description

Class: phpbb_feed_topics  - X-Ref

New Topics feed

This will give you the last {$this->num_items} created topics
including the first post.

get_sql()   X-Ref
No description

adjust_item(&$item_row, &$row)   X-Ref
No description

Class: phpbb_feed_topics_active  - X-Ref

Active Topics feed

This will give you the last {$this->num_items} topics
with replies made withing the last {$this->sort_days} days
including the last post.

set_keys()   X-Ref
No description

get_sql()   X-Ref
No description

get_forum_ids()   X-Ref
No description

adjust_item(&$item_row, &$row)   X-Ref
No description

Functions
Functions that are not part of a class:

feed_append_sid($url, $params)   X-Ref
Run links through append_sid(), prepend generate_board_url() and remove session id


feed_format_date($time)   X-Ref
Generate ISO 8601 date string (RFC 3339)


feed_generate_content($content, $uid, $bitfield, $options)   X-Ref
Generate text content




Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1