Пример #1
0
 /**
  * Singleton pattern. Get the instance of the latest created object or create a new one. 
  * @return CBehovsboboxen The instance of this class.
  */
 public static function Instance()
 {
     if (self::$instance == null) {
         self::$instance = new CBehovsboboxen();
     }
     return self::$instance;
 }