downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Historial de cambios> <mysqlnd_uh_set_connection_proxy
[edit] Last updated: Fri, 24 May 2013

view this page in

mysqlnd_uh_set_statement_proxy

(PECL mysqlnd-uh >= 1.0.0-alpha)

mysqlnd_uh_set_statement_proxyInstala un proxy para sentencias de mysqlnd

Descripción

bool mysqlnd_uh_set_statement_proxy ( MysqlndUhStatement &$statement_proxy )

Instala un proxy para las sentencias de mysqlnd. El objeto proxy se usará para todos los objetos de sentencias preparadas de mysqlnd, sin tener en cuenta la extensión de MySQL para PHP (mysqli, mysql, PDO_MYSQL) que las haya creado siempre que dicha extensión esté compilada para usar la biblioteca mysqlnd.

Esta función se puede deshabilitar con mysqlnd_uh.enable. Si mysqlnd_uh.enable se establece a FALSE la función no instalará el proxy y siempre devolverá TRUE. Además, se emitirá un error de tipo E_WARNING. Este mensaje de error podría leerse como PHP Warning: mysqlnd_uh_set_statement_proxy(): (Mysqlnd User Handler) The plugin has been disabled by setting the configuration parameter mysqlnd_uh.enable = false. The proxy has not been installed [...].

Parámetros

statement_proxy

El objeto proxy de sentencias de mysqlnd de tipo MysqlndUhStatement

Valores devueltos

Devuelve TRUE en caso de éxito. De lo contrario, devuelve FALSE

Ver también



add a note add a note User Contributed Notes mysqlnd_uh_set_statement_proxy - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites