$compilePath =
[line 127]
Smarty compiles templates before parsing / replacing tokens in them.
By default it will try ./templates_c, but you may wish to override this.
Tags:
$configPath =
[line 143]
Smarty can use config files.
This tells Smarty where to look for the config files.
Tags:
$context =
[line 49]
Smarty template engine.
Tags:
$contextProperties =
[line 120]
<p>
These are properties that are fed into the initial context from a properties file. This is simply a convenient way to set some values that you wish to make available in the context. </p> <p>
These values are not critical, like the template path or output path, but allow a convenient way to set a value that may be specific to a particular generation task. </p> <p>
For example, if you are generating scripts to allow user to automatically create a database, then you might want the
$databaseName
to be placed in the initial context so that it is available in a script that might look something like the following:
<pre>
#!bin/sh
echo y | mysqladmin create $databaseName
</pre>
The value of
$databaseName
isn't critical to output, and you obviously don't want to change the ant task to simply take a database name. So initial context values can be set with properties file.
Tags:
$controlTemplate =
[line 63]
This is the control template that governs the output.
It may or may not invoke the services of worker templates.
Tags:
$forceCompile = false
[line 136]
Whether to force Smarty to recompile templates.
Smarty does check file modification time, but you can set this to be *sure* that the template will be compiled (of course it will be slower if you do).
Tags:
$leftDelimiter =
[line 149]
Customize the left delimiter for Smarty tags.
Tags:
$outputDirectory =
[line 77]
This is where texen will place all the output that is a product of the generation process.
Tags:
$outputFile =
[line 84]
This is the file where the generated text will be placed.
Tags:
$properties = array()
[line 55]
Variables that are assigned to the context on parse/compile.
Tags:
$rightDelimiter =
[line 155]
Customize the right delimiter for Smarty tags.
Tags:
$templatePath =
[line 70]
This is where Velocity will look for templates using the file template loader.
Tags: