xowiki::Page instproc www-toggle-publish-status (public)

 <instance of xowiki::Page[i]> www-toggle-publish-status \
    [ -return_url return_url ]

Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-www-procs.tcl

This web-callable method toggles from "production" to "ready", and from "ready" or "archived" to "production". The return_url can be passed in for cases, where some proc calls internally this function, since update_publish_status might have to initialize some related objects, which might modify the return_url as well (e.g., workflows with specialized return_url handling).

Switches:
-return_url (optional)

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