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-reports
Block
Adminhtml
Product
Downloads
Renderer
Purchases.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Reports\Block\Adminhtml\Product\Downloads\Renderer
;
7
13
class
Purchases
extends
\Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer
14
{
21
public
function
render
(\
Magento
\Framework\DataObject
$row
)
22
{
23
if
((
$value
=
$row
->getData($this->getColumn()->getIndex())) > 0) {
24
return
$value
;
25
}
26
return
__
(
'Unlimited'
);
27
}
28
}
Magento\Reports\Block\Adminhtml\Product\Downloads\Renderer\Purchases
Definition:
Purchases.php:13
__
__()
Definition:
__.php:13
$value
$value
Definition:
gender.phtml:16
Magento\Reports\Block\Adminhtml\Product\Downloads\Renderer
Definition:
Purchases.php:6
Magento
Magento\Reports\Block\Adminhtml\Product\Downloads\Renderer\Purchases\render
render(\Magento\Framework\DataObject $row)
Definition:
Purchases.php:21
$row
$row
Definition:
cart_rule_free_shipping.php:12