Tpl
in package
Table of Contents
Constants
- ELEMENTS_DIR = 'elements/'
Methods
- getElement() : string
- Pick the template part we needed Used in more than 100 places directly as Tpl::getTemplateElement()
- includeAndSuperTrim() : string
Constants
ELEMENTS_DIR
private
mixed
ELEMENTS_DIR
= 'elements/'
Methods
getElement()
Pick the template part we needed Used in more than 100 places directly as Tpl::getTemplateElement()
public
static getElement(string $tplName[, bool $bTrim = true ]) : string
Parameters
- $tplName : string
- $bTrim : bool = true
Return values
string —- SuperTrimmed
includeAndSuperTrim()
private
static includeAndSuperTrim(string $templatePath, bool $bTrim) : string
Parameters
- $templatePath : string
- $bTrim : bool