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-sales
Model
Order
Pdf
Config.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Sales\Model\Order\Pdf
;
9
13
class
Config
14
{
18
protected
$_dataStorage
;
19
23
public
function
__construct
(\
Magento
\Framework\
Config
\
DataInterface
$dataStorage)
24
{
25
$this->_dataStorage = $dataStorage;
26
}
27
34
public
function
getRenderersPerProduct
($pageType)
35
{
36
return
$this->_dataStorage->get(
"renderers/{$pageType}"
, []);
37
}
38
44
public
function
getTotals
()
45
{
46
return
$this->_dataStorage->get(
'totals'
, []);
47
}
48
}
Magento\Sales\Model\Order\Pdf
Definition:
AbstractPdf.php:7
Magento\Sales\Model\Order\Pdf\Config\__construct
__construct(\Magento\Framework\Config\DataInterface $dataStorage)
Definition:
Config.php:23
Magento\Sales\Model\Order\Pdf\Config
Definition:
Config.php:13
Magento
Magento\Framework\App\Config\DataInterface
Definition:
DataInterface.php:14
Magento\Sales\Model\Order\Pdf\Config\$_dataStorage
$_dataStorage
Definition:
Config.php:18
Magento\Sales\Model\Order\Pdf\Config\getRenderersPerProduct
getRenderersPerProduct($pageType)
Definition:
Config.php:34
Magento\Sales\Model\Order\Pdf\Config\getTotals
getTotals()
Definition:
Config.php:44