filter.module
Версия 1.160.2.14 (checked in on 2009/06/03 at 17:52:13 by drumm)
Framework for handling filtering of content.
Константы
Имя | Описание |
---|---|
FILTER_FORMAT_DEFAULT | |
FILTER_HTML_ESCAPE | |
FILTER_HTML_STRIP |
Функции
Имя | Описание |
---|---|
check_markup | Фильтрует текст с помощью выбранного формата ввода. |
filter_access | Returns TRUE if the user is allowed to access this format. |
filter_admin_configure | Menu callback; display settings defined by filters. |
filter_admin_configure_submit | Clear the filter's cache when configuration settings are saved. |
filter_admin_delete | Menu callback; confirm deletion of a format. |
filter_admin_delete_submit | Process filter delete form submission. |
filter_admin_format_form | Generate a filter format form. |
filter_admin_format_form_submit | Process filter format form submissions. |
filter_admin_format_form_validate | Validate filter format form submissions. |
filter_admin_order | Menu callback; display form for ordering filters for a format. |
filter_admin_order_submit | Process filter order configuration form submission. |
filter_admin_overview | Displays a list of all input formats and which one is the default |
filter_admin_overview_submit | |
filter_cron | Реализация hook_cron(). |
filter_filter | Implementation 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_tips | Реализация hook_filter_tips(). |
filter_form | Generate a selector for choosing a format in a form. |
filter_formats | Retrieve a list of input formats. |
filter_format_allowcache | Check if text in a certain input format is allowed to be cached. |
filter_form_validate | |
filter_help | Реализация hook_help(). |
filter_list_all | Build a list of all filters. |
filter_list_format | Возвращает список форматов ввода для выбранного формата. |
filter_menu | Реализация hook_menu(). |
filter_perm | Реализация hook_perm(). |
filter_resolve_format | Resolve a format id, including the default format. |
filter_tips_long | Menu callback; show a page with long filter tips. |
filter_xss | Filters XSS. Based on kses by Ulf Harnhammar, see http://sourceforge.net/projects/kses |
filter_xss_admin | Очень мягкий XSS/HTML фильтр. Только для использования администратором. |
filter_xss_bad_protocol | Обрабатывает значение HTML-аттрибута и проверяет, чтобы он не содержал URL с запрещённым протоколом (например, javascript:) |
theme_filter_admin_order | Темизирует форму конфигурации порядка фильтров. |
theme_filter_admin_overview | |
theme_filter_tips | Format a set of filter tips. |
theme_filter_tips_more_info | |
_filter_autop | Convert line breaks into <p> and <br> in an intelligent fashion. Based on: http://photomatt.net/scripts/autop |
_filter_html | HTML filter. Provides filtering of input into accepted HTML. |
_filter_html_settings | Settings for the 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 for URL filter. |
_filter_url_trim | Shortens long URLs to http://www.example.com/long/url... |
_filter_xss_attributes | Processes a string of HTML attributes. |
_filter_xss_split | Processes an HTML tag. |