Engine
in package
Table of Contents
Properties
- $config : Configuration
- $instance : Engine|null
- $smarty : Smarty
Methods
- __construct() : mixed
- getSmarty() : Smarty
- load() : Engine
- buildDefaultSmarty() : Smarty
- initializeDefaultVariables() : void
Properties
$config
private
Configuration
$config
$instance
private
static Engine|null
$instance
= null
$smarty
private
Smarty
$smarty
Methods
__construct()
public
__construct([Smarty|null $smarty = null ][, Configuration|null $config = null ]) : mixed
Parameters
- $smarty : Smarty|null = null
- $config : Configuration|null = null
getSmarty()
public
getSmarty() : Smarty
Return values
Smartyload()
public
static load() : Engine
Return values
EnginebuildDefaultSmarty()
private
buildDefaultSmarty() : Smarty
Return values
SmartyinitializeDefaultVariables()
private
static initializeDefaultVariables(Smarty $smarty) : void
Parameters
- $smarty : Smarty