(Yaf >=1.0.0)
Yaf_View_Interface::setScriptPath — 設定樣版路徑
$template_dir
設定模板的基底目錄,通常由 Yaf_Dispatcher 呼叫。
此函式目前沒有文件說明;僅提供其參數列表。
template_dir
模板目錄的絕對路徑,預設情況下,Yaf_Dispatcher 使用 application.directory . "/views" 作為此參數。