xowiki::PageTemplate instproc www-delete (public)

 <instance of xowiki::PageTemplate[i]> www-delete \
    [ -return_url return_url ]

Defined in packages/xowiki/tcl/xowiki-www-procs.tcl

This web-callable method deletes a page via the delete method of the package. This method checks first, if there exists still instances of this page (depending on it).

Switches:
-return_url
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 _ _ (public) xowiki::PageTemplate instproc www-delete xowiki::PageTemplate instproc www-delete xowiki::PageTemplate instproc www-delete->_

Testcases:
No testcase defined.
Source code:
set count [:count_usages -publish_status all]
#:msg count=$count
if {$count > 0} {
  append error_msg  [_ xowiki.error-delete_entries_first [list count $count]]  <p>  [:include [list form-usages -publish_status all -parent_id * -form_item_id ${:item_id}]]  </p>
  ${:package_id} error_msg $error_msg
} else {
  next
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: