Class RedirectingResponse (namespace Nette\Application)


Redirects to new request.

Object
   |
   --RedirectingResponse

Implements interfaces:

Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Application/Responses/RedirectingResponse.php (line 35)
Public Method Summary
RedirectingResponse
__construct (string $uri, [int $code = IHttpResponse::S302_FOUND])
int
getCode ()
string
getUri ()
void
send ()
Sends response to output.
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()

Method Details

line 49

__construct

public RedirectingResponse __construct (string $uri, [int $code = IHttpResponse::S302_FOUND])

Input
string $uri URI
int $code HTTP code 3xx
Output
RedirectingResponse  

line 70

getCode

public int getCode ()

Output
int  

line 60

getUri

public string getUri ()

Output
string  

line 81

send

public void send ()

Sends response to output.

Implementation of:

Output
void