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):
- Testcases:
- content_item, cr_item_search_triggers