Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Data Class Reference
Inheritance diagram for Data:
AbstractHelper

Public Member Functions

 canSendNewOrderConfirmationEmail ($store=null)
 
 canSendNewOrderEmail ($store=null)
 
 canSendOrderCommentEmail ($store=null)
 
 canSendNewShipmentEmail ($store=null)
 
 canSendShipmentCommentEmail ($store=null)
 
 canSendNewInvoiceEmail ($store=null)
 
 canSendInvoiceCommentEmail ($store=null)
 
 canSendNewCreditmemoEmail ($store=null)
 
 canSendCreditmemoCommentEmail ($store=null)
 
- Public Member Functions inherited from AbstractHelper
 __construct (Context $context)
 
 isModuleOutputEnabled ($moduleName=null)
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractHelper
 _getRequest ()
 
 _getModuleName ()
 
 _getUrl ($route, $params=[])
 
- Protected Attributes inherited from AbstractHelper
 $_moduleName
 
 $_request
 
 $_moduleManager
 
 $_logger
 
 $_urlBuilder
 
 $_httpHeader
 
 $_eventManager
 
 $_remoteAddress
 
 $urlEncoder
 
 $urlDecoder
 
 $scopeConfig
 
 $_cacheConfig
 

Detailed Description

Sales module base helper

Author
Magento Core Team core@.nosp@m.mage.nosp@m.ntoco.nosp@m.mmer.nosp@m.ce.co.nosp@m.m

Definition at line 15 of file Data.php.

Member Function Documentation

◆ canSendCreditmemoCommentEmail()

canSendCreditmemoCommentEmail (   $store = null)

Check allow to send creditmemo comment email

Parameters
null | string | bool | int | Store$store
Returns
bool

Definition at line 139 of file Data.php.

140  {
141  return $this->scopeConfig->isSetFlag(
142  \Magento\Sales\Model\Order\Email\Container\CreditmemoCommentIdentity::XML_PATH_EMAIL_ENABLED,
143  \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
144  $store
145  );
146  }

◆ canSendInvoiceCommentEmail()

canSendInvoiceCommentEmail (   $store = null)

Check allow to send invoice comment email

Parameters
null | string | bool | int | Store$store
Returns
bool

Definition at line 109 of file Data.php.

110  {
111  return $this->scopeConfig->isSetFlag(
112  \Magento\Sales\Model\Order\Email\Container\InvoiceCommentIdentity::XML_PATH_EMAIL_ENABLED,
113  \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
114  $store
115  );
116  }

◆ canSendNewCreditmemoEmail()

canSendNewCreditmemoEmail (   $store = null)

Check allow to send new creditmemo email

Parameters
null | string | bool | int | Store$store
Returns
bool

Definition at line 124 of file Data.php.

125  {
126  return $this->scopeConfig->isSetFlag(
127  \Magento\Sales\Model\Order\Email\Container\CreditmemoIdentity::XML_PATH_EMAIL_ENABLED,
128  \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
129  $store
130  );
131  }

◆ canSendNewInvoiceEmail()

canSendNewInvoiceEmail (   $store = null)

Check allow to send new invoice email

Parameters
null | string | bool | int | Store$store
Returns
bool

Definition at line 94 of file Data.php.

95  {
96  return $this->scopeConfig->isSetFlag(
97  \Magento\Sales\Model\Order\Email\Container\InvoiceIdentity::XML_PATH_EMAIL_ENABLED,
98  \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
99  $store
100  );
101  }

◆ canSendNewOrderConfirmationEmail()

canSendNewOrderConfirmationEmail (   $store = null)

Check allow to send new order confirmation email

Parameters
null | string | bool | int | Store$store
Returns
bool

Definition at line 23 of file Data.php.

24  {
25  return $this->scopeConfig->isSetFlag(
26  \Magento\Sales\Model\Order\Email\Container\OrderIdentity::XML_PATH_EMAIL_ENABLED,
27  \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
28  $store
29  );
30  }

◆ canSendNewOrderEmail()

canSendNewOrderEmail (   $store = null)

Check allow to send new order email

Parameters
null | string | bool | int | Store$store
Returns
bool

Definition at line 38 of file Data.php.

39  {
41  }
canSendNewOrderConfirmationEmail($store=null)
Definition: Data.php:23

◆ canSendNewShipmentEmail()

canSendNewShipmentEmail (   $store = null)

Check allow to send new shipment email

Parameters
null | string | bool | int | Store$store
Returns
bool

Definition at line 64 of file Data.php.

65  {
66  return $this->scopeConfig->isSetFlag(
67  \Magento\Sales\Model\Order\Email\Container\ShipmentIdentity::XML_PATH_EMAIL_ENABLED,
68  \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
69  $store
70  );
71  }

◆ canSendOrderCommentEmail()

canSendOrderCommentEmail (   $store = null)

Check allow to send order comment email

Parameters
null | string | bool | int | Store$store
Returns
bool

Definition at line 49 of file Data.php.

50  {
51  return $this->scopeConfig->isSetFlag(
52  \Magento\Sales\Model\Order\Email\Container\OrderCommentIdentity::XML_PATH_EMAIL_ENABLED,
53  \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
54  $store
55  );
56  }

◆ canSendShipmentCommentEmail()

canSendShipmentCommentEmail (   $store = null)

Check allow to send shipment comment email

Parameters
null | string | bool | int | Store$store
Returns
bool

Definition at line 79 of file Data.php.

80  {
81  return $this->scopeConfig->isSetFlag(
82  \Magento\Sales\Model\Order\Email\Container\ShipmentCommentIdentity::XML_PATH_EMAIL_ENABLED,
83  \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
84  $store
85  );
86  }

The documentation for this class was generated from the following file: