private static final function initialize() { $driver_class = 'kxDB' . substr(kxEnv::get('kx:db:dsn'), 0, strpos(kxEnv::get('kx:db:dsn'), ':')); $new_connection = new $driver_class(); self::$instance = $new_connection; }