rp_register_extension_handler (private)

 rp_register_extension_handler extension [ args... ]

Defined in packages/acs-tcl/tcl/request-processor-procs.tcl

Registers a proc used to handle requests for files with a particular extension.

Parameters:
extension

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-tcl/tcl/request-processor-init.tcl packages/acs-tcl/ tcl/request-processor-init.tcl rp_register_extension_handler rp_register_extension_handler packages/acs-tcl/tcl/request-processor-init.tcl->rp_register_extension_handler packages/acs-templating/tcl/acs-integration-init.tcl packages/acs-templating/ tcl/acs-integration-init.tcl packages/acs-templating/tcl/acs-integration-init.tcl->rp_register_extension_handler

Testcases:
No testcase defined.
Source code:
    if { [llength $args] == 0 } {
        error "Must specify a procedure name"
    }
    ns_log Debug "rp_register_extension_handler: Registering [join $args " "] to handle $extension files"
    nsv_set rp_extension_handlers ".$extension" $args
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: