content::item::get_live_revision (public)
content::item::get_live_revision -item_id item_id
Defined in packages/acs-content-repository/tcl/content-item-procs.tcl
Retrieves the live 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 live revision_id for the item, or an empty string if no live revision exists
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- cr_item_search_triggers
Source code: return [package_exec_plsql -var_list [list [list item_id $item_id ] ] content_item get_live_revision]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