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”, Reduced => 1 });
options
Specifies the following options as a hash in any order.
Value |
Description |
TemplateFilename |
Specifies the template filename to get the information from. |
Reduced |
Gets a reduced version of the template information (template filename, name, description and last modified date). |
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.