lang::system::locale_set_enabled (public)

 lang::system::locale_set_enabled -locale locale -enabled_p enabled_p

Defined in packages/acs-lang/tcl/locale-procs.tcl

Enables or disables a locale.

Switches:
-locale (required)
-enabled_p (required)
Should be t or f
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 test_lang_test__lc_procs lang_test__lc_procs (test acs-lang) lang::system::locale_set_enabled lang::system::locale_set_enabled test_lang_test__lc_procs->lang::system::locale_set_enabled test_locale__test_lang_conn_browser_locale locale__test_lang_conn_browser_locale (test acs-lang) test_locale__test_lang_conn_browser_locale->lang::system::locale_set_enabled test_locale_language_fallback locale_language_fallback (test acs-lang) test_locale_language_fallback->lang::system::locale_set_enabled test_upgrade upgrade (test acs-lang) test_upgrade->lang::system::locale_set_enabled db_dml db_dml (public) lang::system::locale_set_enabled->db_dml util_memoize_flush_regexp util_memoize_flush_regexp (public) lang::system::locale_set_enabled->util_memoize_flush_regexp install::xml::action::disable-locale install::xml::action::disable-locale (private) install::xml::action::disable-locale->lang::system::locale_set_enabled install::xml::action::enable-locale install::xml::action::enable-locale (private) install::xml::action::enable-locale->lang::system::locale_set_enabled packages/acs-lang/www/admin/locale-set-enabled-p.tcl packages/acs-lang/ www/admin/locale-set-enabled-p.tcl packages/acs-lang/www/admin/locale-set-enabled-p.tcl->lang::system::locale_set_enabled

Testcases:
lang_test__lc_procs, locale__test_lang_conn_browser_locale, locale_language_fallback, upgrade
Source code:
    db_dml set_enabled_p { update ad_locales set enabled_p = :enabled_p where locale = :locale }

    # Flush caches
    acs::per_thread_cache flush -pattern acs-lang.system_get_locales-*
    util_memoize_flush_regexp {^lang::util::default_locale_from_lang_not_cached}
    util_memoize_flush_regexp {^lang::system::get_locales}
    util_memoize_flush_regexp {^lang::system::get_locale_options}
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-lang/tcl/locale-procs.xql

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