original_string: function ServerInfo()
    {
  
      if (!empty($this->host) && ADODB_PHPVER >= 0x4300) {
        $stmt = $this->Prepare('EXECUTE PROCEDURE sp_mgGetInstallInfo()');
                          $res =  $this->Execute($stmt);
                          if(!$res)
                                  print $this->ErrorMsg();
                          else{
                                  $ret["version"]= $res->fields[3];
                                  $ret["description"]="Advantage Database Server";
                                  return $ret;
                          }
                  }
                  else {
              return ADOConnection::ServerInfo();
      }
    }
code: function ServerInfo()
    {
  
      if (!empty($this->host) && ADODB_PHPVER >= 0x4300) {
        $stmt = $this->Prepare('EXECUTE PROCEDURE sp_mgGetInstallInfo()');
                          $res =  $this->Execute($stmt);
                          if(!$res)
                                  print $this->ErrorMsg();
                          else{
                                  $ret["version"]= $res->fields[3];
                                  $ret["description"]="Advantage Database Server";
                                  return $ret;
                          }
                  }
                  else {
              return ADOConnection::ServerInfo();
      }
    }
code_tokens: function ServerInfo ( ) { if ( ! empty ( $ this -> host ) && ADODB_PHPVER >= 0x4300 ) { $ stmt = $ this -> Prepare ( 'EXECUTE PROCEDURE sp_mgGetInstallInfo()' ) ; $ res = $ this -> Execute ( $ stmt ) ; if ( ! $ res ) print $ this -> ErrorMsg ( ) ; else { $ ret [ "version" ] = $ res -> fields [ 3 ] ; $ ret [ "description" ] = "Advantage Database Server" ; return $ ret ; } } else { return ADOConnection :: ServerInfo ( ) ; } }
docstring: returns the Server version and Description
docstring_tokens: returns the Server version and Description