protected function get_next_converter($converters, $currentconverter = null) {
        if ($currentconverter) {
            $keys = array_keys($converters, $currentconverter);
            $key = $keys[0];
            if (isset($converters[$key + 1])) {
                return $converters[$key + 1];
            } else {
                return false;
            }
        } else if (!empty($converters)) {
            return $converters[0];
        } else {
            return false;
        }
    }
protected function get_next_converter($converters, $currentconverter = null) {
        if ($currentconverter) {
            $keys = array_keys($converters, $currentconverter);
            $key = $keys[0];
            if (isset($converters[$key + 1])) {
                return $converters[$key + 1];
            } else {
                return false;
            }
        } else if (!empty($converters)) {
            return $converters[0];
        } else {
            return false;
        }
    }
protected function get_next_converter ( $ converters , $ currentconverter = null ) { if ( $ currentconverter ) { $ keys = array_keys ( $ converters , $ currentconverter ) ; $ key = $ keys [ 0 ] ; if ( isset ( $ converters [ $ key + 1 ] ) ) { return $ converters [ $ key + 1 ] ; } else { return false ; } } else if ( ! empty ( $ converters ) ) { return $ converters [ 0 ] ; } else { return false ; } }
Fetch the next converter to try.

@param   array $converters The list of converters to try
@param   string|null $currentconverter The converter currently in use
@return  string|false Name of next converter if present
Fetch the next converter to try .