GNU GPL v2+
- Since
- 3.1
- Author
- mwjames
◆ __construct()
SMW\Utils\TemplateEngine::__construct |
( |
|
$templateDir = null | ) |
|
- Since
- 3.1
- Parameters
-
string | null | $templateDir | |
◆ bulkLoad()
SMW\Utils\TemplateEngine::bulkLoad |
( |
array |
$files | ) |
|
◆ clearTemplates()
SMW\Utils\TemplateEngine::clearTemplates |
( |
| ) |
|
◆ code()
SMW\Utils\TemplateEngine::code |
( |
|
$target | ) |
|
◆ compile()
SMW\Utils\TemplateEngine::compile |
( |
|
$target, |
|
|
array |
$args = [] |
|
) |
| |
◆ load()
SMW\Utils\TemplateEngine::load |
( |
|
$file, |
|
|
|
$target |
|
) |
| |
- Since
- 3.1
- Parameters
-
string | $file | |
string | $target | |
- Exceptions
-
◆ publish()
SMW\Utils\TemplateEngine::publish |
( |
|
$target, |
|
|
int |
$flag = -1 |
|
) |
| |
- Since
- 3.2
- Parameters
-
- Returns
- string
- Exceptions
-
◆ setContents()
SMW\Utils\TemplateEngine::setContents |
( |
|
$target, |
|
|
|
$contents |
|
) |
| |
- Since
- 3.1
- Parameters
-
string | $target | |
string | $contents | |
◆ HTML_TIDY
const SMW\Utils\TemplateEngine::HTML_TIDY = 2 |
Remove some whitespace from the generate HTML.
The documentation for this class was generated from the following file: