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
module-payment
Block
Info
Instructions.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Payment\Block\Info
;
7
14
class
Instructions
extends
\Magento\Payment\Block\Info
15
{
21
protected
$_instructions
;
22
26
protected
$_template
=
'Magento_Payment::info/instructions.phtml'
;
27
34
public
function
getInstructions
()
35
{
36
if
($this->_instructions ===
null
) {
37
$this->_instructions = $this->
getInfo
()->getAdditionalInformation(
38
'instructions'
39
) ?: trim($this->
getMethod
()->getConfigData(
'instructions'
));
40
}
41
return
$this->_instructions
;
42
}
43
}
Magento\Payment\Block\Info\Instructions
Definition:
Instructions.php:14
Magento\Payment\Block\Info
Definition:
Info.php:14
Magento\Payment\Block\Info
Definition:
AbstractContainer.php:6
Magento\Payment\Block\Info\Instructions\$_instructions
$_instructions
Definition:
Instructions.php:21
Magento\Payment\Block\Info\getInfo
getInfo()
Definition:
Info.php:34
Magento\Payment\Block\Info\Instructions\$_template
$_template
Definition:
Instructions.php:26
Magento\Payment\Block\Info\Instructions\getInstructions
getInstructions()
Definition:
Instructions.php:34
Magento\Payment\Block\Info\getMethod
getMethod()
Definition:
Info.php:50