[ Index ]
 

Code source de Drupal 5.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

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

(pas de description)

Poids: 1131 lignes (41 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 43 fonctions

  forum_help()
  forum_menu()
  forum_node_info()
  forum_access()
  forum_perm()
  forum_nodeapi()
  forum_taxonomy()
  forum_admin_settings()
  forum_form_alter()
  forum_load()
  forum_block()
  forum_view()
  forum_submit()
  forum_validate()
  forum_update()
  forum_form()
  forum_prepare()
  forum_insert()
  forum_delete()
  forum_form_container()
  forum_form_main()
  forum_form_forum()
  forum_form_submit()
  forum_confirm_delete()
  forum_confirm_delete_submit()
  forum_overview()
  _forum_parent_select()
  forum_link_alter()
  _forum_get_vid()
  _forum_format()
  forum_get_forums()
  _forum_topics_unread()
  forum_get_topics()
  _forum_new()
  forum_page()
  theme_forum_display()
  theme_forum_list()
  theme_forum_topic_list()
  theme_forum_icon()
  theme_forum_topic_navigation()
  _forum_user_last_visit()
  _forum_get_topic_order()
  _forum_get_topic_order_sql()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

forum_help($section)   X-Ref
Implementation of hook_help().


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


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


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


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


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


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


forum_admin_settings()   X-Ref
Pas de description

forum_form_alter($form_id, &$form)   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_view(&$node, $teaser = FALSE, $page = FALSE)   X-Ref
Implementation of hook_view().


forum_submit(&$node)   X-Ref
Implementation of hook_submit().

Check in particular that only a "leaf" term in the associated taxonomy
vocabulary is selected, not a "container" term.

forum_validate($node)   X-Ref
Implementation of hook_validate().

Check in particular that only a "leaf" term in the associated taxonomy
vocabulary is selected, not a "container" term.

forum_update($node)   X-Ref
Implementation of hook_update().


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


forum_prepare(&$node)   X-Ref
Implementation of hook_prepare; assign forum taxonomy when adding a topic from within a forum.


forum_insert($node)   X-Ref
Implementation of hook_insert().


forum_delete(&$node)   X-Ref
Implementation of hook_delete().


forum_form_container($edit = array()   X-Ref
Returns a form for adding a container to the forum vocabulary

param: $edit Associative array containing a container term to be added or edited.

forum_form_main($type, $edit = array()   X-Ref
Pas de description

forum_form_forum($edit = array()   X-Ref
Returns a form for adding a forum to the forum vocabulary

param: $edit Associative array containing a forum term to be added or edited.

forum_form_submit($form_id, $form_values)   X-Ref
Process forum form and container form submissions.


forum_confirm_delete($tid)   X-Ref
Returns a confirmation page for deleting a forum taxonomy term.

param: $tid ID of the term to be deleted

forum_confirm_delete_submit($form_id, $form_values)   X-Ref
Implementation of forms api _submit call. Deletes a forum after confirmation.


forum_overview()   X-Ref
Returns an overview list of existing forums and containers


_forum_parent_select($tid, $title, $child_type)   X-Ref
Returns a select box for available parent terms

param: $tid ID of the term which is being added or edited
param: $title Title to display the select box with
param: $child_type Whether the child is forum or container

forum_link_alter(&$node, &$links)   X-Ref
Pas de description

_forum_get_vid()   X-Ref
Returns the vocabulary id for forum navigation.


_forum_format($topic)   X-Ref
Formats a topic for display


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
Pas de description

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


forum_page($tid = 0)   X-Ref
Menu callback; prints a forum listing.


theme_forum_display($forums, $topics, $parents, $tid, $sortby, $forum_per_page)   X-Ref
Format the forum body.


theme_forum_list($forums, $parents, $tid)   X-Ref
Format the forum listing.


theme_forum_topic_list($tid, $topics, $sortby, $forum_per_page)   X-Ref
Format the topic listing.


theme_forum_icon($new_posts, $num_posts = 0, $comment_mode = 0, $sticky = 0)   X-Ref
Format the icon for each individual topic.


theme_forum_topic_navigation($node)   X-Ref
Format the next/previous forum topic navigation links.


_forum_user_last_visit($nid)   X-Ref
Pas de description

_forum_get_topic_order($sortby)   X-Ref
Pas de description

_forum_get_topic_order_sql($sortby)   X-Ref
Pas de description



Généré le : Fri Nov 30 16:20:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics