Go to the source code of this file.
|
void | pdo_throw_exception (unsigned int driver_errcode, char *driver_errmsg, pdo_error_type *pdo_error) |
|
void | pdo_raise_impl_error (pdo_dbh_t *dbh, pdo_stmt_t *stmt, pdo_error_type sqlstate, const char *supp) |
|
PDO_API void | pdo_handle_error (pdo_dbh_t *dbh, pdo_stmt_t *stmt) |
|
PDO_API void | php_pdo_internal_construct_driver (INTERNAL_FUNCTION_PARAMETERS, zend_object *current_object, zend_class_entry *called_scope, zval *new_zval_object) |
|
| PHP_METHOD (PDO, __construct) |
|
| PHP_METHOD (PDO, connect) |
|
| PHP_METHOD (PDO, prepare) |
|
| PHP_METHOD (PDO, beginTransaction) |
|
| PHP_METHOD (PDO, commit) |
|
| PHP_METHOD (PDO, rollBack) |
|
| PHP_METHOD (PDO, inTransaction) |
|
PDO_API bool | pdo_get_long_param (zend_long *lval, zval *value) |
|
PDO_API bool | pdo_get_bool_param (bool *bval, zval *value) |
|
| PHP_METHOD (PDO, setAttribute) |
|
| PHP_METHOD (PDO, getAttribute) |
|
| PHP_METHOD (PDO, exec) |
|
| PHP_METHOD (PDO, lastInsertId) |
|
| PHP_METHOD (PDO, errorCode) |
|
| PHP_METHOD (PDO, errorInfo) |
|
| PHP_METHOD (PDO, query) |
|
| PHP_METHOD (PDO, quote) |
|
| PHP_METHOD (PDO, getAvailableDrivers) |
|
bool | pdo_hash_methods (pdo_dbh_object_t *dbh_obj, int kind) |
|
void | pdo_dbh_init (int module_number) |
|
zend_object * | pdo_dbh_new (zend_class_entry *ce) |
|
◆ pdo_dbh_init()
void pdo_dbh_init |
( |
int | module_number | ) |
|
◆ pdo_dbh_new()
◆ pdo_get_bool_param()
PDO_API bool pdo_get_bool_param |
( |
bool * | bval, |
|
|
zval * | value ) |
◆ pdo_get_long_param()
◆ pdo_handle_error()
◆ pdo_hash_methods()
◆ pdo_raise_impl_error()
◆ pdo_throw_exception()
void pdo_throw_exception |
( |
unsigned int | driver_errcode, |
|
|
char * | driver_errmsg, |
|
|
pdo_error_type * | pdo_error ) |
◆ PHP_METHOD() [1/16]
PHP_METHOD |
( |
PDO | , |
|
|
__construct | ) |
◆ PHP_METHOD() [2/16]
PHP_METHOD |
( |
PDO | , |
|
|
beginTransaction | ) |
◆ PHP_METHOD() [3/16]
PHP_METHOD |
( |
PDO | , |
|
|
commit | ) |
◆ PHP_METHOD() [4/16]
PHP_METHOD |
( |
PDO | , |
|
|
connect | ) |
◆ PHP_METHOD() [5/16]
PHP_METHOD |
( |
PDO | , |
|
|
errorCode | ) |
Making sure that we fallback to the default implementation if the dbh->error_code is not null.
Definition at line 1111 of file pdo_dbh.c.
◆ PHP_METHOD() [6/16]
PHP_METHOD |
( |
PDO | , |
|
|
errorInfo | ) |
In order to be consistent, we have to make sure we add the good amount of nulls depending on the current number of elements. We make a simple difference and add the needed elements
Definition at line 1136 of file pdo_dbh.c.
◆ PHP_METHOD() [7/16]
◆ PHP_METHOD() [8/16]
PHP_METHOD |
( |
PDO | , |
|
|
getAttribute | ) |
◆ PHP_METHOD() [9/16]
PHP_METHOD |
( |
PDO | , |
|
|
getAvailableDrivers | ) |
◆ PHP_METHOD() [10/16]
PHP_METHOD |
( |
PDO | , |
|
|
inTransaction | ) |
◆ PHP_METHOD() [11/16]
PHP_METHOD |
( |
PDO | , |
|
|
lastInsertId | ) |
◆ PHP_METHOD() [12/16]
PHP_METHOD |
( |
PDO | , |
|
|
prepare | ) |
◆ PHP_METHOD() [13/16]
PHP_METHOD |
( |
PDO | , |
|
|
query | ) |
◆ PHP_METHOD() [14/16]
PHP_METHOD |
( |
PDO | , |
|
|
quote | ) |
◆ PHP_METHOD() [15/16]
PHP_METHOD |
( |
PDO | , |
|
|
rollBack | ) |
◆ PHP_METHOD() [16/16]
PHP_METHOD |
( |
PDO | , |
|
|
setAttribute | ) |
◆ php_pdo_internal_construct_driver()