Results of 1 - 4 of about 4 for setResponse (0.001 sec.)
- Yaf_Dispatcher::setResponse — Set the response object | PHP 8.3 12389
- Yaf_Dispatcher::setResponse (Yaf >=3.2.2) Yaf_Dispatcher::setResponse — Set the response object 説明 public function Yaf_Dispatcher::setResponse ( Yaf_Response_Abstract $response ): ? Yaf_Dispatcher Set the response object used by the dispa
... Returns the Yaf_Dispatcher object itself on success, or null if the application is not initialized. 例 例1 Yaf_Dispatcher::setResponse() example <?php class ApiResponse extends Yaf_Response_Http { public function response () { header ( "Content-Type: applic ... (); } } $app = new Yaf_Application ( dirname ( __FILE__ ) . "/conf/application.ini" ); Yaf_Dispatcher :: getInstance ()-> setResponse (new ApiResponse ()); $app -> run (); ?> 参考 Yaf_Dispatcher::getResponse() - Get the response object Yaf_Dispatcher::setR ...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.setresponse.html
- Yaf_Dispatcher クラス | PHP 8.3 8488
- Yaf_Dispatcher クラス (Yaf >=1.0.0) はじめに Yaf_Dispatcher の役割は、 リクエスト環境の初期化、やってきたリクエストのルーティング、 そして見つかったアクションへのディスパッチです。 あらゆるレスポンスを取りまとめ、処理が完了した後でそれを返し
... error_types ): Yaf_Dispatcher public function setRequest ( Yaf_Request_Abstract $request ): Yaf_Dispatcher public function setResponse ( Yaf_Response_Abstract $response ): ? Yaf_Dispatcher public function setView ( Yaf_View_Interface $view ): Yaf_Dispatcher ... Dispatcher::setErrorHandler — エラーハンドラを設定する 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_Dispatcher::getResponse — Get the response object | PHP 8.3 8414
- Yaf_Dispatcher::getResponse (Yaf >=1.0.0) Yaf_Dispatcher::getResponse — Get the response object 説明 public function Yaf_Dispatcher::getResponse (): ? Yaf_Response_Abstract Retrieve the Yaf_Response_Abstract instance used by the dispatcher.
... : getInstance ()-> getResponse ()-> setHeader ( "Content-Type" , "text/html; charset=utf-8" ); } } ?> 参考 Yaf_Dispatcher::setResponse() - Set the response object Yaf_Response_Abstract 他のマニュアルの関連ページ FastAPI Response class FastAPI Response FastA ...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.getresponse.html
- Yet Another Framework (Yaf) | PHP 8.3 7655
- Yet Another Framework (Yaf) はじめに Yet Another Framework ( Yaf ) 拡張モジュールは PHP のフレームワークで、ウェブアプリケーションの開発に使います。 ちょっとした Yaf のベンチマークが » Yaf Performance にあります。 手っ取り早く使い始めるには
... Dispatcher::setErrorHandler — エラーハンドラを設定する 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/book.yaf.html
PREV
1
NEXT