lang::message::update_description (public)

 lang::message::update_description -package_key package_key \
    -message_key message_key -description description

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

Update the description of a message key.

Switches:
-package_key
(required)
-message_key
(required)
-description
(required)
Author:
Simon Carstensen
Created:
2003-08-12

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_catalog_import_export test_catalog_import_export (test acs-lang) lang::message::update_description lang::message::update_description test_test_catalog_import_export->lang::message::update_description db_dml db_dml (public) lang::message::update_description->db_dml lang::catalog::import_from_file lang::catalog::import_from_file (private) lang::catalog::import_from_file->lang::message::update_description packages/acs-lang/www/admin/edit-description.tcl packages/acs-lang/ www/admin/edit-description.tcl packages/acs-lang/www/admin/edit-description.tcl->lang::message::update_description

Testcases:
test_catalog_import_export
Source code:
    db_dml update_description {} -clobs [list $description]
Generic XQL file:
packages/acs-lang/tcl/lang-message-procs.xql

PostgreSQL XQL file:
<fullquery name="lang::message::update_description.update_description">
    <querytext>
      update lang_message_keys
      set    description = :description
      where  message_key = :message_key
      and    package_key = :package_key
    </querytext>
</fullquery>
packages/acs-lang/tcl/lang-message-procs-postgresql.xql

Oracle XQL file:
<fullquery name="lang::message::update_description.update_description">
    <querytext>
      update lang_message_keys
      set    description = empty_clob()
      where  message_key = :message_key
      and    package_key = :package_key
      returning description into :1
    </querytext>
</fullquery>
packages/acs-lang/tcl/lang-message-procs-oracle.xql

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