HTML_QuickForm::applyFilter()

HTML_QuickForm::applyFilter()

HTML_QuickForm::applyFilter() -- Applies a filter for the given field(s)

Description

Applies a data filter for the given field(s). Filter is applied recursively.

Parameter

mixed $element

Form element name or array of such names. Special name '__ALL__' means all the form elements.

mixed $filter

Callback, either function name or array(&$object, 'method')

Note

since 2.0

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.