lang::message::get (public)
lang::message::get -package_key package_key -message_key message_key \ -locale locale -array array
Defined in packages/acs-lang/tcl/lang-message-procs.tcl
Get all properties of a message in a particular locale.
- Switches:
- -package_key (required)
- -message_key (required)
- -locale (required)
- -array (required)
- Name of an array in the caller's namespace into which you want the message properties delivered.
- Returns:
- The array will contain the following entries: message_key, package_key, locale, message, deleted_p, sync_time, conflict_p, upgrade_status, creation_date_ansi, creation_user, key_description.
- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- test_message_register, upgrade
Source code: upvar 1 $array row db_1row select_message_props { select m.message_key, m.package_key, m.locale, m.message, m.deleted_p, m.sync_time, m.conflict_p, m.upgrade_status, to_char(m.creation_date, 'YYYY-MM-DD HH24:MI:SS') as creation_date_ansi, m.creation_user, k.description as key_description from lang_messages m, lang_message_keys k where m.package_key = :package_key and m.message_key = :message_key and m.locale = :locale and k.package_key = m.package_key and k.message_key = m.message_key } -column_array rowGeneric XQL file: packages/acs-lang/tcl/lang-message-procs.xql
PostgreSQL XQL file: packages/acs-lang/tcl/lang-message-procs-postgresql.xql
Oracle XQL file: packages/acs-lang/tcl/lang-message-procs-oracle.xql