Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Scheduled.php
Go to the documentation of this file.
1 <?php
7 
8 class Scheduled extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer
9 {
16  public function render(\Magento\Framework\DataObject $row)
17  {
18  if ($this->_getValue($row)) {
19  $class = 'grid-severity-notice';
20  $text = __('Update by Schedule');
21  } else {
22  $class = 'grid-severity-major';
23  $text = __('Update on Save');
24  }
25  return '<span class="' . $class . '"><span>' . $text . '</span></span>';
26  }
27 }
__()
Definition: __.php:13
endifif( $block->getLastPageNum()>1)( 'Page') ?></strong >< ul class $text
Definition: pager.phtml:43
$_option $_optionId $class
Definition: date.phtml:13