Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Cml
Interfaces
View
PHP Interface Cml\Interfaces\View
Mostra file
Open project: linhecheng/cmlphp
Public Methods
Method
Description
assign
(
string
|
array
$key
,
mixed
$val
= null )
变量赋值
assignByRef
(
string
|
array
$key
,
mixed
&
$val
= null )
引用赋值
display
( ) :
mixed
抽象display
getValue
(
string
$key
= null ) :
mixed
获取赋到模板的值
Method Details
assign()
public
method
变量赋值
public
assign
(
string
|
array
$key
,
mixed
$val
= null )
$key
string
|
array
$val
mixed
赋值到模板的值
assignByRef()
public
method
引用赋值
public
assignByRef
(
string
|
array
$key
,
mixed
&
$val
= null )
$key
string
|
array
$val
mixed
display()
public
method
抽象display
public
display
( ) :
mixed
return
mixed
getValue()
public
method
获取赋到模板的值
public
getValue
(
string
$key
= null ) :
mixed
$key
string
要获取的值的key,数组或字符串为数组时批量赋值
return
mixed