static function getInstance() { if (self::$con instanceof self) { return self::$con; } else { self::$con = new self(); return self::$con; } }