xo::db::CrItem instproc set_live_revision (public)

 <instance of xo::db::CrItem[i]> set_live_revision \
    -revision_id revision_id  [ -publish_status publish_status ] \
    [ -is_latest on|off ]

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/cr-procs.tcl

Switches:
-revision_id (required)
-publish_status (optional, defaults to "ready")
one of 'live', 'ready' or 'production'
-is_latest (optional, boolean, defaults to "false")

Testcases:
create_folder_with_page, create_workflow_with_instance
[ show source ]
Show another procedure: