[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/modules/forum/ -> forum.module (summary)

(no description)

File Size: 951 lines (38 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 28 functions

  forum_help()
  forum_theme()
  forum_term_load()
  forum_menu()
  forum_init()
  forum_nodeapi()
  forum_node_info()
  forum_access()
  forum_perm()
  forum_taxonomy()
  forum_form_alter()
  forum_load()
  forum_block()
  forum_form()
  forum_term_path()
  forum_get_forums()
  _forum_topics_unread()
  forum_get_topics()
  _forum_new()
  template_preprocess_forums()
  template_preprocess_forum_list()
  template_preprocess_forum_topic_list()
  template_preprocess_forum_icon()
  template_preprocess_forum_topic_navigation()
  template_preprocess_forum_submitted()
  _forum_user_last_visit()
  _forum_get_topic_order()
  _forum_get_topic_order_sql()

Functions
Functions that are not part of a class:

forum_help($path, $arg)   X-Ref
Implementation of hook_help().


forum_theme()   X-Ref
Implementation of hook_theme()


forum_term_load($tid)   X-Ref
Fetch a forum term.

param: $tid
return:

forum_menu()   X-Ref
Implementation of hook_menu().


forum_init()   X-Ref
Implementation of hook_init().


forum_nodeapi(&$node, $op, $teaser, $page)   X-Ref
Implementation of hook_nodeapi().


forum_node_info()   X-Ref
Implementation of hook_node_info().


forum_access($op, $node, $account)   X-Ref
Implementation of hook_access().


forum_perm()   X-Ref
Implementation of hook_perm().


forum_taxonomy($op, $type, $term = NULL)   X-Ref
Implementation of hook_taxonomy().


forum_form_alter(&$form, $form_state, $form_id)   X-Ref
Implementation of hook_form_alter().


forum_load($node)   X-Ref
Implementation of hook_load().


forum_block($op = 'list', $delta = 0, $edit = array()   X-Ref
Implementation of hook_block().

Generates a block containing the currently active forum topics and the
most recently added forum topics.

forum_form(&$node, $form_state)   X-Ref
Implementation of hook_form().


forum_term_path($term)   X-Ref
Implementation of hook_term_path().


forum_get_forums($tid = 0)   X-Ref
Returns a list of all forums for a given taxonomy id

Forum objects contain the following fields
-num_topics Number of topics in the forum
-num_posts Total number of posts in all topics
-last_post Most recent post for the forum

param: $tid
return:

_forum_topics_unread($term, $uid)   X-Ref
Calculate the number of nodes the user has not yet read and are newer
than NODE_NEW_LIMIT.


forum_get_topics($tid, $sortby, $forum_per_page)   X-Ref
No description

_forum_new($tid)   X-Ref
Finds the first unread node for a given forum.


template_preprocess_forums(&$variables)   X-Ref
Process variables for forums.tpl.php

The $variables array contains the following arguments:
- $forums
- $topics
- $parents
- $tid
- $sortby
- $forum_per_page


template_preprocess_forum_list(&$variables)   X-Ref
Process variables to format a forum listing.

$variables contains the following information:
- $forums
- $parents
- $tid


template_preprocess_forum_topic_list(&$variables)   X-Ref
Preprocess variables to format the topic listing.

$variables contains the following data:
- $tid
- $topics
- $sortby
- $forum_per_page


template_preprocess_forum_icon(&$variables)   X-Ref
Process variables to format the icon for each individual topic.

$variables contains the following data:
- $new_posts
- $num_posts = 0
- $comment_mode = 0
- $sticky = 0


template_preprocess_forum_topic_navigation(&$variables)   X-Ref
Preprocess variables to format the next/previous forum topic navigation links.

$variables contains $node.


template_preprocess_forum_submitted(&$variables)   X-Ref
Process variables to format submission info for display in the forum list and topic list.

$variables will contain: $topic


_forum_user_last_visit($nid)   X-Ref
No description

_forum_get_topic_order($sortby)   X-Ref
No description

_forum_get_topic_order_sql($sortby)   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7