Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($templateDir) | |
fetch ($name, &$source, &$mtime) | |
Protected Member Functions | |
_getFilename ($template) | |
fetchTimestamp ($name) | |
Protected Attributes | |
$_templateDir | |
Representation for a PKP template resource (template directory).
Definition at line 16 of file PKPTemplateResource.inc.php.
PKPTemplateResource::__construct | ( | $templateDir | ) |
Constructor
$templateDir | string|array Template directory |
Definition at line 27 of file PKPTemplateResource.inc.php.
|
protected |
Get the complete template path and filename.
$name | Template name. |
Definition at line 62 of file PKPTemplateResource.inc.php.
References HookRegistry\call().
Referenced by fetch(), and fetchTimestamp().
PKPTemplateResource::fetch | ( | $name, | |
& | $source, | ||
& | $mtime | ||
) |
Resource function to get a template.
$name | string Template name |
$source | string Reference to variable receiving fetched Smarty source |
$mtime | Modification time |
Definition at line 39 of file PKPTemplateResource.inc.php.
References _getFilename().
|
protected |
Get the timestamp for the specified template.
$name | string Template name |
Definition at line 53 of file PKPTemplateResource.inc.php.
References _getFilename().
|
protected |
Template path or list of paths
Definition at line 21 of file PKPTemplateResource.inc.php.