Contributions API

faq.module

Version

1.1.4.52.2.64 (checked in on 2008/04/28 at 16:57:32 by snpower)

Description

The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.

Functions

Namesort iconDescription
faq_accessImplementation of hook_access().
faq_blockImplementation of hook_block().
faq_categories_settings_formDefine the elements for the FAQ Settings page - categories tab.
faq_deleteDeletes an FAQ node from the database.
faq_formDefines the form where new questions and answers are written.
faq_general_settings_formDefine a form to edit the page header and descriptive text
faq_general_settings_form_submitFunction saves the options set by the user in the FAQ Settings - General tab.
faq_get_child_categories_faqsHelper function for retrieving the sub-categories faqs.
faq_get_faq_listFormat the output for the faq_site_map() function.
faq_get_termsGet a list of terms associated with the FAQ nodes.
faq_helpImplementation of hook_help().
faq_highlights_blockCreate the HTML output for the Recent FAQs block.
faq_init_back_to_topHelper function to setup the "back to top" link.
faq_insertInserts the faq node question text into the 'faq_questions' table.
faq_link_alterImplementation of hook_link_alter().
faq_loadImplementation of hook_load().
faq_menuImplementation of hook_menu().
faq_nodeapiImplementation of hook_nodeapi().
faq_node_infoImplementation of hook_node_info().
faq_node_nameImplementation of hook_node_name().
faq_pageFunction to display the faq page.
faq_permImplementation of hook_perm().
faq_questions_settings_formDefine the elements for the FAQ Settings page - Questions tab.
faq_random_highlights_blockCreate the HTML output for the Random FAQs block.
faq_settings_pageGenerates the settings form for the FAQ module.
faq_site_map
faq_term_pathImplementation of hook_term_path().
faq_themeImplementation of hook_theme().
faq_updateUpdates the faq node question text in the 'faq_questions' table.
faq_viewDisplay a FAQ node.
faq_view_answerHelper function to setup the faq answer.
faq_view_child_category_headersHelper function to setup the list of sub-categories for the header.
faq_view_questionHelper function to setup the faq question.
faq_weight_settings_choose_cat_form_submitFunction set the rebuild of the form in the FAQ Settings - Weight tab.
faq_weight_settings_formDefine the elements for the FAQ Settings page - weight tab.
faq_weight_settings_reorder_form_submitSave the options set by the user in the FAQ Settings - Weight tab.
template_preprocess_faq_category_hide_answerCreate the code of the FAQ page if set to show/hide the category-sorted answers when the question is clicked.
template_preprocess_faq_category_new_pageCreate the code of the FAQ page if set to show the answer in a new page when the category-sorted question is clicked.
template_preprocess_faq_category_questions_inlineCreate the code of the FAQ page if set to show/hide the category-sorted questions inline.
template_preprocess_faq_category_questions_topCreate the layout of the FAQ page if set to show the questions on top, all sorted by categories.
template_preprocess_faq_category_questions_top_answersCreate the layout of the answers for the FAQ page if set to show the questions on top, all sorted by categories.
template_preprocess_faq_hide_answerCreate the structure of the FAQ page if set to show/hide the answers when the question is clicked.
template_preprocess_faq_new_pageCreate the code of the FAQ page if set to show the answer in a new page.
template_preprocess_faq_questions_inlineCreate the code of the FAQ page if set to show the questions inline.
template_preprocess_faq_questions_topCreate the structure of the page, when the questions are to be shown on top.
_display_faq_by_categoryDisplay FAQ questions and answers filtered by category.
_get_indented_faq_termsReturn a HTML formatted list of terms indented according to the term depth.