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
Grid
Column
Renderer
Blanknumber.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Reports\Block\Adminhtml\Grid\Column\Renderer
;
7
13
class
Blanknumber
extends
\Magento\Backend\Block\Widget\Grid\Column\Renderer\Number
14
{
20
protected
function
_getValue
(\
Magento
\Framework\DataObject
$row
)
21
{
22
$data
= parent::_getValue(
$row
);
23
if
(
$data
!==
null
) {
24
$value
=
$data
* 1;
25
return
$value
?
$value
:
''
;
// fixed for showing blank cell in grid
29
}
30
return
$this->
getColumn
()->getDefault();
31
}
32
}
Magento\Reports\Block\Adminhtml\Grid\Column\Renderer
Definition:
Blanknumber.php:6
Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer\getColumn
getColumn()
Definition:
AbstractRenderer.php:43
Magento\Reports\Block\Adminhtml\Grid\Column\Renderer\Blanknumber\_getValue
_getValue(\Magento\Framework\DataObject $row)
Definition:
Blanknumber.php:20
Magento\Reports\Block\Adminhtml\Grid\Column\Renderer\Blanknumber
Definition:
Blanknumber.php:13
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
$value
$value
Definition:
gender.phtml:16
Magento
$row
$row
Definition:
cart_rule_free_shipping.php:12