Yaf_View_Interface::setScriptPath

The setScriptPath purpose

&reftitle.description; abstract public `void` `Yaf_View_Interface::setScriptPath` `string` `template_dir`

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

&warn.undocumented.func;
&reftitle.parameters;

`template_dir`

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

&reftitle.returnvalues;