DB_PostgreSQL Class Reference

Inherits DB_Base.

Collaboration diagram for DB_PostgreSQL:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DB_PostgreSQL ($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)

Public Attributes

 $table_defns = array()

Detailed Description

PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet

Author:
Judd Vinet <jvinet@zeroflux.org>

Description: DB driver for PostgreSQL.

Definition at line 11 of file postgresql.php.


Member Function Documentation

DB_PostgreSQL::_catch ( msg = ""  ) 

Exception/error catcher

Parameters:
string $msg

Reimplemented from DB_Base.

Definition at line 39 of file postgresql.php.

References DB_Base::error().

Referenced by DB_PostgreSQL().

DB_PostgreSQL::DB_PostgreSQL ( conn,
persistent 
)

Definition at line 15 of file postgresql.php.

References DB_Base::$conn, and _catch().

DB_PostgreSQL::fetch_array ( &$  q  ) 

Definition at line 65 of file postgresql.php.

DB_PostgreSQL::fetch_field ( &$  q,
num 
)

Definition at line 69 of file postgresql.php.

DB_PostgreSQL::fetch_row ( &$  q  ) 

Definition at line 61 of file postgresql.php.

Referenced by get_insert_id().

DB_PostgreSQL::free_result ( q  ) 

Definition at line 88 of file postgresql.php.

DB_PostgreSQL::get_insert_id (  ) 

Definition at line 81 of file postgresql.php.

References fetch_row().

DB_PostgreSQL::get_table_defn ( table  ) 

Definition at line 44 of file postgresql.php.

DB_PostgreSQL::num_fields ( &$  q  ) 

Definition at line 73 of file postgresql.php.

DB_PostgreSQL::num_rows ( &$  q  ) 

Definition at line 77 of file postgresql.php.

DB_PostgreSQL::run_query ( sql  ) 

Definition at line 57 of file postgresql.php.


Member Data Documentation

DB_PostgreSQL::$table_defns = array()

Definition at line 13 of file postgresql.php.


The documentation for this class was generated from the following file:

Generated on Wed Jan 13 09:21:04 2010 for Pronto Framework by  doxygen 1.6.1