content::item::get_publish_status (public)

 content::item::get_publish_status -item_id item_id

Defined in packages/acs-content-repository/tcl/content-item-procs.tcl

Get the publish status of the item. The publish status will be one of the following:

  • production - The item is still in production. The workflow (if any) is not finished, and the item has no live revision.
  • ready - The item is ready for publishing
  • live - The item has been published
  • expired - The item has been published in the past, but its publication has expired

Switches:
-item_id (required)
The item_id of the content item
Returns:
The publish status of the item, or the empty string on failure
See Also:
  • proc content::item::is_publishable

Partial Call Graph (max 5 caller/called nodes):
%3 test_content_item_nested_structure content_item_nested_structure (test acs-content-repository) content::item::get_publish_status content::item::get_publish_status test_content_item_nested_structure->content::item::get_publish_status db_string db_string (public) content::item::get_publish_status->db_string

Testcases:
content_item_nested_structure
[ show source ]
Show another procedure: