subsite::util::packages (public)
subsite::util::packages [ -node_id node_id ]
Defined in packages/acs-subsite/tcl/subsite-procs.tcl
Return a list of package_id's for the subsite containing node_id This is a memoized function which caches for 20 minutes.
- Switches:
- -node_id (optional)
- Author:
- Jeff Davis davis@xarg.net
- Created:
- 2004-05-07
- See Also:
- subsite::util::packages_no_mem
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- subsite_api
Source code: set subsite_node_id [site_node::closest_ancestor_package -package_key [subsite::package_keys] -node_id $node_id -include_self -element node_id] return [util_memoize [list subsite::util::packages_no_cache -node_id $subsite_node_id] 1200]XQL Not present: Generic PostgreSQL XQL file: packages/acs-subsite/tcl/subsite-procs-postgresql.xql
Oracle XQL file: packages/acs-subsite/tcl/subsite-procs-oracle.xql