« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for setView (0.001 sec.)
Yaf_Dispatcher::setView — カスタムビューエンジンを設定する | PHP 8.3 12223
Yaf_Dispatcher::setView (Yaf >=1.0.0) Yaf_Dispatcher::setView — カスタムビューエンジンを設定する 説明 public function Yaf_Dispatcher::setView ( Yaf_View_Interface $view ): Yaf_Dispatcher このメソッドは、 Yaf_View_Simple ではなくカスタムビュ ... } public function display ( $name , $value = NULL ) { echo $this -> _smarty -> fetch ( $name ); } } ?> 例2 Yaf_Dispatcher::setView() の例 <?php class Bootstrap extends Yaf_Bootstrap_Abstract { /** * smarty 用の設定をしておきます * * smarty.left_delimite ... $dispatcher ) { $smarty = new Smarty_Adapter ( null , Yaf_Registry :: get ( "config" )-> get ( "smarty" )); $dispatcher -> setView ( $smarty ); /* これで、Smarty ビューエンジンが Yaf のデフォルトビューエンジンになりました */ } } ?> 参考 Yaf_View_Interfa ...
https://man.mtool.work/php/8.3/yaf-dispatcher.setview.html
Yaf_Dispatcher クラス | PHP 8.3 8950
Yaf_Dispatcher クラス (Yaf >=1.0.0) はじめに Yaf_Dispatcher の役割は、 リクエスト環境の初期化、やってきたリクエストのルーティング、 そして見つかったアクションへのディスパッチです。 あらゆるレスポンスを取りまとめ、処理が完了した後でそれを返し ... equest ): Yaf_Dispatcher public function setResponse ( Yaf_Response_Abstract $response ): ? Yaf_Dispatcher public function setView ( Yaf_View_Interface $view ): Yaf_Dispatcher public function throwException ( bool $flag = ? ): Yaf_Dispatcher } プロパティ ... Yaf_Dispatcher::setRequest — The setRequest purpose Yaf_Dispatcher::setResponse — Set the response object Yaf_Dispatcher::setView — カスタムビューエンジンを設定する Yaf_Dispatcher::throwException — 例外のスローのオン/オフを切り替える 他のマニュアルの関 ...
https://man.mtool.work/php/8.3/class.yaf-dispatcher.html
Yaf_View_Interface クラス | PHP 8.3 8617
Yaf_View_Interface クラス (Yaf >=1.0.0) はじめに Yaf では、組み込みのビューエンジン Yaf_View_Simple のかわりにカスタムビューを自作できるようになっています。 その実例は、 Yaf_Dispatcher::setView() を参照ください。 クラス概要 class Yaf_View_I ...
https://man.mtool.work/php/8.3/class.yaf-view-interface.html
Yet Another Framework (Yaf) | PHP 8.3 7156
Yet Another Framework (Yaf) はじめに Yet Another Framework ( Yaf ) 拡張モジュールは PHP のフレームワークで、ウェブアプリケーションの開発に使います。 ちょっとした Yaf のベンチマークが » Yaf Performance にあります。 手っ取り早く使い始めるには ... Yaf_Dispatcher::setRequest — The setRequest purpose Yaf_Dispatcher::setResponse — Set the response object Yaf_Dispatcher::setView — カスタムビューエンジンを設定する Yaf_Dispatcher::throwException — 例外のスローのオン/オフを切り替える Yaf_Config_Abstrac ... t — URL にリダイレクトする Yaf_Controller_Abstract::render — ビューテンプレートをレンダリングする Yaf_Controller_Abstract::setViewpath — The setViewpath purpose Yaf_Action_Abstract — Yaf_Action_Abstract クラス Yaf_Action_Abstract::execute — アクションの ...
https://man.mtool.work/php/8.3/book.yaf.html
PREV 1 NEXT