original_string: public function getServerSamlValidateURL()
      {
          phpCAS::traceBegin();
          // the URL is build only when needed
          if ( empty($this->_server['saml_validate_url']) ) {
              switch ($this->getServerVersion()) {
              case SAML_VERSION_1_1:
                  $this->_server['saml_validate_url'] = $this->_getServerBaseURL().'samlValidate';
                  break;
              }
          }
  
          $url = $this->_buildQueryUrl(
              $this->_server['saml_validate_url'],
              'TARGET='.urlencode($this->getURL())
          );
          phpCAS::traceEnd($url);
          return $url;
      }
code: public function getServerSamlValidateURL()
      {
          phpCAS::traceBegin();
          // the URL is build only when needed
          if ( empty($this->_server['saml_validate_url']) ) {
              switch ($this->getServerVersion()) {
              case SAML_VERSION_1_1:
                  $this->_server['saml_validate_url'] = $this->_getServerBaseURL().'samlValidate';
                  break;
              }
          }
  
          $url = $this->_buildQueryUrl(
              $this->_server['saml_validate_url'],
              'TARGET='.urlencode($this->getURL())
          );
          phpCAS::traceEnd($url);
          return $url;
      }
code_tokens: public function getServerSamlValidateURL ( ) { phpCAS :: traceBegin ( ) ; // the URL is build only when needed if ( empty ( $ this -> _server [ 'saml_validate_url' ] ) ) { switch ( $ this -> getServerVersion ( ) ) { case SAML_VERSION_1_1 : $ this -> _server [ 'saml_validate_url' ] = $ this -> _getServerBaseURL ( ) . 'samlValidate' ; break ; } } $ url = $ this -> _buildQueryUrl ( $ this -> _server [ 'saml_validate_url' ] , 'TARGET=' . urlencode ( $ this -> getURL ( ) ) ) ; phpCAS :: traceEnd ( $ url ) ; return $ url ; }
docstring: This method is used to retrieve the SAML validating URL of the CAS server.
  
  @return string samlValidate URL.
docstring_tokens: This method is used to retrieve the SAML validating URL of the CAS server .