Class Database

Description

Database Class

The Database class contains code common to all subclasses.

Subclasses of the Database class must provide the following functions:

  • affected_rows($resource_link)
  • connect()
  • close()
  • dbStructure()
  • dbStats()
  • escape_string() <= This function MUST be recursive on arrays and objects.
  • fetch_array()
  • num_rows()
  • query()
  • select_db()

Located in /db/Database.php (line 29)


	
			
Direct descendents
Class Description
MSSQLDatabase MSSQLDatabase is a subclass for Database which allows communication with Micrsoft SQL Servers.
MySQLDatabase MySQLDatabase is a subclass for Database which allows communication with MySQL Servers.
Variable Summary
mixed $Connected
mixed $dbLink
mixed $dbSelected
mixed $Name
mixed $QueryCount
mixed $Server
mixed $Type
Method Summary
Database Database ( $server,  $dbName)
void _formatsize ( $bytes)
Variables
mixed $Connected (line 88)
mixed $dbLink (line 90)
mixed $dbSelected (line 89)
mixed $ExportUtilities = array() (line 93)
  • access: public
mixed $ImportUtilities = array() (line 94)
  • access: public
mixed $Name (line 87)
mixed $QueryCount = 0 (line 91)
mixed $Server (line 85)
mixed $Type (line 86)
Methods
Constructor Database (line 38)
Database Database ( $server,  $dbName)
  • $server
  • $dbName
_formatsize (line 54)
void _formatsize ( $bytes)
  • $bytes

Documentation generated on Wed, 05 Mar 2008 16:46:00 -0600 by phpDocumentor 1.3.1