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 test_content_item_nested_structure content_item_nested_structure (test acs-content-repository) content::item::get_virtual_path content::item::get_virtual_path test_content_item_nested_structure->content::item::get_virtual_path package_exec_plsql package_exec_plsql (public) content::item::get_virtual_path->package_exec_plsql fs::rss::datasource fs::rss::datasource (private) 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

Testcases:
content_item_nested_structure
[ show source ]
Show another procedure: