/**
* Returns a string representing the type of connection used
*
* @param object $link mysql link
*
* @return string type of connection used
*/
public function getHostInfo($link = null)
{
$link = $this->getLink($link);
if ($link === false) {
return false;
}
return $this->_extension->getHostInfo($link);
}