static public function getAvailableAdapters()
    {
        $pdoAdapters = (class_exists('Pdo', false)) ? \PDO::getAvailableDrivers() : array();

        return array(
            'mysql'  => (class_exists('mysqli', false)),
            'oracle' => (function_exists('oci_connect')),
            'pdo'    => array(
                'mysql'  => (in_array('mysql', $pdoAdapters)),
                'pgsql'  => (in_array('pgsql', $pdoAdapters)),
                'sqlite' => (in_array('sqlite', $pdoAdapters)),
                'sqlsrv' => (in_array('sqlsrv', $pdoAdapters))
            ),
            'pgsql'  => (function_exists('pg_connect')),
            'sqlite' => (class_exists('Sqlite3', false)),
            'sqlsrv' => (function_exists('sqlsrv_connect'))
        );
    }
static public function getAvailableAdapters()
    {
        $pdoAdapters = (class_exists('Pdo', false)) ? \PDO::getAvailableDrivers() : array();

        return array(
            'mysql'  => (class_exists('mysqli', false)),
            'oracle' => (function_exists('oci_connect')),
            'pdo'    => array(
                'mysql'  => (in_array('mysql', $pdoAdapters)),
                'pgsql'  => (in_array('pgsql', $pdoAdapters)),
                'sqlite' => (in_array('sqlite', $pdoAdapters)),
                'sqlsrv' => (in_array('sqlsrv', $pdoAdapters))
            ),
            'pgsql'  => (function_exists('pg_connect')),
            'sqlite' => (class_exists('Sqlite3', false)),
            'sqlsrv' => (function_exists('sqlsrv_connect'))
        );
    }
static public function getAvailableAdapters ( ) { $ pdoAdapters = ( class_exists ( 'Pdo' , false ) ) ? \ PDO :: getAvailableDrivers ( ) : array ( ) ; return array ( 'mysql' => ( class_exists ( 'mysqli' , false ) ) , 'oracle' => ( function_exists ( 'oci_connect' ) ) , 'pdo' => array ( 'mysql' => ( in_array ( 'mysql' , $ pdoAdapters ) ) , 'pgsql' => ( in_array ( 'pgsql' , $ pdoAdapters ) ) , 'sqlite' => ( in_array ( 'sqlite' , $ pdoAdapters ) ) , 'sqlsrv' => ( in_array ( 'sqlsrv' , $ pdoAdapters ) ) ) , 'pgsql' => ( function_exists ( 'pg_connect' ) ) , 'sqlite' => ( class_exists ( 'Sqlite3' , false ) ) , 'sqlsrv' => ( function_exists ( 'sqlsrv_connect' ) ) ) ; }
Get the available database adapters

@return array
Get the available database adapters