Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
zendframework1
library
Zend
Mail
Message
File.php
Go to the documentation of this file.
1
<?php
26
#require_once 'Zend/Mail/Part/File.php';
27
31
#require_once 'Zend/Mail/Message/Interface.php';
32
39
class
Zend_Mail_Message_File
extends
Zend_Mail_Part_File
implements
Zend_Mail_Message_Interface
40
{
45
protected
$_flags
= array();
46
56
public
function
__construct
(array
$params
)
57
{
58
if
(!empty(
$params
[
'flags'
])) {
59
// set key and value to the same value for easy lookup
60
$this->_flags = array_combine(
$params
[
'flags'
],
$params
[
'flags'
]);
61
}
62
63
parent::__construct(
$params
);
64
}
65
71
public
function
getTopLines
()
72
{
73
return
$this->_topLines
;
74
}
75
82
public
function
hasFlag
($flag)
83
{
84
return
isset($this->_flags[$flag]);
85
}
86
92
public
function
getFlags
()
93
{
94
return
$this->_flags
;
95
}
96
}
Zend_Mail_Part\$_topLines
$_topLines
Definition:
Part.php:68
Zend_Mail_Message_File\hasFlag
hasFlag($flag)
Definition:
File.php:82
Zend_Mail_Message_File
Definition:
File.php:39
Zend_Mail_Message_File\$_flags
$_flags
Definition:
File.php:45
Zend_Mail_Message_File\__construct
__construct(array $params)
Definition:
File.php:56
Zend_Mail_Part_File
Definition:
File.php:40
Zend_Mail_Message_File\getFlags
getFlags()
Definition:
File.php:92
$params
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
Definition:
website.php:18
Zend_Mail_Message_Interface
Definition:
Interface.php:32
Zend_Mail_Message_File\getTopLines
getTopLines()
Definition:
File.php:71