forum::message::url (private, deprecated)

 forum::message::url message_id

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

Deprecated. Invoking this procedure generates a warning.

Parameters:
message_id
Author:
dave@thedesignexperience.org
Created:
2002-08-07 returns a URL for a message to the search package DEPRECATED: search is implemented using callbacks now.

See Also:
  • forums-callback-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 ad_get_tcl_call_stack ad_get_tcl_call_stack (public) db_string db_string (public) forum::message::get forum::message::get (public) forum::message::url forum::message::url forum::message::url->ad_get_tcl_call_stack forum::message::url->db_string forum::message::url->forum::message::get

Testcases:
No testcase defined.
Source code:
ns_log Notice "Deprecated proc forum::message::url used:\n[ad_get_tcl_call_stack]"

    forum::message::get -message_id $message_id -array message
    set forum_id $message(forum_id)


     return "[db_string select_forums_package_url {}]message-view?message_id=$message_id"
XQL Not present:
Generic, Oracle
PostgreSQL XQL file:
<fullquery name="forum::message::url.select_forums_package_url">
    <querytext>
            select site_node__url(min(node_id))
            from site_nodes
            where object_id = (select package_id
                               from forums_forums
                               where forums_forums.forum_id = :forum_id)
        </querytext>
</fullquery>
packages/forums/tcl/forums-sc-procs-postgresql.xql

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