original_string: protected function addParametersToTransferSession($jumpUrl, $pageTSconfig)
      {
          // allow to send the current fe_user with the jump URL
          if (!empty($pageTSconfig['jumpUrl_transferSession'])) {
              $uParts = parse_url($jumpUrl);
              /** @noinspection PhpInternalEntityUsedInspection We need access to the current frontend user ID. */
              $params = '&FE_SESSION_KEY=' .
                  rawurlencode(
                      $this->getTypoScriptFrontendController()->fe_user->id . '-' .
                      md5(
                          $this->getTypoScriptFrontendController()->fe_user->id . '/' .
                          $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']
                      )
                  );
              // Add the session parameter ...
              $jumpUrl .= ($uParts['query'] ? '' : '?') . $params;
          }
          return $jumpUrl;
      }
code: protected function addParametersToTransferSession($jumpUrl, $pageTSconfig)
      {
          // allow to send the current fe_user with the jump URL
          if (!empty($pageTSconfig['jumpUrl_transferSession'])) {
              $uParts = parse_url($jumpUrl);
              /** @noinspection PhpInternalEntityUsedInspection We need access to the current frontend user ID. */
              $params = '&FE_SESSION_KEY=' .
                  rawurlencode(
                      $this->getTypoScriptFrontendController()->fe_user->id . '-' .
                      md5(
                          $this->getTypoScriptFrontendController()->fe_user->id . '/' .
                          $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']
                      )
                  );
              // Add the session parameter ...
              $jumpUrl .= ($uParts['query'] ? '' : '?') . $params;
          }
          return $jumpUrl;
      }
code_tokens: protected function addParametersToTransferSession ( $ jumpUrl , $ pageTSconfig ) { // allow to send the current fe_user with the jump URL if ( ! empty ( $ pageTSconfig [ 'jumpUrl_transferSession' ] ) ) { $ uParts = parse_url ( $ jumpUrl ) ; /** @noinspection PhpInternalEntityUsedInspection We need access to the current frontend user ID. */ $ params = '&FE_SESSION_KEY=' . rawurlencode ( $ this -> getTypoScriptFrontendController ( ) -> fe_user -> id . '-' . md5 ( $ this -> getTypoScriptFrontendController ( ) -> fe_user -> id . '/' . $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'SYS' ] [ 'encryptionKey' ] ) ) ; // Add the session parameter ... $ jumpUrl .= ( $ uParts [ 'query' ] ? '' : '?' ) . $ params ; } return $ jumpUrl ; }
docstring: Modified the URL to go to by adding the session key information to it
  but only if TSFE.jumpUrl_transferSession = 1 is set via pageTSconfig.
  
  @param string $jumpUrl the URL to go to
  @param array $pageTSconfig the TSFE. part of the TS configuration
  
  @return string the modified URL
docstring_tokens: Modified the URL to go to by adding the session key information to it but only if TSFE . jumpUrl_transferSession = 1 is set via pageTSconfig .