Redirects are handled through exceptions.
More...
Detailed Description
Redirects are handled through exceptions.
This way, calling functions can properly react to redirects.
Use KWeb::$inst->redirect() to throw the exception If you caught an exception, use redirect() to run it.
Constructor & Destructor Documentation
KWebException_Redirect::__construct |
( |
$ |
url, |
|
|
$ |
response = '302 Found' , |
|
|
$ |
checkError = true |
|
) |
| |
Member Function Documentation
KWebException_Redirect::redirect |
( |
| ) |
|
Field Documentation
KWebException_Redirect::$checkError |
KWebException_Redirect::$response |
KWebException_Redirect::$url |
The documentation for this class was generated from the following file: