ds_init (public)
ds_init
Defined in packages/acs-developer-support/tcl/acs-developer-support-procs.tcl
Perform setup for the developer support for a single request. We save the state in global variables to avoid highly redundant computations (up to 50 times per page on openacs.org)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- ds_features_enabled_test
Source code: #ns_log notice "ds_init called [::ds_enabled_p]" if {[::ds_enabled_p] } { # # Save current setup for developer support in global # variables, which are deleted automatically after every # request. # if {[::ds_collection_enabled_p] } {set ::ds_collection_enabled_p 1} if {[::ds_profiling_enabled_p] } {set ::ds_profiling_enabled_p 1} if {[::ds_show_p]} {set ::ds_show_p 1} }XQL Not present: Generic, PostgreSQL, Oracle