content::item::get_virtual_path (public)

 content::item::get_virtual_path -item_id item_id \
    [ -root_folder_id root_folder_id ]

Defined in packages/acs-content-repository/tcl/content-item-procs.tcl

Retrieves the relative path to the item. The path is relative to the page root, and has no extension (Example: "/foo/bar/baz").

Switches:
-item_id
(required)
The item_id for the item, for which the path is computed
-root_folder_id
(optional)
Starts path resolution from this folder. Defaults to the root of the sitemap (when null).
Returns:
The path to the item, or an empty string on failure

Partial Call Graph (max 5 caller/called nodes):
%3 fs::rss::datasource fs::rss::datasource (private) content::item::get_virtual_path content::item::get_virtual_path fs::rss::datasource->content::item::get_virtual_path fs::webdav_url fs::webdav_url (public) fs::webdav_url->content::item::get_virtual_path publish::item_include_tag publish::item_include_tag (public) publish::item_include_tag->content::item::get_virtual_path publish::merge_with_template publish::merge_with_template (private) publish::merge_with_template->content::item::get_virtual_path publish::write_content publish::write_content (public) publish::write_content->content::item::get_virtual_path package_exec_plsql package_exec_plsql (public) content::item::get_virtual_path->package_exec_plsql

Testcases:
No testcase defined.
Source code:
    return [package_exec_plsql -var_list [list  [list item_id $item_id ]  [list root_folder_id $root_folder_id ]  ] content_item get_virtual_path]
Generic XQL file:
packages/acs-content-repository/tcl/content-item-procs.xql

PostgreSQL XQL file:
packages/acs-content-repository/tcl/content-item-procs-postgresql.xql

Oracle XQL file:
packages/acs-content-repository/tcl/content-item-procs-oracle.xql

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