template::filter (public)
template::filter command [ args... ]
Defined in packages/acs-templating/tcl/filter-procs.tcl
Run any filter procedures that have been registered with the templating system. The signature of a filter procedure is a reference (not the value) to a variable containing the URL of the template to parse. The filter procedure may modify this.
- Parameters:
- command (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: variable filter_list lassign $args arg1 arg2 switch -exact $command { add { lappend filter_list $arg1 } exec { upvar $arg1 url $arg2 root_path foreach proc_name $filter_list { $proc_name url root_path } } default { error "Invalid filter command: must be add or exec" } }XQL Not present: Generic, PostgreSQL, Oracle