Public Member Functions | |
PHPTAL_SourceLocator ($path) | |
realPath () | |
lastModified () | |
data () | |
Public Attributes | |
$path |
A locator is a way to retrieve a PHPTAL template source otherwhere than in the file system.
The default behavour of this class is to act like a file system locator.
Definition at line 13 of file SourceLocator.php.
|
Definition at line 17 of file SourceLocator.php. |
|
Return the template source. This method is invoqued if the template has to be parsed.
Definition at line 56 of file SourceLocator.php. |
|
Return source last modified date in a filemtime format. The result is compared to php intermediate mtime to decide weither or not to re-parse the template source.
Definition at line 44 of file SourceLocator.php. |
|
Returns an absolute path to this resource. The result of this method is used to generate some unique md5 value which represent the template php function name and the intermediate php file name.
Definition at line 31 of file SourceLocator.php. References path. |
|
Definition at line 15 of file SourceLocator.php. Referenced by PHPTAL_SourceLocator(). |