Inherits DB_Base.

Public Member Functions | |
| DB_PDO ($conn, $persistent) | |
| _catch ($msg="") | |
| get_table_defn ($table) | |
| run_query ($sql) | |
| fetch_row (&$q) | |
| fetch_array (&$q) | |
| fetch_field (&$q, $num) | |
| num_fields (&$q) | |
| num_rows (&$q) | |
| get_insert_id () | |
| free_result ($q) | |
PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet
Description: DB driver for PDO.
NOTE: Requires PHP5.
Definition at line 13 of file pdo.php.
| DB_PDO::_catch | ( | $ | msg = "" |
) |
Exception/error catcher
| string | $msg |
Reimplemented from DB_Base.
Definition at line 42 of file pdo.php.
References DB_Base::error().
Referenced by DB_PDO().
| DB_PDO::DB_PDO | ( | $ | conn, | |
| $ | persistent | |||
| ) |
Definition at line 15 of file pdo.php.
References DB_Base::$conn, _catch(), and run_query().
| DB_PDO::get_table_defn | ( | $ | table | ) |
Definition at line 53 of file pdo.php.
References DB_Base::get_all_pair(), num_fields(), and run_query().
| DB_PDO::num_fields | ( | &$ | q | ) |
Definition at line 83 of file pdo.php.
Referenced by get_table_defn().
| DB_PDO::run_query | ( | $ | sql | ) |
Definition at line 67 of file pdo.php.
Referenced by DB_PDO(), and get_table_defn().
1.6.1