You are here

Functions in Discuss This! 5

Primary tabs

Namesort descending Location Description Direct uses Strings
discussthis_admin ./discussthis.module Admin settings callback (from menu hook) The admin/settings/discussthis page provides three sets of configuration options: 1. The author of newly-created forum discussions 2. The set of node types for which Discuss This! links should appear 3. For… 1
discussthis_admin_validate ./discussthis.module Make sure that every node-type selected also has a default Forum topic
discussthis_autocomplete ./discussthis.module Autocomplete a forum topic discussion title 1
discussthis_form_alter ./discussthis.module hook_form_alter implementation Adds per-node override forum dropdown and topic autocomplete form for node edit forms
discussthis_help ./discussthis.module Display help and module information
discussthis_install ./discussthis.install Implementation of hook_install. Sets up two tables for the module's use. discussthis stores nid->topic mapping, and discussthis_forums stores nid->forum(tid) mapping.
discussthis_link ./discussthis.module hook_link implementation This adds the custom link to the node view
discussthis_menu ./discussthis.module hook_menu implementation
discussthis_new ./discussthis.module 1
discussthis_new_submit ./discussthis.module
discussthis_nodeapi ./discussthis.module hook_nodeapi implementation This is the meat of the module. Here we add the Discuss This link which will create a new forum topic if none exists, or link to the existing one if it does. Also adds forum override dropdown on add/edit screen for users…
discussthis_perm ./discussthis.module Valid permissions for this module
discussthis_token_list ./discussthis.module Implementation of hook_token_list provides a list of tokens this module makes available
discussthis_token_values ./discussthis.module Implementation of hook_token_values provides the values for discussthis tokens
discussthis_uninstall ./discussthis.install Implementation of hook_uninstall. Drops the two db tables used by this module.
discussthis_update_1 ./discussthis.install
discussthis_update_2 ./discussthis.install
theme_discussthis_admin ./discussthis.module Render the admin settings page so that the required default Form dropdowns are immediately beside the checkboxes
theme_discussthis_comment ./discussthis.module
_discussthis_get_forum ./discussthis.module Lookup the given nid in the discussthis_forums db table, and return the corresponding forum tid, otherwise 0 2
_discussthis_get_node ./discussthis.module 1
_discussthis_get_topic ./discussthis.module Lookup the given nid in the discussthis db table, and return the corresponding forum topic nid, otherwise return the default for this node type 4
_discussthis_set_forum ./discussthis.module Store a mapping between the given nid and a forum tid 1
_discussthis_set_tid ./discussthis.module Store a mapping between the given nid and a forum topic (by tid) 2
_discussthis_set_topic ./discussthis.module Store a mapping between the given nid and a forum topic (by topic) 1

Other projects