Documentation

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
author

Samerton

license

MIT

version
2.2.0

Table of Contents

Properties

$_engine  : TemplateEngine

Methods

__construct()  : mixed
assign()  : mixed
fetch()  : string
render()  : void

Properties

Methods

assign()

public assign(mixed $key[, mixed $value = null ]) : mixed
Parameters
$key : mixed
$value : mixed = null

fetch()

public fetch(string $templateFile) : string
Parameters
$templateFile : string
Return values
string

render()

public render(string $templateFile) : void
Parameters
$templateFile : string

        
On this page

Search results