subsite::get_theme (public)

 subsite::get_theme [ -subsite_id subsite_id ]

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

Get the theme for the given (or current) subsite.

Switches:
-subsite_id (optional)
id of the subsite
Returns:
Name of the theme (theme key)

Partial Call Graph (max 5 caller/called nodes):
%3 test_subsite_api subsite_api (test acs-subsite) subsite::get_theme subsite::get_theme test_subsite_api->subsite::get_theme ad_conn ad_conn (public) subsite::get_theme->ad_conn parameter::get parameter::get (public) subsite::get_theme->parameter::get Class ::xowiki::formfield::FormField Class ::xowiki::formfield::FormField (public) Class ::xowiki::formfield::FormField->subsite::get_theme Object ::template::CSS Object ::template::CSS (public) Object ::template::CSS->subsite::get_theme openacs_bootstrap3_theme::apm::before_uninstall openacs_bootstrap3_theme::apm::before_uninstall (private) openacs_bootstrap3_theme::apm::before_uninstall->subsite::get_theme openacs_bootstrap5_theme::apm::before_uninstall openacs_bootstrap5_theme::apm::before_uninstall (private) openacs_bootstrap5_theme::apm::before_uninstall->subsite::get_theme subsite::after_mount subsite::after_mount (private) subsite::after_mount->subsite::get_theme

Testcases:
subsite_api
Source code:
    if { ![info exists subsite_id] } {
        set subsite_id [ad_conn subsite_id]
    }
    parameter::get -parameter ThemeKey -package_id $subsite_id
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: