Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (array $params) | |
getContent ($stream=null) | |
getSize () | |
getPart ($num) | |
![]() | |
__construct (array $params) | |
setPartClass ($class) | |
getPartClass () | |
isMultipart () | |
getContent () | |
getSize () | |
getPart ($num) | |
countParts () | |
getHeaders () | |
getHeader ($name, $format=null) | |
headerExists ($name) | |
getHeaderField ($name, $wantedPart=0, $firstName=0) | |
__get ($name) | |
__isset ($name) | |
__toString () | |
hasChildren () | |
getChildren () | |
valid () | |
next () | |
key () | |
current () | |
rewind () | |
Protected Attributes | |
$_contentPos = array() | |
$_partPos = array() | |
$_fh | |
![]() | |
$_headers | |
$_content | |
$_topLines = '' | |
$_parts = array() | |
$_countParts | |
$_iterationPos = 1 | |
$_mail | |
$_messageNum = 0 | |
$_partClass | |
Additional Inherited Members | |
![]() | |
_cacheContent () | |
_validateHeaders (array $headers, $assertNames=true) | |
__construct | ( | array | $params | ) |
Public constructor
This handler supports the following params:
array | $params | full message with or without headers |
Zend_Mail_Exception |
Definition at line 57 of file File.php.
getContent | ( | $stream = null | ) |
Body of part
If part is multipart the raw content of this part with all sub parts is returned
Zend_Mail_Exception |
getPart | ( | $num | ) |
Get part of multipart message
int | $num | number of part starting with 1 for first part |
Zend_Mail_Exception |
Implements Zend_Mail_Part_Interface.
Definition at line 184 of file File.php.
getSize | ( | ) |
Return size of part
Quite simple implemented currently (not decoding). Handle with care.
Implements Zend_Mail_Part_Interface.