Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Used.php
Go to the documentation of this file.
1 <?php
7 
13 class Used extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text
14 {
19  public function render(\Magento\Framework\DataObject $row)
20  {
21  $value = (int)$row->getData($this->getColumn()->getIndex());
22  return empty($value) ? __('No') : __('Yes');
23  }
24 }
__()
Definition: __.php:13
$value
Definition: gender.phtml:16