Class SmartyTemplatingDriver
Extend of Smarty for generating XSLT files from template.
- Smarty
-
XSLTBenchmarking\TestsGenerator\SmartyTemplatingDriver
implements
XSLTBenchmarking\TestsGenerator\ITemplatingDriver
Direct Known Subclasses
XSLTBenchmarking\TestsGenerator\SmartyXmlGeneratorDriver
Namespace: XSLTBenchmarking\TestsGenerator
Author: Viktor Mašíček <viktor@masicek.net>
Located at TestsGenerator/Templating/SmartyTemplatingDriver.php
Author: Viktor Mašíček <viktor@masicek.net>
Located at TestsGenerator/Templating/SmartyTemplatingDriver.php
public
|
#
__construct(
string
$tmpDirectory
)
Object configuration
Object configuration Parameters
Implementation of |
public
|
#
generate(
string
$templatePath,
string
$outputPath,
array
$settings
)
Generate the template with specifis variable and save the content into the file
Generate the template with specifis variable and save the content into the file Parameters
ThrowsImplementation of |
public
string
|
#
repareIndent(
string
$content,
boolean
$indent
)
Repare indent of output content, for better human reading.
Repare indent of output content, for better human reading. Parameters
Returnsstring |
public
string
|
|
public
string
|
|
public
string
|
#
memoryNicer(
string
$memory
)
Return round memory with unit.
Return round memory with unit. Parameters
Returnsstring |