Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Habari
TemplateEngine
assign
Habari\TemplateEngine::assign PHP Method
TemplateEngine Class Documentation
Show file
Open project: habari/system
assign()
abstract
public
method
Assigns a variable to the template engine for use in constructing the template's output.
abstract
public
assign
(
string
$key
,
mixed
$value
= '' )
$key
string
name of variable
$value
mixed
value of variable
abstract function assign($key, $value = '');
TemplateEngine
__construct
__get
__isset
__set
__unset
add_template
append
assign
assigned
clear
display
fetch
queue_dirs
template_exists