Class: StatisticConnection

Source Location: /CORE/system/classes/statistic/StatisticConnection.php

Class StatisticConnection

Class Overview

This class opens a connection to the statistic database.

You can move the statistics tables to a different DB, to increase performance.

Located in /CORE/system/classes/statistic/StatisticConnection.php [line 39]

DatabaseConnection
   |
   --SimpleMySQLConnection
      |
      --StatisticConnection
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: StatisticConnection.php,v 1.10 2008/09/24 20:24:28 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From SimpleMySQLConnection

SimpleMySQLConnection::SimpleMySQLConnection()
Connects to the DB by using the configured Database values.
SimpleMySQLConnection::close()
This closes the currently Connection.
SimpleMySQLConnection::connect()
Connects to a MySQL DB using the given Connection Values.
SimpleMySQLConnection::escape()
Escapes a value to be used in any SQL Statement.
SimpleMySQLConnection::freeResult()
Frees the given MySQL resources.
SimpleMySQLConnection::getError()
SimpleMySQLConnection::insert()
Inserts a new DB entry and if exists returns the auto increment value.
SimpleMySQLConnection::isConnected()
Returns whether we are connected to a DB or not.
SimpleMySQLConnection::sql()
Executes any SQL Statement (mysql_query).

Inherited From DatabaseConnection

DatabaseConnection::close()
Closes the currently used Connection.
DatabaseConnection::escape()
Escapes a value to be used in any SQL Statement.
DatabaseConnection::freeResult()
Free the given SQL resource.
DatabaseConnection::getError()
Return a DBError or null.
DatabaseConnection::insert()
Inserts one or more rows and returns the result.
DatabaseConnection::isConnected()
Returns whether we are connected to the Database or not.
DatabaseConnection::sql()
Returns the Result of this SQL Query.

[ Top ]
Method Summary
StatisticConnection   StatisticConnection()  

[ Top ]
Methods
Constructor StatisticConnection  [line 42]

  StatisticConnection StatisticConnection( )



[ Top ]