FakeSmarty
in package
Fake Smarty class to help with migration to 2.2.0 template system It aims to wrap around TemplateBase to ensure $smarty->assign still works until 2.3.0, when this will be removed.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- assign() : mixed
Properties
$_engine
private
TemplateEngine
$_engine
Methods
__construct()
public
__construct(TemplateEngine $engine) : mixed
Parameters
- $engine : TemplateEngine
assign()
public
assign(mixed $key[, mixed $value = null ]) : mixed
Parameters
- $key : mixed
- $value : mixed = null