subsite::get_theme_options (public)

 subsite::get_theme_options

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

Gets options for subsite themes for use with a form builder select widget.

Partial Call Graph (max 5 caller/called nodes):
%3 test_subsite_api subsite_api (test acs-subsite) subsite::get_theme_options subsite::get_theme_options test_subsite_api->subsite::get_theme_options db_foreach db_foreach (public) subsite::get_theme_options->db_foreach lang::util::localize lang::util::localize (public) subsite::get_theme_options->lang::util::localize packages/acs-subsite/www/admin/configure.tcl packages/acs-subsite/ www/admin/configure.tcl packages/acs-subsite/www/admin/configure.tcl->subsite::get_theme_options packages/acs-subsite/www/admin/subsite-add.tcl packages/acs-subsite/ www/admin/subsite-add.tcl packages/acs-subsite/www/admin/subsite-add.tcl->subsite::get_theme_options

Testcases:
subsite_api
Source code:
    db_foreach get_subsite_themes {
        select name, key
        from subsite_themes
    } {
        lappend master_theme_options [list [lang::util::localize $name$key]
    }

    return $master_theme_options
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: