1.6 kiriwrite_page_multidelete

kiriwrite_page_multidelete will delete multiple pages from the selected database. If no confirm value is specified then it will write a form asking if the selected pages should be deleted. If no database and pages are specified then an error will be returned.

kiriwrite_page_multidelete will return data that is intended for kiriwrite_output_page. All parameters are required for this subroutine.

Parameters:

kiriwrite_page_multidelete(database, confirm, filelist);

Usage:

$pagedata = kiriwrite_page_multidelete("database", 0, ['page1.html','page2.html','page3.html','page4.html']);
$pagedata = kiriwrite_page_multidelete("database", 1, ['page1.html','page2.html','page3.html','page4.html']);

database
Specifies the database to delete multiple pages from.

confirm
Specifies if the action to delete multiple pages should be confirmed by passing a '1'.

filelist
Specifies an array giving the list of pages to delete.