ContactName
in package
implements
ContactNameInterface
Class ContactName
Contact name will be the display name for an EmailContact object.
Tags
Interfaces, Classes and Traits
- ContactNameInterface
- Interface ContactNameInterface
Table of Contents
- MAX_LENGTH = 128
- Maximum name length constant.
- $contactName : string
- Contact name.
- __construct() : mixed
- Constructor
- __toString() : string
- Returns the contact name as a string.
Constants
MAX_LENGTH
Maximum name length constant.
public
int
MAX_LENGTH
= 128
Properties
$contactName
Contact name.
protected
string
$contactName
Methods
__construct()
Constructor
public
__construct(string $p_contactName) : mixed
Executes the validation checks upon the contact name.
Parameters
- $p_contactName : string
-
Contact name.
Tags
Return values
mixed —__toString()
Returns the contact name as a string.
public
__toString() : string
Return values
string —Equivalent string.