forum::message::set_format (public)

 forum::message::set_format -message_id message_id -format format

Defined in packages/forums/tcl/messages-procs.tcl

Set whether a message is HTML or not.

Switches:
-message_id
(required)
-format
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_forum_message_new forum_message_new (test forums) forum::message::set_format forum::message::set_format test_forum_message_new->forum::message::set_format db_dml db_dml (public) forum::message::set_format->db_dml

Testcases:
forum_message_new
Source code:
    # Straight update to the DB
    db_dml update_message_format {}
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="forum::message::set_format.update_message_format">
    <querytext>
            update forums_messages
            set format = :format
            where message_id = :message_id
        </querytext>
</fullquery>
packages/forums/tcl/messages-procs.xql

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