filter.module
Version 1.312 (checked in on 2009/12/15 at 05:22:05 by webchick)
Framework for handling filtering of content.
Functions
| Name | Description |
|---|---|
| check_markup | Run all the enabled filters on a piece of text. |
| filter_access | Checks if a user has access to a particular text format. |
| filter_admin_format_title | Display a text format form title. |
| filter_cron | Implements hook_cron(). |
| filter_default_format | Returns the ID of the default text format for a particular user. |
| filter_dom_load | Parses an HTML snippet and returns it as a DOM object. |
| filter_dom_serialize | Converts a DOM object back to an HTML snippet. |
| filter_fallback_format | Returns the ID of the fallback text format that all users have access to. |
| filter_fallback_format_title | Returns the title of the fallback text format. |
| filter_filter_info | Implements hook_filter_info(). |
| filter_form | Generates a selector for choosing a format in a form. |
| filter_formats | Retrieve a list of text formats, ordered by weight. |
| filter_formats_reset | Resets the static cache of all text formats. |
| filter_format_allowcache | Check if text in a certain text format is allowed to be cached. |
| filter_format_delete | Delete a text format. |
| filter_format_load | Load a text format object from the database. |
| filter_format_save | Save a text format object to the database. |
| filter_get_filters | Return a list of all filters provided by modules. |
| filter_get_formats_by_role | Retrieves a list of text formats that are allowed for a given role. |
| filter_get_roles_by_format | Retrieves a list of roles that are allowed to use a given text format. |
| filter_help | Implements hook_help(). |
| filter_list_format | Retrieve a list of filters for a given text format. |
| filter_menu | Implements hook_menu(). |
| filter_permission | Implements hook_permission(). |
| filter_permission_name | Returns the machine-readable permission name for a provided text format. |
| filter_theme | Implements hook_theme(). |
| theme_filter_guidelines | Format guidelines for a text format. |
| theme_filter_tips_more_info | Format a link to the more extensive filter tips. |
| _filter_autop | Convert line breaks into <p> and <br> in an intelligent fashion. Based on: http://photomatt.net/scripts/autop |
| _filter_autop_tips | Filter tips callback for auto-paragraph filter. |
| _filter_delete_format_access | Access callback for deleting text formats. |
| _filter_format_is_cacheable | Helper function to determine whether the output of a given text format can be cached. |
| _filter_html | HTML filter. Provides filtering of input into accepted HTML. |
| _filter_htmlcorrector | Scan input and make sure that all HTML tags are properly closed and nested. |
| _filter_html_escape | Escapes all HTML tags, so they will be visible instead of being effective. |
| _filter_html_escape_tips | Filter tips callback for HTML escaping filter. |
| _filter_html_settings | Settings callback for the HTML filter. |
| _filter_html_tips | Filter tips callback for HTML filter. |
| _filter_list_cmp | Helper function for sorting the filter list by filter name. |
| _filter_tips | Helper function for fetching filter tips. |
| _filter_url | URL filter. Automatically converts text web addresses (URLs, e-mail addresses, ftp links, etc.) into hyperlinks. |
| _filter_url_parse_full_links | Make links out of absolute URLs. |
| _filter_url_parse_partial_links | Make links out of domain names starting with "www." |
| _filter_url_settings | Settings callback for URL filter. |
| _filter_url_tips | Filter tips callback for URL filter. |
| _filter_url_trim | Shortens long URLs to http://www.example.com/long/url... |
