Fully Qualified Name: | Laminas\Mail\Header\ContentType |
Implements: | UnstructuredInterface |
Name | Description | Defined By |
---|---|---|
addParameter() | Add a parameter pair | ContentType |
fromString() | ContentType | |
getEncoding() | ContentType | |
getFieldName() | ContentType | |
getFieldValue() | ContentType | |
getParameter() | Get a parameter by name | ContentType |
getParameters() | Get all parameters | ContentType |
getType() | Retrieve the content type | ContentType |
removeParameter() | Remove a named parameter | ContentType |
setEncoding() | ContentType | |
setType() | Set the content type | ContentType |
toString() | ContentType |
Add a parameter pair
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$value | string |
Returns: \ContentType
Parameter Name | Type | Description |
---|---|---|
$headerLine |
Returns: void
Returns: void
Returns: void
Parameter Name | Type | Description |
---|---|---|
$format |
Returns: void
Get a parameter by name
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: null|string
Get all parameters
Returns: array
Retrieve the content type
Returns: string
Remove a named parameter
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: bool
Parameter Name | Type | Description |
---|---|---|
$encoding |
Returns: void
Set the content type
Parameter Name | Type | Description |
---|---|---|
$type | string |
Returns: \ContentType
Returns: void