Class, that reads .jst files, compiles them to js and writes them back to disc
This file is part of the project codename "AMANUENSIS"
- Author
- Sebastian Antosch s.ant.nosp@m.osch.nosp@m.@i-sa.nosp@m.n.de
- Copyright
- 2015 I-SAN.de Webdesign & Hosting GbR GPL
Creates an instance of the class referenzing a .jst file
- Parameters
-
| $filename | - the filename of the .jst file in the scriptybytemplate directory |
Reads the .jst file, replaces the marker with the values from the config file
- Returns
- String - the path to the destinationfile
- Exceptions
-
| Exception | - for failing file system operations |
| replaceMarkers |
( |
|
$filecont | ) |
|
|
private |
Fills a template with strings from the config
- Parameters
-
| $filecont | - The template string that contains the markers that should be repalced |
- Returns
- String - the parsed file content
The documentation for this class was generated from the following file: