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 (required)
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_log_deprecated ad_log_deprecated (public) db_string db_string (public) forum::message::get forum::message::get (public) forum::message::url forum::message::url forum::message::url->ad_log_deprecated forum::message::url->db_string forum::message::url->forum::message::get

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc forum::message::url
    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: