3.22 gettemplateinfo
Gets information about the template. The information is returned as a hash.
Parameters:
$kiriwrite_dbmodule->gettemplateinfo(options);
Usage:
$kiriwrite_dbmodule->gettemplateinfo({ TemplateFilename => “template.html” });
options
Specifies the following options as a hash in any order.
Value |
Description |
TemplateFilename |
Specifies the template filename to get the information from. |
If the template with the filename given does not exist then the error returned should be 'TemplateDoesNotExist' in the $error scalar.
If a database error occurs while getting the template information then the error returned should be 'TemplateDatabaseError' in the $error scalar and information about the error should be placed in the $errorext scalar.