2 namespace TYPO3\CMS\Core\Utility;
76 public static function redirect(
$url, $httpStatus = self::HTTP_STATUS_303)
78 self::setResponseCode($httpStatus);
102 self::setResponseCode($httpStatus);
115 return (isset($urlParts[
'scheme']) ? $urlParts[
'scheme'] .
'://' :
'') .
116 (isset($urlParts[
'user']) ? $urlParts[
'user'] .
117 (isset($urlParts[
'pass']) ?
':' . $urlParts[
'pass'] :
'') .
'@' :
'') .
118 (isset($urlParts[
'host']) ? $urlParts[
'host'] :
'') .
119 (isset($urlParts[
'port']) ?
':' . $urlParts[
'port'] :
'') .
120 (isset($urlParts[
'path']) ? $urlParts[
'path'] :
'') .
121 (isset($urlParts[
'query']) ?
'?' . $urlParts[
'query'] :
'') .
122 (isset($urlParts[
'fragment']) ?
'#' . $urlParts[
'fragment'] :
'');