Version 1.363 (checked in on 2011/02/19 at 00:29:40 by dries)
Framework for handling filtering of content.
| 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_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_dom_serialize_escape_cdata_element | Adds comments around the <!CDATA section in a dom element. |
| filter_element_info | Implements hook_element_info(). |
| 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_formats | Retrieve a list of text formats, ordered by weight. |
| filter_formats_reset | Resets text format caches. |
| filter_format_allowcache | Check if text in a certain text format is allowed to be cached. |
| filter_format_disable | Disable a text format. |
| filter_format_exists | Determines if a text format exists. |
| filter_format_load | Load a text format object from the database. |
| filter_format_save | Save a text format object to the database. |
| filter_form_access_denied | #pre_render callback for #type 'text_format' to hide field value from prying eyes. |
| 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_modules_disabled | Implements hook_modules_disabled(). |
| filter_modules_enabled | Implements hook_modules_enabled(). |
| filter_permission | Implements hook_permission(). |
| filter_permission_name | Returns the machine-readable permission name for a provided text format. |
| filter_process_format | Expands an element into a base element with text format selector attached. |
| filter_theme | Implements hook_theme(). |
| theme_filter_guidelines | Returns HTML for guidelines for a text format. |
| theme_filter_tips_more_info | Returns HTML for a link to the more extensive filter tips. |
| theme_text_format_wrapper | Returns HTML for a text format-enabled form element. |
| _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_disable_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 into hyperlinks. |
| _filter_url_escape_comments | preg_replace callback to escape contents of HTML comments |
| _filter_url_parse_email_links | preg_replace callback to make links out of e-mail addresses. |
| _filter_url_parse_full_links | preg_replace callback to make links out of absolute URLs. |
| _filter_url_parse_partial_links | preg_replace callback to 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... |