3.27 getpageinfo
Gets information about the page. The page information is returned as a hash.
Parameters:
$kiriwrite_dbmodule->getpageinfo(options);
Usage:
$kiriwrite_dbmodule->selectdb("database");
%pageinfo = $kiriwrite_dbmodule->getpageinfo({ PageFilename => "pagefilename.html", Reduced => 1 });
options
Specifies the following options as a hash in any order.
Value |
Description |
PageFilename |
The page filename to get the page information from. |
Reduced |
Returns a reduced version of the page information (page filename, page name, page description and last modified). |
If the page with the filename given does not exist then the error returned should be 'PageDoesNotExist' in the $error scalar.
If a database error occurs while getting the information about the 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.