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

Class: DBConnection

Source Location: /core/DBConnection.php

Class DBConnection

Class Overview

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

Located in /core/DBConnection.php [line 22]



		
				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 27]

  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 39]

  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, 13 Oct 2011 08:42:10 +0200 by phpDocumentor 1.4.3