public static function get_drivers() {
        return array(
            ''               => get_string('choosedots'),
            'native/mysqli'  => \moodle_database::get_driver_instance('mysqli', 'native')->get_name(),
            'native/mariadb' => \moodle_database::get_driver_instance('mariadb', 'native')->get_name(),
            'native/pgsql'   => \moodle_database::get_driver_instance('pgsql', 'native')->get_name(),
            'native/oci'     => \moodle_database::get_driver_instance('oci', 'native')->get_name(),
            'native/sqlsrv'  => \moodle_database::get_driver_instance('sqlsrv', 'native')->get_name()
        );
    }
public static function get_drivers() {
        return array(
            ''               => get_string('choosedots'),
            'native/mysqli'  => \moodle_database::get_driver_instance('mysqli', 'native')->get_name(),
            'native/mariadb' => \moodle_database::get_driver_instance('mariadb', 'native')->get_name(),
            'native/pgsql'   => \moodle_database::get_driver_instance('pgsql', 'native')->get_name(),
            'native/oci'     => \moodle_database::get_driver_instance('oci', 'native')->get_name(),
            'native/sqlsrv'  => \moodle_database::get_driver_instance('sqlsrv', 'native')->get_name()
        );
    }
public static function get_drivers ( ) { return array ( '' => get_string ( 'choosedots' ) , 'native/mysqli' => \ moodle_database :: get_driver_instance ( 'mysqli' , 'native' ) -> get_name ( ) , 'native/mariadb' => \ moodle_database :: get_driver_instance ( 'mariadb' , 'native' ) -> get_name ( ) , 'native/pgsql' => \ moodle_database :: get_driver_instance ( 'pgsql' , 'native' ) -> get_name ( ) , 'native/oci' => \ moodle_database :: get_driver_instance ( 'oci' , 'native' ) -> get_name ( ) , 'native/sqlsrv' => \ moodle_database :: get_driver_instance ( 'sqlsrv' , 'native' ) -> get_name ( ) ) ; }
Returns list of fully working database drivers present in system.
@return array
Returns list of fully working database drivers present in system .