content::item::get_latest_revision (public)

 content::item::get_latest_revision -item_id item_id

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

Retrieves the latest revision for the item. If the item has no live revision, returns an empty string.

Switches:
-item_id
(required)
The item_id of the content item
Returns:
The latest revision_id for the item, or an empty string if no revisions exist
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_content_item content_item (test acs-content-repository) content::item::get_latest_revision content::item::get_latest_revision test_content_item->content::item::get_latest_revision test_cr_item_search_triggers cr_item_search_triggers (test acs-content-repository) test_cr_item_search_triggers->content::item::get_latest_revision package_exec_plsql package_exec_plsql (public) content::item::get_latest_revision->package_exec_plsql content::item::publish content::item::publish (public) content::item::publish->content::item::get_latest_revision email_image::get_user_email email_image::get_user_email (public) email_image::get_user_email->content::item::get_latest_revision general_comments_new general_comments_new (public) general_comments_new->content::item::get_latest_revision packages/general-comments/www/view-comment.tcl packages/general-comments/ www/view-comment.tcl packages/general-comments/www/view-comment.tcl->content::item::get_latest_revision

Testcases:
content_item, cr_item_search_triggers
[ show source ]
Show another procedure: