mollom.module
Version 1.2.2.137 (checked in on 2010/03/24 at 16:27:51 by dries)
Main Mollom integration module functions.
Constants
| Name | Description |
|---|---|
| MOLLOM_ANALYSIS_HAM | Text analysis result flag: Content is no spam. |
| MOLLOM_ANALYSIS_SPAM | Text analysis result flag: Content is spam. |
| MOLLOM_ANALYSIS_UNKNOWN | Text analysis result flag: No result. |
| MOLLOM_ANALYSIS_UNSURE | Text analysis result flag: Ambiguous result. |
| MOLLOM_API_VERSION | Mollom API version; used for XML-RPC communication with Mollom servers. |
| MOLLOM_ERROR | XML-RPC communication failure: Error on Mollom server. |
| MOLLOM_FALLBACK_ACCEPT | XML-RPC communication failure fallback mode: Accept all submissions of protected forms. |
| MOLLOM_FALLBACK_BLOCK | XML-RPC communication failure fallback mode: Block all submissions of protected forms. |
| MOLLOM_MODE_ANALYSIS | Form protection mode: Text analysis with fallback to CAPTCHA. |
| MOLLOM_MODE_CAPTCHA | Form protection mode: CAPTCHA-only protection. |
| MOLLOM_MODE_DISABLED | Form protection mode: No protection. |
| MOLLOM_REDIRECT | XML-RPC communication failure: Mollom server defers communication to next server in server list. |
| MOLLOM_REFRESH | XML-RPC communication failure: Mollom server requests client to update its server list. |
| NETWORK_ERROR | XML-RPC communication failure: No servers could be reached. |
Functions
| Name | Description |
|---|---|
| comment_mollom_form_info | Implements hook_mollom_form_info(). |
| comment_mollom_form_list | Implements hook_mollom_form_list(). |
| comment_mollom_report_delete | Mollom report delete callback; Deletes a comment and its replies. See alsocomment_confirm_delete_submit() |
| contact_mollom_form_info | Implements hook_mollom_form_info(). |
| contact_mollom_form_list | Implements hook_mollom_form_list(). |
| mollom | Call a remote procedure at the Mollom server. |
| mollom_comment | Implements hook_comment(). |
| mollom_comment_form_validate | Form validation handler for comment_form(). |
| mollom_content_extra_fields | Implements hook_content_extra_fields(). |
| mollom_cron | Implements hook_cron(). |
| mollom_data_delete | Deletes a Mollom session data record from the database. |
| mollom_data_delete_form_alter | Helper function to add Mollom feedback options to confirmation forms. |
| mollom_data_delete_form_submit | Send feedback to Mollom and delete Mollom data. See alsomollom_form_alter() |
| mollom_data_delete_multiple | Deletes multiple Mollom session data records from the database. |
| mollom_data_load | Load a Mollom data record from the database. |
| mollom_data_report | Sends feedback for a Mollom session data record. |
| mollom_data_report_multiple | Sends feedback for multiple Mollom session data records. |
| mollom_data_save | Save Mollom validation data to the database. |
| mollom_delete_form_list | Returns a mapping of entity delete forms to registered Mollom form ids. |
| mollom_elements | Implements hook_elements(). |
| mollom_exit | Implements hook_exit(). |
| mollom_flush_caches | Implements hook_flush_caches(). |
| mollom_form_alter | Implements hook_form_alter(). |
| mollom_form_comment_admin_overview_alter | Implements hook_form_FORMID_alter(). |
| mollom_form_comment_form_alter | Implements hook_form_FORMID_alter(). |
| mollom_form_get_values | Given an array of values and an array of fields, extract data for use. |
| mollom_form_info | Returns information about a form registered via hook_mollom_form_info(). |
| mollom_form_list | Returns a list of protectable forms registered via hook_mollom_form_info(). |
| mollom_form_load | Menu argument loader; Loads Mollom configuration and form information for a given form id. |
| mollom_form_node_admin_content_alter | Implements hook_form_FORMID_alter(). |
| mollom_form_save | Saves a Mollom form configuration. |
| mollom_form_submit | Form submit handler to flush Mollom session and form information from cache. |
| mollom_get_mode | Return the protection mode for a given form id. |
| mollom_get_statistics | Fetch the site's Mollom statistics from the API. |
| mollom_help | Implements hook_help(). |
| mollom_link | Implements hook_link(). |
| mollom_mail_alter | Implements hook_mail_alter(). |
| mollom_menu | Implements hook_menu(). |
| mollom_nodeapi | Implements hook_nodeapi(). |
| mollom_perm | Implements hook_perm(). |
| mollom_pre_render_mollom | Form element #pre_render callback for CAPTCHA element. |
| mollom_process_mollom | Form element #process callback for the 'mollom' element. |
| mollom_process_mollom_session_id | Form element #process callback for Mollom's form storage handling. |
| mollom_report_access | Menu access callback; Determine access to report to Mollom. |
| mollom_theme | Implements hook_theme(). |
| mollom_validate_analysis | Form validation handler to perform textual analysis of submitted form values. |
| mollom_validate_captcha | Form validation handler for CAPTCHA form element. |
| node_mollom_form_info | Implements hook_mollom_form_info(). |
| node_mollom_form_list | Implements hook_mollom_form_list(). |
| node_mollom_report_access | Mollom report access callback; Determine access to report and delete a node. |
| node_mollom_report_delete | Mollom report delete callback; Deletes a node. |
| theme_mollom | Format the Mollom form element. |
| user_mollom_form_info | Implements hook_mollom_form_info(). |
| user_mollom_form_list | Implements hook_mollom_form_list(). |
| _mollom_access | Access callback; check if the module is configured. |
| _mollom_fallback | Helper function to log and optionally output an error message when Mollom servers are unavailable. |
| _mollom_flatten_form_values | Recursive helper function to flatten nested form values. |
| _mollom_get_openid | Helper function to return OpenID identifiers associated with a given user account. |
| _mollom_send_feedback | Send feedback to Mollom. |
| _mollom_status | Returns the (last known) status of the configured Mollom API keys. |
| _mollom_watchdog | Helper function for mollom() to invoke watchdog() with cumulative messages. |


