1.7 kiriwrite_page_multimove
kiriwrite_page_multimove will move multiple pages from one database to another database. If no confirm value is specified then it will write a form asking if the selected pages should be moved to another database and which database the pages should be moved to. If no databases or pages were specified then an error is returned.
kiriwrite_page_multimove will return data that is intended for kiriwrite_output_page. All parameters are required for this subroutine.
Parameters:
kiriwrite_page_multimove(database, newdatabase, confirm, filelist);
Usage:
$pagedata = kiriwrite_page_multimove(“olddatabase”, “newdatabase”, 0, ['page1.html','page2.html','page3.html','page4.html']);
$pagedata = kiriwrite_page_multimove(“olddatabase”, “newdatabase”, 1, ['page1.html','page2.html','page3.html','page4.html']);
database
Specifies the database the pages are going to be moved from.
newdatabase
Specifies the new database the pages are going to be moved to.
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 move.