JFactory::getDbo

Get a database object.

Returns the global object, only creating it if it doesn't already exist.