item::is_publishable (public, deprecated)
item::is_publishable item_id
Defined in packages/acs-content-repository/tcl/deprecated-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Determine if the item is publishable. The item is publishable only if:
- All child relations, as well as item relations, are satisfied (according to min_n and max_n)
- The workflow (if any) for the item is finished
- Parameters:
- item_id (required)
- The item id
- Returns:
- 1 if the item is publishable, 0 otherwise
- See Also:
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc item::is_publishable return [string equal [::content::item::is_publishable -item_id $item_id] "t"]Generic XQL file: packages/acs-content-repository/tcl/deprecated-procs.xql
PostgreSQL XQL file: packages/acs-content-repository/tcl/deprecated-procs-postgresql.xql
Oracle XQL file: packages/acs-content-repository/tcl/deprecated-procs-oracle.xql