TypePart
Type part.
For all models that have a type
Tags
Table of Contents
- $type : string
- $typeDescription : string
- getType() : string
- Returns the type.
- getTypeDescription() : string
- Returns the type description.
- setType() : $this
- Sets the type.
- setTypeDescription() : $this
- Sets the description for the type.
Properties
$type
private
string
$type
= ''
$typeDescription
private
string
$typeDescription
= ''
Methods
getType()
Returns the type.
public
getType() : string
Return values
string —getTypeDescription()
Returns the type description.
public
getTypeDescription() : string
Return values
string —setType()
Sets the type.
public
setType(string $type[, string $description = '' ]) : $this
Parameters
- $type : string
- $description : string = ''
Return values
$this —setTypeDescription()
Sets the description for the type.
public
setTypeDescription(string $description) : $this
Parameters
- $description : string