util::resources::resource_info_procs (public)

 util::resources::resource_info_procs [ -prefix prefix ]

Defined in packages/acs-tcl/tcl/utilities-procs.tcl

Returns a list of "resource_info" procs, potentially prefixed by some namespace.

Switches:
-prefix (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_resource_info_dicts resource_info_dicts (test acs-tcl) util::resources::resource_info_procs util::resources::resource_info_procs test_resource_info_dicts->util::resources::resource_info_procs api_get_body api_get_body (public) util::resources::resource_info_procs->api_get_body packages/acs-admin/www/posture-overview.tcl packages/acs-admin/ www/posture-overview.tcl packages/acs-admin/www/posture-overview.tcl->util::resources::resource_info_procs util::resources::register_urns util::resources::register_urns (public) util::resources::register_urns->util::resources::resource_info_procs

Testcases:
resource_info_dicts
Source code:
        return [lmap proc_name [lsort [nsv_array names api_proc_doc ${prefix}*::resource_info]] {
            set d [nsv_get api_proc_doc $proc_name]
            dict with d {
                if {$varargs_p != 0
                    || "version" ni $switches0
                    || $switches1 ne ""
                    || $positionals ne ""
                } {
                    ns_log notice "=== ::util::resources::resource_info_procs proc $proc_name has non-matching signature\n"  varargs_p $varargs_p switches0 $switches0 switches1 $switches1
                    continue
                }
                #
                # Check, if the proc body looks potentially correct
                #
                set body [api_get_body $proc_name]
                if {![string match *resourceDir* $body]
                    || ![string match *resourceName* $body]
                    || ![string match *cssFiles* $body]
                    || ![string match *jsFiles* $body]
                    || ![string match *cdnHost* $body]
                } {
                    ns_log notice "=== ::util::resources::resource_info_procs proc $proc_name does not return a proper dict \n"  $body
                    continue
                }
            }
            set proc_name
        }]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/utilities-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: