Yaf_View_Interface
PHP Manual

Yaf_View_Interface::setScriptPath

(PECL yaf >=1.0.0)

Yaf_View_Interface::setScriptPathThe setScriptPath purpose

说明

abstract public void Yaf_View_Interface::setScriptPath ( string $template_dir )

Set the templates base directory, this is usually called by Yaf_Dispatcher

Warning

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

参数

template_dir

A absolute path to the template directory, by default, Yaf_Dispatcher use application.directory . "/views" as this paramter.

返回值


Yaf_View_Interface
PHP Manual