This method actually seems to work fine on PHP5.3.5 (and probably a few older versions).
PDO::inTransaction
(PHP 5 >= 5.3.3, Bundled pdo_pgsql)
PDO::inTransaction — Checks if inside a transaction
Descripción
bool PDO::inTransaction
( void
)
Checks if a transaction is currently active within the driver.
Parámetros
Esta función no tiene parámetros.
Valores devueltos
Returns TRUE if a transaction is currently active, and FALSE if not.
Valores devueltos
Note:
Note that currently only the PostgreSQL driver implements this method.
ron korving
14-Jan-2011 05:20
