GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • CodeIgniter v4.7 API

This view

  • Original page
  • New address

GeezerVison is showing codeigniter4.github.io — CodeIgniter v4.7 API

Menu

Namespaces

CodeIgniter

  • API
  • Autoloader
  • Cache
  • CLI
  • Commands
  • Config
  • Cookie
  • Database
  • DataCaster
  • DataConverter
  • Debug
  • Email
  • Encryption
  • Entity
  • Events
  • Exceptions
  • Files
  • Filters
  • Format
  • Helpers
  • Honeypot
  • HTTP
  • I18n
  • Images
  • Language
  • Log
  • Modules
  • Pager
  • Publisher
  • RESTful
  • Router
  • Security
  • Session
  • Test
  • Throttle
  • Traits
  • Typography
  • Validation
  • View

Packages

Application

Reports

Deprecated

Errors

Markers

Indices

Files

  • CodeIgniter
  • HTTP
  • Exceptions

RedirectException extends RuntimeException
in package
  • Application
implements ExceptionInterface, ResponsableInterface, HTTPExceptionInterface

RedirectException.php : 27

RedirectException

Table of Contents

Interfaces

ExceptionInterface
Provides a domain-level interface for broad capture of all HTTP-related exceptions.
ResponsableInterface
HTTPExceptionInterface
Interface for Exceptions that has exception code as HTTP status code.

Properties

$code  : int
HTTP status code for redirects
$response  : ResponseInterface|null

Methods

__construct()  : mixed
getResponse()  : ResponseInterface

Properties

$code

RedirectException.php : 34

HTTP status code for redirects

protected int $code = 302

$response

RedirectException.php : 36
protected ResponseInterface|null $response = null

Methods

__construct()

RedirectException.php : 42
public __construct([ResponseInterface|string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$message : ResponseInterface|string = ''

Response object or a string containing a relative URI.

$code : int = 0

HTTP status code to redirect if $message is a string.

$previous : Throwable|null = null

getResponse()

RedirectException.php : 71
public getResponse() : ResponseInterface
Return values
ResponseInterface
On this page
  • Table Of Contents
    • Properties
    • Methods
  • Properties
    • $code
    • $response
  • Methods
    • __construct()
    • getResponse()
    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.