◆ getCookieName()
Retrieve Key Name for Cookie
- See also
- self::COOKIE_NAME
- Returns
- string
Definition at line 143 of file Data.php.
◆ getEmailTemplate()
getEmailTemplate |
( |
|
$store = null | ) |
|
Retrieve Email Template
- Parameters
-
- Returns
- mixed
Definition at line 128 of file Data.php.
130 return $this->scopeConfig->getValue(
131 self::XML_PATH_EMAIL_TEMPLATE,
132 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE,
◆ getLimitBy()
getLimitBy |
( |
|
$store = null | ) |
|
Retrieve Limit Sending By
- Parameters
-
- Returns
- int
Definition at line 113 of file Data.php.
115 return (
int)$this->scopeConfig->getValue(
116 self::XML_PATH_LIMIT_BY,
117 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE,
◆ getMaxEmailPerPeriod()
getMaxEmailPerPeriod |
( |
|
$store = null | ) |
|
Retrieve Max Products Sent in 1 Hour
- Parameters
-
- Returns
- int
Definition at line 88 of file Data.php.
90 return (
int)$this->scopeConfig->getValue(
91 self::XML_PATH_MAX_PER_HOUR,
92 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE,
◆ getMaxRecipients()
getMaxRecipients |
( |
|
$store = null | ) |
|
Retrieve Max Recipients
- Parameters
-
- Returns
- int
Definition at line 73 of file Data.php.
75 return (
int)$this->scopeConfig->getValue(
76 self::XML_PATH_MAX_RECIPIENTS,
77 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE,
◆ getPeriod()
Retrieve Limitation Period in seconds (1 hour)
- Returns
- int
Definition at line 102 of file Data.php.
◆ isAllowForGuest()
isAllowForGuest |
( |
|
$store = null | ) |
|
Check allow send email for guest
- Parameters
-
- Returns
- bool
Definition at line 58 of file Data.php.
60 return $this->scopeConfig->isSetFlag(
61 self::XML_PATH_ALLOW_FOR_GUEST,
62 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE,
◆ isEnabled()
isEnabled |
( |
|
$store = null | ) |
|
Check is enabled Module
- Parameters
-
- Returns
- bool
Definition at line 43 of file Data.php.
45 return $this->scopeConfig->isSetFlag(
46 self::XML_PATH_ENABLED,
47 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE,
◆ CHECK_COOKIE
◆ CHECK_IP
◆ COOKIE_NAME
const COOKIE_NAME = 'stf' |
◆ XML_PATH_ALLOW_FOR_GUEST
const XML_PATH_ALLOW_FOR_GUEST = 'sendfriend/email/allow_guest' |
◆ XML_PATH_EMAIL_TEMPLATE
const XML_PATH_EMAIL_TEMPLATE = 'sendfriend/email/template' |
◆ XML_PATH_ENABLED
const XML_PATH_ENABLED = 'sendfriend/email/enabled' |
◆ XML_PATH_LIMIT_BY
const XML_PATH_LIMIT_BY = 'sendfriend/email/check_by' |
◆ XML_PATH_MAX_PER_HOUR
const XML_PATH_MAX_PER_HOUR = 'sendfriend/email/max_per_hour' |
◆ XML_PATH_MAX_RECIPIENTS
const XML_PATH_MAX_RECIPIENTS = 'sendfriend/email/max_recipients' |
The documentation for this class was generated from the following file:
- vendor/magento/module-send-friend/Helper/Data.php