Class NRedirectingResponse


Redirects to new request.

NObject
   |
   --NRedirectingResponse

Implements interfaces:

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

Method Details

line 49

__construct

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

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

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