« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 64 for plugin (0.002 sec.)
The routerShutdown purpose 9677
« Yaf_Plugin_Abstract::preResponse Yaf_Plugin_Abstract::routerStartup » PHP Manual Yaf_Plugin_Abstract The routerShutdown purpose 検索 Yaf_Plugin_Abstract::routerShutdown (Yaf >=1.0.0) Yaf_Plugin_Abstract::routerShutdown — The routerShutdow ... n purpose 説明 public function Yaf_Plugin_Abstract::routerShutdown ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ): void このフックが動くのは、ル ... ングが終了したときです。 このフックは、ログインのチェックなどでよく使います。 パラメータ request response 戻り値 例 例1 Yaf_Plugin_Abstract::routerShutdown() の例 <?php class UserInitPlugin extends Yaf_Plugin_Abstract { public function routerShutdown ( ... check failed, need to login */ $response -> setRedirect ( "http://yourdomain.com/login/" ); return FALSE ; } } ?> 参考 Yaf_Plugin_Abstract::routerStartup() - RouterStartup フック Yaf_Plugin_Abstract::dispatchLoopStartup() - ディスパッチループの前にフッ ...
https://man.mtool.work/php/8.3/yaf-plugin-abstract.routershutdown.html
The routerShutdown purpose 9649
« Yaf_Plugin_Abstract::preResponse Yaf_Plugin_Abstract::routerStartup » PHP Manual Yaf_Plugin_Abstract The routerShutdown purpose 検索 Yaf_Plugin_Abstract::routerShutdown (Yaf >=1.0.0) Yaf_Plugin_Abstract::routerShutdown — The routerShutdow ... n purpose 説明 public function Yaf_Plugin_Abstract::routerShutdown ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ): void このフックが動くのは、ル ... ングが終了したときです。 このフックは、ログインのチェックなどでよく使います。 パラメータ request response 戻り値 例 例1 Yaf_Plugin_Abstract::routerShutdown() の例 <?php class UserInitPlugin extends Yaf_Plugin_Abstract { public function routerShutdown ( ... check failed, need to login */ $response -> setRedirect ( "http://yourdomain.com/login/" ); return FALSE ; } } ?> 参考 Yaf_Plugin_Abstract::routerStartup() - RouterStartup フック Yaf_Plugin_Abstract::dispatchLoopStartup() - ディスパッチループの前にフッ ...
https://man.mtool.work/php/8.3/yaf-plugin-abstract.routershutdown.html
mysqlndプラグインの開発をはじめよう 9562
« mysqlnd のプラグインAPI OCI8 » PHP Manual MySQL Native Driver プラグインAPI mysqlndプラグインの開発をはじめよう 検索 mysqlndプラグインの開発をはじめよう mysqlnd プラグイン それ自体が PHP拡張モジュール であることを覚えておくことが重要です。 ... 次のコードは、典型的な mysqlnd プラグインで使われる MINIT 関数の基本構造を示します。 /* my_php_mysqlnd_plugin.c */ static PHP_MINIT_FUNCTION(mysqlnd_plugin) { /* globals, ini entries, resources, classes */ /* register mysqlnd plugin ... */ mysqlnd_plugin_id = mysqlnd_plugin_register(); conn_m = mysqlnd_get_conn_methods(); memcpy(org_conn_m, conn_m, sizeof(struct st_mysqlnd_c ... onn_methods)); conn_m->query = MYSQLND_METHOD(mysqlnd_plugin_conn, query); conn_m->connect = MYSQLND_METHOD(mysqlnd_plugin_conn, connect); } /* my_mysqlnd_plugin.c */ enum_func_status ...
https://man.mtool.work/php/8.3/mysqlnd.plugin.developing.html
The dispatchLoopShutdown purpose 9562
« Yaf_Plugin_Abstract Yaf_Plugin_Abstract::dispatchLoopStartup » PHP Manual Yaf_Plugin_Abstract The dispatchLoopShutdown purpose 検索 Yaf_Plugin_Abstract::dispatchLoopShutdown (Yaf >=1.0.0) Yaf_Plugin_Abstract::dispatchLoopShutdown — The di ... spatchLoopShutdown purpose 説明 public function Yaf_Plugin_Abstract::dispatchLoopShutdown ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ): void これは、Yaf プラグ ... 数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ request response 戻り値 参考 Yaf_Plugin_Abstract::routerStartup() - RouterStartup フック Yaf_Plugin_Abstract::routerShutdown() - The routerShutdown purpose Yaf_Pl ... ugin_Abstract::dispatchLoopStartup() - ディスパッチループの前にフックする Yaf_Plugin_Abstract::preDispatch() - The preDispatch purpose Yaf_Plugin_Abstract::postDispatch() - The postDispatch purpose 関連キーワ ...
https://man.mtool.work/php/8.3/yaf-plugin-abstract.dispatchloopshutdown.html
mysqlndプラグインの開発をはじめよう 9562
« mysqlnd のプラグインAPI OCI8 » PHP Manual MySQL Native Driver プラグインAPI mysqlndプラグインの開発をはじめよう 検索 mysqlndプラグインの開発をはじめよう mysqlnd プラグイン それ自体が PHP拡張モジュール であることを覚えておくことが重要です。 ... 次のコードは、典型的な mysqlnd プラグインで使われる MINIT 関数の基本構造を示します。 /* my_php_mysqlnd_plugin.c */ static PHP_MINIT_FUNCTION(mysqlnd_plugin) { /* globals, ini entries, resources, classes */ /* register mysqlnd plugin ... */ mysqlnd_plugin_id = mysqlnd_plugin_register(); conn_m = mysqlnd_get_conn_methods(); memcpy(org_conn_m, conn_m, sizeof(struct st_mysqlnd_c ... onn_methods)); conn_m->query = MYSQLND_METHOD(mysqlnd_plugin_conn, query); conn_m->connect = MYSQLND_METHOD(mysqlnd_plugin_conn, connect); } /* my_mysqlnd_plugin.c */ enum_func_status ...
https://man.mtool.work/php/8.3/mysqlnd.plugin.developing.html
The dispatchLoopShutdown purpose 9562
« Yaf_Plugin_Abstract Yaf_Plugin_Abstract::dispatchLoopStartup » PHP Manual Yaf_Plugin_Abstract The dispatchLoopShutdown purpose 検索 Yaf_Plugin_Abstract::dispatchLoopShutdown (Yaf >=1.0.0) Yaf_Plugin_Abstract::dispatchLoopShutdown — The di ... spatchLoopShutdown purpose 説明 public function Yaf_Plugin_Abstract::dispatchLoopShutdown ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ): void これは、Yaf プラグ ... 数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ request response 戻り値 参考 Yaf_Plugin_Abstract::routerStartup() - RouterStartup フック Yaf_Plugin_Abstract::routerShutdown() - The routerShutdown purpose Yaf_Pl ... ugin_Abstract::dispatchLoopStartup() - ディスパッチループの前にフックする Yaf_Plugin_Abstract::preDispatch() - The preDispatch purpose Yaf_Plugin_Abstract::postDispatch() - The postDispatch purpose 関連キーワ ...
https://man.mtool.work/php/8.3/yaf-plugin-abstract.dispatchloopshutdown.html
RouterStartup フック 9491
« Yaf_Plugin_Abstract::routerShutdown Yaf_Registry » PHP Manual Yaf_Plugin_Abstract RouterStartup フック 検索 Yaf_Plugin_Abstract::routerStartup (Yaf >=1.0.0) Yaf_Plugin_Abstract::routerStartup — RouterStartup フック 説明 public function Ya ... f_Plugin_Abstract::routerStartup ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ): void これは、Yaf プラグインの ... 数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ request response 戻り値 参考 Yaf_Plugin_Abstract::routerShutdown() - The routerShutdown purpose Yaf_Plugin_Abstract::dispatchLoopStartup() - ディスパッチループの前 ... にフックする Yaf_Plugin_Abstract::preDispatch() - The preDispatch purpose Yaf_Plugin_Abstract::postDispatch() - The postDispatch purpose Yaf_Plugi ...
https://man.mtool.work/php/8.3/yaf-plugin-abstract.routerstartup.html
RouterStartup フック 9462
« Yaf_Plugin_Abstract::routerShutdown Yaf_Registry » PHP Manual Yaf_Plugin_Abstract RouterStartup フック 検索 Yaf_Plugin_Abstract::routerStartup (Yaf >=1.0.0) Yaf_Plugin_Abstract::routerStartup — RouterStartup フック 説明 public function Ya ... f_Plugin_Abstract::routerStartup ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response ): void これは、Yaf プラグインの ... 数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ request response 戻り値 参考 Yaf_Plugin_Abstract::routerShutdown() - The routerShutdown purpose Yaf_Plugin_Abstract::dispatchLoopStartup() - ディスパッチループの前 ... にフックする Yaf_Plugin_Abstract::preDispatch() - The preDispatch purpose Yaf_Plugin_Abstract::postDispatch() - The postDispatch purpose Yaf_Plugi ...
https://man.mtool.work/php/8.3/yaf-plugin-abstract.routerstartup.html
Yaf_Plugin_Abstract クラス 9045
« Yaf_Loader::setLibraryPath Yaf_Plugin_Abstract::dispatchLoopShutdown » PHP Manual Yaf Yaf_Plugin_Abstract クラス 検索 Yaf_Plugin_Abstract クラス (Yaf >=1.0.0) はじめに プラグインを使えば、フレームワークの拡張やカスタマイズを簡単に行えます ... ませんが、 プラグイン自体がクラスであるという事実は変わりません。 プラグインを Yaf にロードするには Yaf_Dispatcher::registerPlugin() を使います。登録を済ませれば、このインターフェイスに従って実装した すべてのメソッドが適切な場面で呼ばれます。 例 例1 プラ ... ould be defined under ./application/Bootstrap.php */ class Bootstrap extends Yaf_Bootstrap_Abstract { public function _initPlugin ( Yaf_Dispatcher $dispatcher ) { /* register a plugin */ $dispatcher -> registerPlugin (new TestPlugin ()); } } /* plugin ... class should be placed under ./application/plugins/ */ class TestPlugin extends Yaf_Plugin_Abstract { public function routerStartup ( Yaf_Request_Abstract $request , Yaf_Re ...
https://man.mtool.work/php/8.3/class.yaf-plugin-abstract.html
mysqlnd のプラグインAPI 9045
« MySQL Native Driverプラグイン のアーキテクチャ mysqlndプラグインの開発をはじめよう » PHP Manual MySQL Native Driver プラグインAPI mysqlnd のプラグインAPI 検索 mysqlnd のプラグインAPI mysqlnd プラグインAPI で提供されている関数のリストを以下 ... に示します: mysqlnd_plugin_register() mysqlnd_plugin_count() mysqlnd_plugin_get_plugin_connection_data() mysqlnd_plugin_get_plugin_result_data() mysq ... lnd_plugin_get_plugin_stmt_data() mysqlnd_plugin_get_plugin_net_data() mysqlnd_plugin_get_plugin_protocol_data() mysqlnd_conn_get_met ... ドの中で query メソッドの親クラスの実装を呼び出します。 PHP 拡張モジュールの動きを再現する サンプルのプラグイン ext/mysqlnd_plugin を使うと何が起こるかを以下で再現します。このプラグインは、 mysqlnd の CプラグインAPI をPHPに公開しています。 PHP で書かれた ...
https://man.mtool.work/php/8.3/mysqlnd.plugin.api.html
PREV 1 2 3 4 5 6 7 NEXT