|
TYPO3 API
SVNRelease
|
Static Public Member Functions | |
| static | redirect ($url, $httpStatus=self::HTTP_STATUS_303) |
Public Attributes | |
| const | HTTP_STATUS_100 = 'HTTP/1.1 100 Continue' |
| const | HTTP_STATUS_101 = 'HTTP/1.1 101 Switching Protocols' |
| const | HTTP_STATUS_200 = 'HTTP/1.1 200 OK' |
| const | HTTP_STATUS_201 = 'HTTP/1.1 201 Created' |
| const | HTTP_STATUS_202 = 'HTTP/1.1 202 Accepted' |
| const | HTTP_STATUS_203 = 'HTTP/1.1 203 Non-Authoritative Information' |
| const | HTTP_STATUS_204 = 'HTTP/1.1 204 No Content' |
| const | HTTP_STATUS_205 = 'HTTP/1.1 205 Reset Content' |
| const | HTTP_STATUS_206 = 'HTTP/1.1 206 Partial Content' |
| const | HTTP_STATUS_300 = 'HTTP/1.1 300 Multiple Choices' |
| const | HTTP_STATUS_301 = 'HTTP/1.1 301 Moved Permanently' |
| const | HTTP_STATUS_302 = 'HTTP/1.1 302 Found' |
| const | HTTP_STATUS_303 = 'HTTP/1.1 303 See Other' |
| const | HTTP_STATUS_304 = 'HTTP/1.1 304 Not Modified' |
| const | HTTP_STATUS_305 = 'HTTP/1.1 305 Use Proxy' |
| const | HTTP_STATUS_307 = 'HTTP/1.1 307 Temporary Redirect' |
| const | HTTP_STATUS_400 = 'HTTP/1.1 400 Bad Request' |
| const | HTTP_STATUS_401 = 'HTTP/1.1 401 Unauthorized' |
| const | HTTP_STATUS_402 = 'HTTP/1.1 402 Payment Required' |
| const | HTTP_STATUS_403 = 'HTTP/1.1 403 Forbidden' |
| const | HTTP_STATUS_404 = 'HTTP/1.1 404 Not Found' |
| const | HTTP_STATUS_405 = 'HTTP/1.1 405 Method Not Allowed' |
| const | HTTP_STATUS_406 = 'HTTP/1.1 406 Not Acceptable' |
| const | HTTP_STATUS_407 = 'HTTP/1.1 407 Proxy Authentication Required' |
| const | HTTP_STATUS_408 = 'HTTP/1.1 408 Request Timeout' |
| const | HTTP_STATUS_409 = 'HTTP/1.1 409 Conflict' |
| const | HTTP_STATUS_410 = 'HTTP/1.1 410 Gone' |
| const | HTTP_STATUS_411 = 'HTTP/1.1 411 Length Required' |
| const | HTTP_STATUS_412 = 'HTTP/1.1 412 Precondition Failed' |
| const | HTTP_STATUS_413 = 'HTTP/1.1 413 Request Entity Too Large' |
| const | HTTP_STATUS_414 = 'HTTP/1.1 414 Request-URI Too Long' |
| const | HTTP_STATUS_415 = 'HTTP/1.1 415 Unsupported Media Type' |
| const | HTTP_STATUS_416 = 'HTTP/1.1 416 Requested Range Not Satisfiable' |
| const | HTTP_STATUS_417 = 'HTTP/1.1 417 Expectation Failed' |
| const | HTTP_STATUS_500 = 'HTTP/1.1 500 Internal Server Error' |
| const | HTTP_STATUS_501 = 'HTTP/1.1 501 Not Implemented' |
| const | HTTP_STATUS_502 = 'HTTP/1.1 502 Bad Gateway' |
| const | HTTP_STATUS_503 = 'HTTP/1.1 503 Service Unavailable' |
| const | HTTP_STATUS_504 = 'HTTP/1.1 504 Gateway Timeout' |
| const | HTTP_STATUS_505 = 'HTTP/1.1 505 Version Not Supported' |
| const | SCHEME_HTTP = 1 |
| const | SCHEME_HTTPS = 2 |
Definition at line 33 of file class.t3lib_utility_http.php.
| static t3lib_utility_Http::redirect | ( | $ | url, |
| $ | httpStatus = self::HTTP_STATUS_303 |
||
| ) | [static] |
Sends a redirect header response and exits. Additionaly the URL is checked and if needed corrected to match the format required for a Location redirect header. By default the HTTP status code sent is a 'HTTP/1.1 303 See Other'.
| string | The target URL to redirect to |
| string | An optional HTTP status header. Default is 'HTTP/1.1 303 See Other' |
Definition at line 94 of file class.t3lib_utility_http.php.
References t3lib_div\locationHeaderUrl().
Referenced by t3lib_beUserAuth\backendCheckLogin(), t3lib_userAuth\checkAuthentication(), SC_index\checkRedirect(), tx_install\checkTheDatabase(), SC_alt_doc\closeDocument(), tslib_fe\connectToDB(), tx_sysaction_task\deleteUser(), tx_dbal_autoloader\execute(), TYPO3_tcefile\finish(), SC_tce_db\finish(), t3lib_pageSelect\getDomainStartPage(), tx_simulatestatic\hookInitConfig(), SC_wizard_add\init(), SC_index\init(), tx_install\init(), tslib_fe\jumpUrl(), SC_alt_doc\localizationRedirect(), SC_logout\logout(), tx_openid_eID\main(), tx_felogin_pi1\main(), tx_openid_return\main(), recordHistory\main(), SC_wizard_edit\main(), SC_wizard_list\main(), SC_wizard_add\main(), SC_mod_user_ws_workspaceForms\main(), tx_tstemplateinfo\main(), tx_install\outputExitBasedOnStep(), tslib_fe\pageErrorHandler(), SC_mod_web_view_index\printContent(), SC_db_layout\renderQuickEdit(), SC_mod_tools_em_index\requestInstallExtensions(), tx_openid_sv1\sendOpenIDRequest(), SC_alt_doc\setDocument(), SC_mod_tools_em_index\showExtDetails(), recordList\start(), tx_beuser_switchbackuser\switchBack(), tx_install\tx_install(), and tx_sysaction_task\viewNewRecord().
| const t3lib_utility_Http::HTTP_STATUS_100 = 'HTTP/1.1 100 Continue' |
Definition at line 36 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_101 = 'HTTP/1.1 101 Switching Protocols' |
Definition at line 37 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_200 = 'HTTP/1.1 200 OK' |
Definition at line 39 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_201 = 'HTTP/1.1 201 Created' |
Definition at line 40 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_202 = 'HTTP/1.1 202 Accepted' |
Definition at line 41 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_203 = 'HTTP/1.1 203 Non-Authoritative Information' |
Definition at line 42 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_204 = 'HTTP/1.1 204 No Content' |
Definition at line 43 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_205 = 'HTTP/1.1 205 Reset Content' |
Definition at line 44 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_206 = 'HTTP/1.1 206 Partial Content' |
Definition at line 45 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_300 = 'HTTP/1.1 300 Multiple Choices' |
Definition at line 47 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_301 = 'HTTP/1.1 301 Moved Permanently' |
Definition at line 48 of file class.t3lib_utility_http.php.
Referenced by tslib_fe\fetch_the_id(), and tslib_fe\jumpUrl().
| const t3lib_utility_Http::HTTP_STATUS_302 = 'HTTP/1.1 302 Found' |
Definition at line 49 of file class.t3lib_utility_http.php.
Referenced by tslib_fe\jumpUrl().
| const t3lib_utility_Http::HTTP_STATUS_303 = 'HTTP/1.1 303 See Other' |
Definition at line 50 of file class.t3lib_utility_http.php.
Referenced by tslib_fe\fetch_the_id(), tslib_fe\jumpUrl(), tx_openid_eID\main(), and tx_openid_sv1\sendOpenIDRequest().
| const t3lib_utility_Http::HTTP_STATUS_304 = 'HTTP/1.1 304 Not Modified' |
Definition at line 51 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_305 = 'HTTP/1.1 305 Use Proxy' |
Definition at line 52 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_307 = 'HTTP/1.1 307 Temporary Redirect' |
Definition at line 53 of file class.t3lib_utility_http.php.
Referenced by tslib_fe\jumpUrl().
| const t3lib_utility_Http::HTTP_STATUS_400 = 'HTTP/1.1 400 Bad Request' |
Definition at line 55 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_401 = 'HTTP/1.1 401 Unauthorized' |
Definition at line 56 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_402 = 'HTTP/1.1 402 Payment Required' |
Definition at line 57 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_403 = 'HTTP/1.1 403 Forbidden' |
Definition at line 58 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_404 = 'HTTP/1.1 404 Not Found' |
Definition at line 59 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_405 = 'HTTP/1.1 405 Method Not Allowed' |
Definition at line 60 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_406 = 'HTTP/1.1 406 Not Acceptable' |
Definition at line 61 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_407 = 'HTTP/1.1 407 Proxy Authentication Required' |
Definition at line 62 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_408 = 'HTTP/1.1 408 Request Timeout' |
Definition at line 63 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_409 = 'HTTP/1.1 409 Conflict' |
Definition at line 64 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_410 = 'HTTP/1.1 410 Gone' |
Definition at line 65 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_411 = 'HTTP/1.1 411 Length Required' |
Definition at line 66 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_412 = 'HTTP/1.1 412 Precondition Failed' |
Definition at line 67 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_413 = 'HTTP/1.1 413 Request Entity Too Large' |
Definition at line 68 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_414 = 'HTTP/1.1 414 Request-URI Too Long' |
Definition at line 69 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_415 = 'HTTP/1.1 415 Unsupported Media Type' |
Definition at line 70 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_416 = 'HTTP/1.1 416 Requested Range Not Satisfiable' |
Definition at line 71 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_417 = 'HTTP/1.1 417 Expectation Failed' |
Definition at line 72 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_500 = 'HTTP/1.1 500 Internal Server Error' |
Definition at line 74 of file class.t3lib_utility_http.php.
Referenced by TYPO3AJAX\renderAsError().
| const t3lib_utility_Http::HTTP_STATUS_501 = 'HTTP/1.1 501 Not Implemented' |
Definition at line 75 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_502 = 'HTTP/1.1 502 Bad Gateway' |
Definition at line 76 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_503 = 'HTTP/1.1 503 Service Unavailable' |
Definition at line 77 of file class.t3lib_utility_http.php.
Referenced by tx_simulatestatic\hookInitConfig().
| const t3lib_utility_Http::HTTP_STATUS_504 = 'HTTP/1.1 504 Gateway Timeout' |
Definition at line 78 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::HTTP_STATUS_505 = 'HTTP/1.1 505 Version Not Supported' |
Definition at line 79 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::SCHEME_HTTP = 1 |
Definition at line 82 of file class.t3lib_utility_http.php.
| const t3lib_utility_Http::SCHEME_HTTPS = 2 |
Definition at line 83 of file class.t3lib_utility_http.php.
1.7.5.1