content_search::url (private)
content_search::url object_id
Defined in packages/acs-content-repository/tcl/search-procs.tcl
Provides a URL for linking to content items which show up in a search result set.
- Parameters:
- object_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set package_id [apm_package_id_from_key acs-content-repository] set root_url [lindex [site_node::get_url_from_object_id -object_id $package_id] 0] set item_id [db_string get_item_id { select item_id from cr_revisions where revision_id = :object_id}] set root_folder_id [content::item::get_root_folder] set url [content::item::get_path -item_id $item_id -root_folder_id $root_folder_id] return "[ad_url][string trimright $root_url /]$url?revision_id=$object_id"XQL Not present: Generic, PostgreSQL, Oracle