phpDocumentor CAT_Developer_Documentation
[ class tree: CAT_Developer_Documentation ] [ index: CAT_Developer_Documentation ] [ all elements ]

Class: DBConnection

Source Location: /core/Helper.php

Class DBConnection

Class Overview

This class is a singleton for establishing a connection to the database

Located in /core/Helper.php [line 241]



		
				Author(s):
		
		
		
Information Tags:
License:  http://ticker.eduroam.lu/cat/LICENSE

Methods

[ Top ]
Method Summary
static DBConnection   handle()   This is the only usable function. It creates a database connection if it is not up yet, and returns a handle to the database connection on every call.
void   __clone()   Implemented for safety reasons only. Cloning is forbidden and will tell the user so.

[ Top ]
Methods
static method handle  [line 246]

  static DBConnection handle( )

This is the only usable function. It creates a database connection if it is not up yet, and returns a handle to the database connection on every call.


API Tags:
Return:  the (only) instance of this class
Access:  public


[ Top ]
__clone  [line 258]

  void __clone( )

Implemented for safety reasons only. Cloning is forbidden and will tell the user so.


API Tags:
Access:  public


[ Top ]

Documentation generated on Thu, 14 Jul 2011 10:11:51 +0200 by phpDocumentor 1.4.3