original_string: private function _getServerBaseURL()
      {
          // the URL is build only when needed
          if ( empty($this->_server['base_url']) ) {
              $this->_server['base_url'] = 'https://' . $this->_getServerHostname();
              if ($this->_getServerPort()!=443) {
                  $this->_server['base_url'] .= ':'
                  .$this->_getServerPort();
              }
              $this->_server['base_url'] .= $this->_getServerURI();
          }
          return $this->_server['base_url'];
      }
code: private function _getServerBaseURL()
      {
          // the URL is build only when needed
          if ( empty($this->_server['base_url']) ) {
              $this->_server['base_url'] = 'https://' . $this->_getServerHostname();
              if ($this->_getServerPort()!=443) {
                  $this->_server['base_url'] .= ':'
                  .$this->_getServerPort();
              }
              $this->_server['base_url'] .= $this->_getServerURI();
          }
          return $this->_server['base_url'];
      }
code_tokens: private function _getServerBaseURL ( ) { // the URL is build only when needed if ( empty ( $ this -> _server [ 'base_url' ] ) ) { $ this -> _server [ 'base_url' ] = 'https://' . $ this -> _getServerHostname ( ) ; if ( $ this -> _getServerPort ( ) != 443 ) { $ this -> _server [ 'base_url' ] .= ':' . $ this -> _getServerPort ( ) ; } $ this -> _server [ 'base_url' ] .= $ this -> _getServerURI ( ) ; } return $ this -> _server [ 'base_url' ] ; }
docstring: This method is used to retrieve the base URL of the CAS server.
  
  @return string a URL.
docstring_tokens: This method is used to retrieve the base URL of the CAS server .