template::register_mime_type (public)
template::register_mime_type mime_type file_extension header_preamble
Defined in packages/acs-templating/tcl/mime-procs.tcl
sets the template_extension and template_header_preamble nsv's with the provided data.
- Parameters:
- mime_type (required)
- file_extension (required)
- header_preamble (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { [info exists template_extension($mime_type)] } { nsv_unset template_extension($mime_type) } if { [info exists template_header_preamble($mime_type)] } { unset template_header_preamble($mime_type) } nsv_set template_extension $mime_type $file_extension nsv_set template_header_preamble $mime_type $header_preambleXQL Not present: Generic, PostgreSQL, Oracle