Yaf_View_Simple::eval()
(Yaf >=2.2.0)
渲染模板
说明
public Yaf_View_Simple::eval(string $tpl_content[,array $tpl_vars]): string
渲染一个字符串模板,然后返回结果。
参数
- $tpl_content
string template
- $tpl_vars
(Yaf >=2.2.0)
渲染模板
public Yaf_View_Simple::eval(string $tpl_content[,array $tpl_vars]): string
渲染一个字符串模板,然后返回结果。
string template