Yaf_View_Interface::setScriptPath
(Yaf >=1.0.0)
Yaf_View_Interface::setScriptPath — The setScriptPath purpose
参数
template_dir-
模板目录的绝对路径,默认的 Yaf_Dispatcher 会设置此目录为 application.directory . "/views"。
返回值
(Yaf >=1.0.0)
Yaf_View_Interface::setScriptPath — The setScriptPath purpose
template_dir模板目录的绝对路径,默认的 Yaf_Dispatcher 会设置此目录为 application.directory . "/views"。