rss_first_url_for_package_id (public)

 rss_first_url_for_package_id package_id

Defined in packages/rss-support/tcl/rss-utilities-procs.tcl

Finds the first site node (ordered by node_id) associated with package_id and returns the relative url for that node. Returns empty string if the package is not mounted.

Parameters:
package_id

Partial Call Graph (max 5 caller/called nodes):
%3 site_node::get_url_from_object_id site_node::get_url_from_object_id (public) rss_first_url_for_package_id rss_first_url_for_package_id rss_first_url_for_package_id->site_node::get_url_from_object_id

Testcases:
No testcase defined.
Source code:
    return [lindex [site_node::get_url_from_object_id -object_id $package_id] 0]
Generic XQL file:
packages/rss-support/tcl/rss-utilities-procs.xql

PostgreSQL XQL file:
packages/rss-support/tcl/rss-utilities-procs-postgresql.xql

Oracle XQL file:
packages/rss-support/tcl/rss-utilities-procs-oracle.xql

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