Home
The Toolkit for Online Communities
15900 Community Members, 0 members online, 2333 visitors today
Log In Register

content::item::get_publish_status

OpenACS Home : ACS API Browser : content::item::get_publish_status

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