site_node::init_cache (private)
site_node::init_cache
Defined in packages/acs-tcl/tcl/site-nodes-procs.tcl
Initialize the site node cache; actually, this means flushing the cache in case we have a root site node.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- site_node_update_cache
Source code: #ns_log notice "site_node::init_cache" if {[db_0or1row get_root_node { select node_id as root_node_id from site_nodes where parent_id is null }]} { # # If we are called during the *-init procs, the database # interface might not be initialized yet. However, in this # situation, there is nothing to flush yet. # ::acs::site_node flush_cache -node_id $root_node_id } #ns_log notice "site_node::init_cache $root_node_id DONE"Generic XQL file: packages/acs-tcl/tcl/site-nodes-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/site-nodes-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/site-nodes-procs-oracle.xql