Database Loader
public database ( mixed $params = '', boolean $return = FALSE, boolean $query_builder = NULL ) : object | boolean | ||
$params | mixed | Database configuration options |
$return | boolean | Whether to return the database object |
$query_builder | boolean | Whether to enable Query Builder (overrides the configuration setting) |
return | object | boolean | Database object if $return is set to TRUE, FALSE on failure, CI_Loader instance in any other case |