PHP Classes

This is not a class.

Recommend this page to a friend!

      DConnect  >  All threads  >  This is not a class.  >  (Un) Subscribe thread alerts  
Subject:This is not a class.
Summary:Package rating comment
Author:Kees de Haan
Date:2012-11-25 06:58:19
Update:2012-11-26 13:03:20


Kees de Haan rated this package as follows:

Utility: Bad
Consistency: Bad

  1. This is not a class.   Reply   Report abuse  
Picture of Kees de Haan Kees de Haan - 2012-11-25 06:58:19
This is not a class. This just one single function. What the hack is $config?.
What the hack is configs::Singleton? Where is the documentation? Who will ever use this so called 'class'?

  2. Re: This is not a class.   Reply   Report abuse  
Picture of João Mário Nedeff João Mário Nedeff - 2012-11-26 13:03:20 - In reply to message 1 from Kees de Haan
Sorry dude, the example of usage is on the other class that is waiting for approval.

I thought they would get online all together.

The functionality is to return your connection:

$conn = DConnect::Connect().

Please read the Config class and you will how it works to retrieve the information and make it available for DConnect.