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.
[ show source ]
Show another procedure: