- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::PageTemplate
::xowiki::PageTemplate create ... \
[ -render_adp (default "0") ]
Defined in
Class Relations
::xo::db::CrClass create ::xowiki::PageTemplate \ -superclass ::xowiki::PageMethods (to be applied on instances)
www-delete (scripted, public)
<instance of xowiki::PageTemplate> www-delete \ [ -return_url return_url ]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)
- Testcases:
- No testcase defined.
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 }
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables