xowiki::Package proc get_url_from_id (public)

 xowiki::Package[i] get_url_from_id [ -item_id item_id ] \
    [ -revision_id revision_id ]

Defined in /var/www/openacs.org/packages/xowiki/tcl/package-procs.tcl

Get the full URL from a page in situations, where the context is not set up.

Switches:
-item_id (optional, defaults to "0")
-revision_id (optional, defaults to "0")
See Also:
  • instantiate_page_from_id

Testcases:
No testcase defined.
Source code:
set page [::xowiki::Package instantiate_page_from_id  -item_id $item_id -revision_id $revision_id]
return [::[$page package_id] url]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: