Class Transip_Forward
This class models a ForwardHost
public
|
#
__construct( string $domainName, string $forwardTo, string $forwardMethod = 'direct', string $frameTitle = '', string $frameIcon = '', boolean $forwardEverything = true, boolean $forwardSubdomains = false, string $forwardEmailTo = '' )
Constructs a Forward object. |
string |
FORWARDMETHOD_DIRECT
|
'direct' |
|
string |
FORWARDMETHOD_FRAME
|
'frame' |
public
string
|
$domainName |
|
#
Domain name to forward |
public
string
|
$forwardTo |
|
#
URL to forward to |
public
string
|
$forwardMethod |
|
#
Method of forwarding; either Forward::FORWARDMETHOD_DIRECT or Forward::FORWARDMETHOD_FRAME |
public
string
|
$frameTitle |
|
#
Frame title if forwardMethod is set to Forward::FORWARDMETHOD_FRAME |
public
string
|
$frameIcon |
|
#
Frame favicon if forwardMethod is set to Forward::FORWARDMETHOD_FRAME |
public
boolean
|
$forwardEverything |
|
#
Set to true to forward to preserve the URL info after the domain. For example, if set to true, http://www.sourcedomain.tld/test will be forwarded to http://www.targeturl.tld/test |
public
boolean
|
$forwardSubdomains |
|
#
Set to true if subdomains should be appended to the target URL. For example, if set to true, http://test.sourcedomain.tld/ will be forwarded to http://www.targeturl.tld/test |
public
string
|
$forwardEmailTo |
|
#
The e-mailaddress all emails to this forward are forwarded to. If empty, no e-mails are forwarded. |