ContactType
in package
implements
ContactTypeInterface
Class ContactType
Tags
Interfaces, Classes and Traits
- ContactTypeInterface
- Interface ContactTypeInterface
Table of Contents
- BCC = 'bcc'
- CC = 'cc'
- RECIPIENT = 'recipient'
- REPLY_TO = 'reply_to'
- SENDER = 'sender'
- Type Constants
- $type : string
- Contact type.
- __construct() : mixed
- Class Constructor
- __toString() : string
- Returns the contact type as a string.
Constants
BCC
public
mixed
BCC
= 'bcc'
CC
public
mixed
CC
= 'cc'
RECIPIENT
public
mixed
RECIPIENT
= 'recipient'
REPLY_TO
public
mixed
REPLY_TO
= 'reply_to'
SENDER
Type Constants
public
mixed
SENDER
= 'sender'
Properties
$type
Contact type.
protected
string
$type
Methods
__construct()
Class Constructor
public
__construct(string $p_type) : mixed
Parameters
- $p_type : string
-
Value has to be one of the declared constants, e.g. self::SENDER which value is 'sender'.
Tags
Return values
mixed —__toString()
Returns the contact type as a string.
public
__toString() : string
Return values
string —Equivalent string.