Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Cml
View
Base
PHP 클래스 Cml\View\Base
상속:
implements
Cml\Interfaces\View
파일 보기
프로젝트 열기: linhecheng/cmlphp
보호된 프로퍼티들
프로퍼티
타입
설명
$args
array
要传到模板的数据
공개 메소드들
메소드
설명
assign
(
string
|
array
$key
,
mixed
$val
= null )
变量赋值
assignByRef
(
string
|
array
$key
,
mixed
&
$val
= null )
引用赋值
getValue
(
string
$key
= null ) :
mixed
获取赋到模板的值
메소드 상세
assign()
공개
메소드
变量赋值
public
assign
(
string
|
array
$key
,
mixed
$val
= null )
$key
string
|
array
$val
mixed
赋值到模板的值
assignByRef()
공개
메소드
引用赋值
public
assignByRef
(
string
|
array
$key
,
mixed
&
$val
= null )
$key
string
|
array
$val
mixed
getValue()
공개
메소드
获取赋到模板的值
public
getValue
(
string
$key
= null ) :
mixed
$key
string
要获取的值的key,数组或字符串为数组时批量赋值
리턴
mixed
프로퍼티 상세
$args
보호되어 있는 프로퍼티
要传到模板的数据
protected
array
$args
리턴
array