ad_page_contract_filter_invoke (public)
ad_page_contract_filter_invoke filter name value_varname \
[ parameters ]Defined in packages/acs-tcl/tcl/tcl-documentation-procs.tcl
Invokes a filter on the argument and returns the result (1 or 0). The value may be modified during the invocation of the filter.
- Parameters:
- filter (required)
- the name of the filter to invoke
- name (required)
- the logical name of the variable to filter
- value_varname (required)
- the name of the variable holding the value to be filtered.
- parameters (optional)
- any arguments to pass to the filter
- Authors:
- Lars Pind <lars@pinds.com>
- Yonatan Feldman <yon@arsdigita.com>
- Created:
- 25 July 2000
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- ad_page_contract_filters
Source code: upvar $value_varname value set filter_proc [ad_page_contract_filter_proc $filter] set filter_result [$filter_proc $name value {*}$parameters] if { $filter_result } { ad_page_contract_set_validation_passed $name:$filter } return $filter_resultXQL Not present: Generic, PostgreSQL, Oracle