xowiki::Package instproc www-delete (public)
<instance of xowiki::Package> www-delete [ -item_id item_id ] \ [ -name name ] [ -parent_id parent_id ] [ -return_url return_url ]
Defined in /var/www/openacs.org/packages/xowiki/tcl/package-procs.tcl
This web-callable "delete" method does not require an instantiated object, while the class-specific delete methods in xowiki-procs need these. If a (broken) object can't be instantiated, it cannot be deleted. Therefore, we need this package level delete method. While the class specific methods are used from the application pages, the package_level method is used from the admin pages. If no "item_id", "name" or "return_url" are given, take it from the query parameters.
- Switches:
- -item_id (optional)
- -name (optional)
- -parent_id (optional)
- -return_url (optional)
- Testcases:
- xowiki_test_cases