CmsObject
in
Table of Contents
- getBaseFileName() : string
- Returns the file name without the extension.
- getContent() : string
- Returns the file content.
- getFileName() : string
- Returns the file name.
- getFilePath() : string
- Returns the local file path to the template.
- getTwigCacheKey() : string
- Returns the key used by the Twig cache.
- getTwigContent() : string
- Returns the Twig content string.
- load() : mixed
- Loads the template.
- loadCached() : mixed
- Loads and caches the template.
Methods
getBaseFileName()
Returns the file name without the extension.
public
getBaseFileName() : string
Return values
string —getContent()
Returns the file content.
public
getContent() : string
Return values
string —getFileName()
Returns the file name.
public
getFileName() : string
Return values
string —getFilePath()
Returns the local file path to the template.
public
getFilePath([string $fileName = null ]) : string
Parameters
- $fileName : string = null
Return values
string —getTwigCacheKey()
Returns the key used by the Twig cache.
public
getTwigCacheKey() : string
Return values
string —getTwigContent()
Returns the Twig content string.
public
getTwigContent() : string
Return values
string —load()
Loads the template.
public
static load(string $hostObj, string $fileName) : mixed
Parameters
- $hostObj : string
- $fileName : string
Return values
mixed —loadCached()
Loads and caches the template.
public
static loadCached(string $hostObj, string $fileName) : mixed
Parameters
- $hostObj : string
- $fileName : string