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
Cml
Interfaces
View
assign
Cml\Interfaces\View::assign PHP Method
View Interface Documentation
Show file
Open project: linhecheng/cmlphp
assign()
public
method
变量赋值
public
assign
(
string
|
array
$key
,
mixed
$val
= null )
$key
string
|
array
$val
mixed
赋值到模板的值
public function assign($key, $val = null);
View
assign
assignByRef
display
getValue