content::item::publish (public)

 content::item::publish -item_id item_id [ -revision_id revision_id ]

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

Publish a content item. Updates the live_revision and publish_date attributes, and sets publish_status to live.

Switches:
-item_id (required)
The id of the content item
-revision_id (optional)
The id of the revision to publish. Defaults to the latest revision.
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 content::item::get_latest_revision content::item::get_latest_revision (public) content::item::set_live_revision content::item::set_live_revision (public) content::item::publish content::item::publish content::item::publish->content::item::get_latest_revision content::item::publish->content::item::set_live_revision

Testcases:
No testcase defined.
[ show source ]
Show another procedure: