protected dbConnection ( ) : jDbConnection | ||
return | jDbConnection | the connection to the database used for the module |
protected function dbConnection()
{
if (!$this->_dbConn) {
$this->_dbConn = \jDb::getConnection($this->dbProfile);
}
return $this->_dbConn;
}