1.5 kiriwrite_page_delete

kirirwite_page_delete will delete a page from the selected database. If the confirm value is not supplied then it will write a form asking if the selected page should be deleted. If the database and page filename values are not given together than an error is returned.

kiriwrite_page_delete will return data that is intended for kiriwrite_output_page.

Parameters:

kiriwrite_page_delete(database, page, confirm);
Usage:

$pagedata = kiriwrite_page_delete("database", "filename.html";
$pagedata = kiriwrite_page_delete("database", "filename.html", 1);

database
Specifies the database to delete the selected page from.

page
Specifies the page with the filename given to delete.

confirm
Specifies if the action to edit the page should be confirmed by passing a '1'.