CakeFest 2024: The Official CakePHP Conference

Yaf_View_Interface::setScriptPath

(Yaf >=1.0.0)

Yaf_View_Interface::setScriptPathThe setScriptPath purpose

説明

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

テンプレートのベースディレクトリを設定します。これは通常、 Yaf_Dispatcher から呼ばれます。

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

template_dir

テンプレートディレクトリへの絶対パス。デフォルトは application.directory . "/views" です。

戻り値

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top