Exemple #1
0
 /**
  * returns instance of the class (Singleton Design Pattern)
  * @return <type>
  */
 public static function get_instance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new UPCompDatabase();
     }
     return self::$instance;
 }