Version

1.57.2.16 (checked in on 2007/01/04 at 21:59:08 by killes)

Description

Framework for handling filtering of content.

Constants

Namesort iconDescription
FILTER_FORMAT_DEFAULT
FILTER_HTML_ESCAPE
FILTER_HTML_STRIP

Functions

Namesort iconDescription
check_outputRun all the enabled filters on a piece of text.
filter_accessReturns true if the user is allowed to access this format.
filter_admin_addAdd a new input format.
filter_admin_configureMenu callback; display settings defined by filters.
filter_admin_deleteMenu callback; confirm deletion of a format.
filter_admin_filtersMenu callback; configure the filters for a format.
filter_admin_filters_saveSave enabled/disabled status for filters in a format.
filter_admin_orderMenu callback; display form for ordering filters for a format.
filter_admin_order_saveSave the weights of filters in a format.
filter_admin_overviewMenu callback; allows administrators to set up input formats.
filter_admin_saveSave input formats on the overview page.
filter_filterImplementation of hook_filter(). Contains a basic set of essential filters. HTML filter: Validates user-supplied HTML, transforming it as necessary. PHP evaluator: Executes PHP code. Line break converter: Converts newlines into paragraph and break tags.
filter_filter_tipsImplementation of hook_filter_tips().
filter_formGenerate a selector for choosing a format in a form.
filter_formatsRetrieve a list of input formats.
filter_format_allowcacheCheck if text in a certain input format is allowed to be cached.
filter_helpImplementation of hook_help().
filter_list_allBuild a list of all filters.
filter_list_formatRetrieve a list of filters for a certain format.
filter_menuImplementation of hook_menu().
filter_permImplementation of hook_perm().
filter_tips_longMenu callback; show a page with long filter tips.
filter_xssFilters XSS. Based on kses by Ulf Harnhammar, see http://sourceforge.net/projects/kses
filter_xss_bad_protocolProcesses an HTML attribute value and ensures it does not contain an URL with a disallowed protocol (e.g. javascript:)
theme_filter_tipsFormat a set of filter tips.
_filter_autopConvert line breaks into <p> and <br> in an intelligent fashion. Based on: http://photomatt.net/scripts/autop
_filter_htmlHTML filter. Provides filtering of input into accepted HTML.
_filter_html_settingsSettings for the HTML filter.
_filter_list_cmpHelper function for sorting the filter list by filter name.
_filter_tipsHelper function for fetching filter tips.
_filter_xss_attributesProcesses a string of HTML attributes.
_filter_xss_splitProcesses an HTML tag.