3.30 deletepage

Deletes a page from the selected database.

Parameters:

$kiriwrite_dbmodule->deletepage(options);

Usage:

$kiriwrite_dbmodule->selectdb(“database”);
$kiriwrite_dbmodule->deletepage({ PageFilename => “page.html” });

options
Specifies the following options as a hash in any order.

Value Description
PageFilename Specifies the page filename to delete.

If the page does not already exist then the error returned should be 'PageDoesNotExist' in the $error scalar.

If a database error occurs while editing a page in the database then the error returned should be 'DatabaseError' in the $error scalar and information about the error should be in the $errorext scalar.