| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
mysqlnd_uh_set_connection_proxy(PECL mysqlnd-uh >= 1.0.0-alpha) mysqlnd_uh_set_connection_proxy — Installs a proxy for mysqlnd connections 説明
bool mysqlnd_uh_set_connection_proxy
( MysqlndUhConnection
&$connection_proxy
[, mysqli &$mysqli_connection
] )Installs a proxy object to hook mysqlnd's connection objects methods. Once installed, the proxy will be used for all MySQL connections opened with mysqli, mysql or PDO_MYSQL, assuming that the listed extensions are compiled to use the mysqlnd library.
The function can be disabled with
mysqlnd_uh.enable.
If mysqlnd_uh.enable
is set to パラメータ
返り値
Returns 例
例1 mysqlnd_uh_set_connection_proxy() example
<?php 上の例の出力は以下となります。 proxy::query(array ( 0 => NULL, 1 => 'SELECT \'mysqlnd rocks!\'', )) proxy::query returns true proxy::query(array ( 0 => NULL, 1 => 'SELECT \'Ahoy Andrey!\'', )) proxy::query returns true proxy::query(array ( 0 => NULL, 1 => 'SELECT \'Moin Johannes!\'', )) proxy::query returns true |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「mysqlnd_uh_set_connection_proxy - Installs a proxy for mysqlnd connections」をGoogle検索
|