public static function GetInstance() { if (!isset(self::$theirInstance)) { $c = __CLASS__; self::$theirInstance = new $c(); } return self::$theirInstance; }