CakeFest 2024: The Official CakePHP Conference

Yaf_View_Interface::assign

(Yaf >=1.0.0)

Yaf_View_Interface::assign为视图引擎分配模板变量

说明

abstract public Yaf_View_Interface::assign(string $name, string $value = ?): bool

为视图引擎分配变量, 在视图模板中可以直接通过 ${$name} 获取模板变量值

警告

本函数还未编写文档,仅有参数列表。

参数

name

value

返回值

add a note

User Contributed Notes

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