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

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

Defined in 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)

Partial Call Graph (max 5 caller/called nodes):
%3 ad_return_url ad_return_url (public) xowiki::Page instproc www-toggle-publish-status xowiki::Page instproc www-toggle-publish-status xowiki::Page instproc www-toggle-publish-status->ad_return_url

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