callback::search::url::impl::forums_forum (private)
callback::search::url::impl::forums_forum
Defined in packages/forums/tcl/forums-callback-procs.tcl
Returns a URL for a forum to the search package.
- Author:
- Jeff Davis davis@xarg.net
- Created:
- 2004-04-01
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ::callback::search::url::contract__arg_parser {*}$args set forum_id $object_id set forum_package_id [db_string select_forums_package { select package_id from forums_forums where forum_id = :forum_id }] set forum_package_url [site_node::get_url_from_object_id -object_id $forum_package_id] return "[ad_url]${forum_package_url}forum-view?forum_id=$forum_id"XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/forums/tcl/forums-callback-procs.xql