subsite::refresh_theme_subsites (public)

 subsite::refresh_theme_subsites [ -theme theme ] [ -include_modified ]

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

Reload theme subsite parameters from defaults on every subsite currently using specified theme. This might be used, for example, in upgrade callbacks for themes if desired behavior is to upgrade all subsites using it without manual intervention. By default this proc will not refresh locally modified templates.

Switches:
-theme (optional)
theme key to lookup for
-include_modified (optional, boolean)
force reload also for locally modified templates

Partial Call Graph (max 5 caller/called nodes):
%3 test_subsite_api subsite_api (test acs-subsite) subsite::refresh_theme_subsites subsite::refresh_theme_subsites test_subsite_api->subsite::refresh_theme_subsites subsite::get_theme_subsites subsite::get_theme_subsites (public) subsite::refresh_theme_subsites->subsite::get_theme_subsites subsite::set_theme subsite::set_theme (public) subsite::refresh_theme_subsites->subsite::set_theme

Testcases:
subsite_api
Source code:
    set unmodified_p [expr {$include_modified_p ? false : true}]
    foreach subsite_id [subsite::get_theme_subsites  -theme $theme -unmodified=$unmodified_p] {
        subsite::set_theme  -subsite_id $subsite_id  -theme $theme
    }
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

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