DB_MySQL Class Reference

Inherits DB_Base.

Collaboration diagram for DB_MySQL:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DB_MySQL ($conn, $persistent)
 _catch ($msg="")
 select ($db)
 get_table_defn ($table)
 run_query ($sql)
 fetch_row (&$q, $free_result=false)
 fetch_array (&$q, $free_result=false)
 fetch_field (&$q, $num)
 num_fields (&$q)
 num_rows (&$q)
 get_insert_id ()
 free_result ($q)

Detailed Description

PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet

Author:
Judd Vinet <jvinet@zeroflux.org>

Description: DB driver for MySQL.

Definition at line 11 of file mysql.php.


Member Function Documentation

DB_MySQL::_catch ( msg = ""  ) 

Exception/error catcher

Parameters:
string $msg

Reimplemented from DB_Base.

Definition at line 38 of file mysql.php.

References DB_Base::error().

Referenced by DB_MySQL(), and select().

DB_MySQL::DB_MySQL ( conn,
persistent 
)

Definition at line 13 of file mysql.php.

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

DB_MySQL::fetch_array ( &$  q,
free_result = false 
)

Definition at line 61 of file mysql.php.

DB_MySQL::fetch_field ( &$  q,
num 
)

Definition at line 67 of file mysql.php.

DB_MySQL::fetch_row ( &$  q,
free_result = false 
)

Definition at line 55 of file mysql.php.

DB_MySQL::free_result ( q  ) 

Definition at line 83 of file mysql.php.

DB_MySQL::get_insert_id (  ) 

Definition at line 79 of file mysql.php.

DB_MySQL::get_table_defn ( table  ) 

Definition at line 47 of file mysql.php.

References DB_Base::get_all_pair().

DB_MySQL::num_fields ( &$  q  ) 

Definition at line 71 of file mysql.php.

DB_MySQL::num_rows ( &$  q  ) 

Definition at line 75 of file mysql.php.

DB_MySQL::run_query ( sql  ) 

Definition at line 51 of file mysql.php.

Referenced by DB_MySQL().

DB_MySQL::select ( db  ) 

Definition at line 43 of file mysql.php.

References $db, and _catch().

Referenced by DB_MySQL().


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