CakeFest 2024: The Official CakePHP Conference

Yaf_View_Simple::__get

(Yaf >=1.0.0)

Yaf_View_Simple::__get获取视图引擎的一个模板变量值

说明

public Yaf_View_Simple::__get(string $name = ?): void

获取视图引擎的一个模板变量值

注意:

从 2.1.11 以后,参数可以为空

参数

name

分配的变量名

如果为空,所有传递的变量都会被返回

返回值

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top