xowiki::Package instproc item_info_from_url (public)

 <instance of xowiki::Package[i]> item_info_from_url \
    [ -with_package_prefix with_package_prefix ] \
    [ -default_lang default_lang ] url

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

Resolve a URL from the package root and return item lookup details.

Switches:
-with_package_prefix (optional, defaults to "true")
Whether the URL includes the package mount path.
-default_lang (optional)
Fallback language, or empty for the package default.
Parameters:
url (required)
URL to resolve.
Returns:
Name and value pairs describing the resolved item and context.

Testcases:
path_resolve
[ show source ]
Show another procedure: