xowiki::FormPage instproc set_live_revision (public)
<instance of xowiki::FormPage> set_live_revision \ -revision_id revision_id [ -publish_status publish_status ]
Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-procs.tcl
- Switches:
- -revision_id (required)
- -publish_status (optional, defaults to
"ready"
)- one of 'live', 'ready' or 'production'
- Testcases:
- create_folder_with_page, create_workflow_with_instance
Source code: next # Fetch fresh instance from db so that we have actual values # from the live revision for the update of the item_index. set page [::xo::db::CrClass get_instance_from_db -revision_id $revision_id] $page publish_status $publish_status $page update_item_indexXQL Not present: Generic, PostgreSQL, Oracle