Class AdoDBConnection

Description

Class used for connecting to a Database by using the AdoDB Framework.

This is the ultimate way of using BIGACE with none MySQL Databases!

  • version: $Id: AdoDBConnection.php,v 1.2 2006/11/26 22:04:25 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License
DatabaseConnection
   |
   --AdoDBConnection
Method Summary
AdoDBConnection AdoDBConnection ()
void close ()
void freeResult ( $result)
void insert ( $query)
boolean isConnected ()
void sql ( $query)
Methods
Constructor AdoDBConnection (line 51)

Connects to the DB by using the configured Database values.

AdoDBConnection AdoDBConnection ()
close (line 128)

Closes the Database Connection. The Results must be closed manually!

void close ()

Redefinition of:
DatabaseConnection::close()
Closes the currently used Connection.
freeResult (line 136)

Frees the given Result.

void freeResult ( $result)
  • $result

Redefinition of:
DatabaseConnection::freeResult()
Free the given SQL resource.
insert (line 114)

Inserts a new DB entry and if exists returns the auto increment value.

void insert ( $query)
  • $query

Redefinition of:
DatabaseConnection::insert()
Inserts one or more rows and returns the result.
isConnected (line 95)

Returns whether we are connected to a DB or not.

  • return: true on successful Connection
boolean isConnected ()

Redefinition of:
DatabaseConnection::isConnected()
Returns whether we are connected to the Database or not.
sql (line 102)

Executes any SQL Statement (mysql_query).

void sql ( $query)
  • $query

Redefinition of:
DatabaseConnection::sql()
Returns the Result of this SQL Query.

Inherited Methods

Inherited From DatabaseConnection

DatabaseConnection::close()
DatabaseConnection::freeResult()
DatabaseConnection::insert()
DatabaseConnection::isConnected()
DatabaseConnection::sql()

Documentation generated by phpDocumentor 1.3.1