FileAccess Orion

SmartyTemplateEngine extends Smarty
in package

Implement smarty handler

This class extends the Smarty object with some additional render and a configuration constructor It does also provide the internal rendering functions

Tags
category

Kernel

author

Tobias Teichner webmaster@teichner.biz

since

File available since v0.114

Table of Contents

$modifiers  : array<string|int, mixed>
__construct()  : mixed
construct extended index use this constructor when interacting with smarty instances
render()  : string
Render template

Properties

$modifiers

private array<string|int, mixed> $modifiers = ['str_contains', 'date', 'strtotime', 'sprintf', 'array_merge', 'preg_replace', 'nl2br', 'strip_tags', 'str_pad', 'number_format']

Methods

__construct()

construct extended index use this constructor when interacting with smarty instances

public __construct() : mixed
Return values
mixed —

render()

Render template

public render(string $path) : string

Render a template part without direct display

Parameters
$path : string

Relative path to template

Return values
string —

The parsed template rendering output

Search results