(Yaf >=1.0.0)
Yaf_View_Interface::setScriptPath — The setScriptPath purpose
$template_dir
設置模板的基目錄,這通常通過(guò)Yaf_Dispatcher調用。
本函數還未編寫(xiě)文檔,僅有參數列表。
template_dir
模板目錄的絕對路徑,默認的Yaf_Dispatcher會(huì )設置此目錄為application.directory . "/views".