« Yaf_View_Interface::render
Yaf_View_Simple »

Yaf_View_Interface::setScriptPath

(Yaf >=1.0.0)

Yaf_View_Interface::setScriptPath — The setScriptPath purpose

説明

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

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

警告

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

パラメータ

template_dir

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

戻り値

関連キーワード:
setScriptPath   View   Interface   template   テンプレート   render   abstract   ベース   通常   Dispatcher   詳細   記述   絶対パス   application   directory   views
関連する関数・ページ:
yaf-view-simple.setscriptpath   class.yaf-view-interface   yaf-view-interface.render   class.yaf-view-simple   yaf-view-interface.display   yaf-view-simple.set