3.31 movepage
Moves pages from one database to another database.
Parameters:
$kiriwrite_dbmodule->movepage(options);
Usage:
$kiriwrite_dbmodule->selectdb("olddatabase");
$kiriwrite_dbmodule->selectseconddb("newdatabase");
$kiriwrite_dbmodule->movepage({ PageFilename => "page.html" });
options
Specifies the following options as a hash in any order.
Value |
Description |
PageFilename |
Specifies the page with the filename to move to the new database. |
If the page does not exist in the database the page is moving from then the error returned should be 'PageDoesNotExist' in the $error scalar.
If the page already exists in the database the page is moving to then the error returned should be 'PageAlreadyExists' in the $error scalar.
If a database error occurs in the database the page is moving from then the error returned should be 'OldDatabaseError' in the $error scalar and information about the error should be in the $errorext scalar.
If a database error occurs in the database the page is moving to then the error returned should be 'NewDatabaseError' in the $error scalar and information about the error should be in the $errorext scalar.