DiogenesDatabaseTable Class Reference

Inheritance diagram for DiogenesDatabaseTable:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DiogenesDatabaseTable (&$dbh, $table)

Public Attributes

 $dbh
 $table
 $vars = array()

Detailed Description

Class for handling operations on MySQL database tables. Upon construction, the class probes the table to read its structure.

See also:
DiogenesDatabase, DiogenesTableEditor

Definition at line 27 of file diogenes.database.table.inc.php.


Member Function Documentation

DiogenesDatabaseTable::DiogenesDatabaseTable ( &$  dbh,
table 
)

The constructor. It reads the table structure from database.

Parameters:
dbh the handle to the database
table the name of the table

Definition at line 40 of file diogenes.database.table.inc.php.

References $dbh, and $table.

Referenced by DiogenesTableEditor::DiogenesTableEditor().


Member Data Documentation

DiogenesDatabaseTable::$dbh

Handle to the database

Definition at line 29 of file diogenes.database.table.inc.php.

Referenced by DiogenesDatabaseTable().

DiogenesDatabaseTable::$table

Name of the table

Definition at line 31 of file diogenes.database.table.inc.php.

Referenced by DiogenesTableEditor::add_join_field(), DiogenesDatabaseTable(), and DiogenesTableEditor::DiogenesTableEditor().

DiogenesDatabaseTable::$vars = array()

The table's columns

Definition at line 33 of file diogenes.database.table.inc.php.


The documentation for this class was generated from the following file:
Generated on Fri Jan 11 01:20:09 2008 for Diogenes by  doxygen 1.5.1