mdl_get_connection: Connect to Moodle Data
Description
Returns a connection to a Moodle database or the cached version if available.e
Usage
mdl_get_connection(use_cache = TRUE, config = "default")
Value
a DBI connection object
Arguments
- use_cache
If TRUE (the default) connection to the local cache is returned.
- config
Select configuration from config file