Yaf_View_Interface 类
(Yaf >=1.0.0)
简介
Yaf 为开发人员提供了使用自定义视图而不是内置引擎 Yaf_View_Simple 的能力。有个例子可以解释如何做到这一点,参阅 Yaf_Dispatcher::setView()。
类摘要
class Yaf_View_Interface
{
/* 方法 */
}目录
- Yaf_View_Interface::assign — 为视图引擎分配模板变量
- Yaf_View_Interface::display — 渲染并输出模板
- Yaf_View_Interface::getScriptPath — The getScriptPath purpose
- Yaf_View_Interface::render — 渲染模板
- Yaf_View_Interface::setScriptPath — The setScriptPath purpose