Results of 1 - 6 of about 6 for routerShutdown (0.094 sec.)
- Yaf_Plugin_Abstract::routerShutdown — The routerShutdown purpose | PHP 8.3 12411
- Yaf_Plugin_Abstract::routerShutdown (Yaf >=1.0.0) Yaf_Plugin_Abstract::routerShutdown — The routerShutdown purpose 説明 public function Yaf_Plugin_Abstract::routerShutdown ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ):
... きです。 このフックは、ログインのチェックなどでよく使います。 パラメータ request response 戻り値 例 例1 Yaf_Plugin_Abstract::routerShutdown() の例 <?php class UserInitPlugin extends Yaf_Plugin_Abstract { public function routerShutdown ( Yaf_Request_Abstract $req ...
-
https://man.mtool.work/php/8.3/yaf-plugin-abstract.routershutdown.html
- Yaf_Plugin_Abstract クラス | PHP 8.3 10528
- Yaf_Plugin_Abstract クラス (Yaf >=1.0.0) はじめに プラグインを使えば、フレームワークの拡張やカスタマイズを簡単に行えます。 プラグインは、クラスとして定義します。 実際のクラスの定義はコンポーネントによって異なります。 このインターフェイスを実
... esponse ) { /* before router in this hook, user can do some url rewrite */ var_dump ( "routerStartup" ); } public function routerShutdown ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ) { /* router complete in this hook, user can do login c ... heck */ var_dump ( "routerShutdown" ); } public function dispatchLoopStartup ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ) { var_dump ( ... ; $app -> bootstrap ()-> run (); ?> 上の例の出力は、 たとえば以下のようになります。 string(13) "routerStartup" string(14) "routerShutdown" string(19) "dispatchLoopStartup" string(11) "preDispatch" string(12) "postDispatch" string(20) "dispatchLoopShutdown" クラ ...
-
https://man.mtool.work/php/8.3/class.yaf-plugin-abstract.html
- Yaf_Plugin_Abstract::dispatchLoopShutdown — The dispatchLoopShutdown purpose | ... 8646
- Yaf_Plugin_Abstract::dispatchLoopShutdown (Yaf >=1.0.0) Yaf_Plugin_Abstract::dispatchLoopShutdown — The dispatchLoopShutdown purpose 説明 public function Yaf_Plugin_Abstract::dispatchLoopShutdown ( Yaf_Request_Abstract $request , Yaf_Respon
... 。 パラメータ request response 戻り値 参考 Yaf_Plugin_Abstract::routerStartup() - RouterStartup フック Yaf_Plugin_Abstract::routerShutdown() - The routerShutdown purpose Yaf_Plugin_Abstract::dispatchLoopStartup() - ディスパッチループの前にフックする Yaf_Plugin_ ...
-
https://man.mtool.work/php/8.3/yaf-plugin-abstract.dispatchloopshutdown.html
- Yaf_Plugin_Abstract::routerStartup — RouterStartup フック | PHP 8.3 8646
- Yaf_Plugin_Abstract::routerStartup (Yaf >=1.0.0) Yaf_Plugin_Abstract::routerStartup — RouterStartup フック 説明 public function Yaf_Plugin_Abstract::routerStartup ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ): void これ
... ろ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ request response 戻り値 参考 Yaf_Plugin_Abstract::routerShutdown() - The routerShutdown purpose Yaf_Plugin_Abstract::dispatchLoopStartup() - ディスパッチループの前にフックする Yaf_Plugin_ ...
-
https://man.mtool.work/php/8.3/yaf-plugin-abstract.routerstartup.html
- Yaf_Router::getCurrentRoute — 使われているルート名を取得する | PHP 8.3 7366
- Yaf_Router::getCurrentRoute (Yaf >=1.0.0) Yaf_Router::getCurrentRoute — 使われているルート名を取得する 説明 public function Yaf_Router::getCurrentRoute (): string ルーティングプロセスで使われているルート名を取得します。 注意 : このメソッドは
... イン Dummy.php ( application.directory /plugins 配下) <?php class DummyPlugin extends Yaf_Plugin_Abstract { public function routerShutdown ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ) { var_dump ( Yaf_Dispatcher :: getInstance ()-> getRou ...
-
https://man.mtool.work/php/8.3/yaf-router.getcurrentroute.html
- Yet Another Framework (Yaf) | PHP 8.3 7183
- Yet Another Framework (Yaf) はじめに Yet Another Framework ( Yaf ) 拡張モジュールは PHP のフレームワークで、ウェブアプリケーションの開発に使います。 ちょっとした Yaf のベンチマークが » Yaf Performance にあります。 手っ取り早く使い始めるには
... act::preDispatch — The preDispatch purpose Yaf_Plugin_Abstract::preResponse — The preResponse purpose Yaf_Plugin_Abstract::routerShutdown — The routerShutdown purpose Yaf_Plugin_Abstract::routerStartup — RouterStartup フック Yaf_Registry — Yaf_Registry クラス ...
-
https://man.mtool.work/php/8.3/book.yaf.html
PREV
1
NEXT