TEMPLATE
in package
Load the WIKINDX display template system
From version 6.8.0 the component template configuration file config.txt is obsolete. The menu levels reduction featurte is controlled by users only.
Table of Contents
Properties
- $tpl : Smarty|null
- object
Methods
- __construct() : mixed
- TEMPLATE
- getDirectory() : string
- Return the directory of the loaded template
- getUrl() : string
- Return the url of the loaded template
- loadTemplate() : void
- Called from CLOSE, this sets up the right template to use before the script is exited
- minifyHtml() : string
- Smarty output HTML code compression filter
Properties
$tpl
object
public
Smarty|null
$tpl
Methods
__construct()
TEMPLATE
public
__construct() : mixed
getDirectory()
Return the directory of the loaded template
public
getDirectory() : string
Return values
stringgetUrl()
Return the url of the loaded template
public
getUrl() : string
Return values
stringloadTemplate()
Called from CLOSE, this sets up the right template to use before the script is exited
public
loadTemplate() : void
minifyHtml()
Smarty output HTML code compression filter
public
minifyHtml(string $tpl_source, Smarty_Internal_Template $template) : string
cf. https://www.smarty.net/docs/en/advanced.features.postfilters.tpl
Parameters
- $tpl_source : string
- $template : Smarty_Internal_Template