Function EmailIntegration->_imap_get_mime_type
Definitions
sources/mail_integration.php
- Get the mime type for a part of the IMAP structure.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$structure | object | No | No | required parameter | N/A | N/A | Structure |
Returns
- Mime type
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the mime type for a part of the IMAP structure.
*
* @param object $structure Structure
* @return string Mime type
*/
protected function _imap_get_mime_type(object $structure) : string
* Get the mime type for a part of the IMAP structure.
*
* @param object $structure Structure
* @return string Mime type
*/
protected function _imap_get_mime_type(object $structure) : string