| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 109 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
RedirectResponse:: (4 methods):
__construct()
create()
getTargetUrl()
setTargetUrl()
Class: RedirectResponse - X-Ref
RedirectResponse represents an HTTP response doing a redirect.| __construct($url, $status = 302, $headers = []) X-Ref |
| Creates a redirect response so that it conforms to the rules defined for a redirect status code. param: string $url The URL to redirect to. The URL should be a full URL, with schema etc., param: int $status The status code (302 by default) param: array $headers The headers (Location is always set to the given URL) |
| create($url = '', $status = 302, $headers = []) X-Ref |
| Factory method for chainability. param: string $url The url to redirect to param: int $status The response status code param: array $headers An array of response headers return: static |
| getTargetUrl() X-Ref |
| Returns the target URL. return: string target URL |
| setTargetUrl($url) X-Ref |
| Sets the redirect target of this response. param: string $url The URL to redirect to return: $this |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |