content::revision::item_id (public)
content::revision::item_id -revision_id revision_id
Defined in packages/acs-content-repository/tcl/content-revision-procs.tcl
Gets the item_id of the item to which the revision belongs.
- Switches:
- -revision_id (required)
- The revision id
- Returns:
- The item_id of the item to which this revision belongs
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- content_revision
Source code: return [db_string item_id { select item_id from cr_revisions where revision_id = :revision_id } -default ""]Generic XQL file: packages/acs-content-repository/tcl/content-revision-procs.xql
PostgreSQL XQL file: packages/acs-content-repository/tcl/content-revision-procs-postgresql.xql
Oracle XQL file: <fullquery name="content::revision::item_id.item_id"> <querytext> select item_id from cr_revisions where revision_id = :revision_id </querytext> </fullquery>packages/acs-content-repository/tcl/content-revision-procs-oracle.xql