item::publish (public, deprecated)

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

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

Deprecated. Invoking this procedure generates a warning.

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
See Also:

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc item::publish
    ::content::item::unpublish -item_id $item_id -revision_id $revision_id
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

[ hide source ] | [ make this the default ]
Show another procedure: