/**
  * 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);
 }
Esempio n. 2
0
 /**
  * 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)
 {
     return $this->_extension->getHostInfo($link);
 }