\midcom_response_relocate

Wrapper for HTTP relocate responses

Summary

Methods
Properties
Constants
__get()
__set()
set_data()
__construct()
send()
$encoding
$code
$_data
$url
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$encoding

$encoding : string

Character encoding to use

Type

string — Character encoding

$code

$code : integer

Response code to use

Type

integer — HTTP response code

$_data

$_data : array

The data to be transmitted

Type

array

$url

$url : string

The URL to redirect to

Type

string — The URL to redirect to

Methods

__get()

__get(  $name) 

Parameters

$name

__set()

__set(  $name,   $value) 

Parameters

$name
$value

set_data()

set_data(  $data) 

Parameters

$data

__construct()

__construct(  $url,   $code = 302) 

Parameters

$url
$code

send()

send()