Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
MtdStart.php
Go to the documentation of this file.
1 <?php
7 
9 
15 class MtdStart extends \Magento\Config\Block\System\Config\Form\Field
16 {
22  {
23  $_days = [];
24  for ($i = 1; $i <= 31; $i++) {
25  $_days[$i] = $i < 10 ? '0' . $i : $i;
26  }
27 
28  $_daysHtml = $element->setStyle('width:50px;')->setValues($_days)->getElementHtml();
29 
30  return $_daysHtml;
31  }
32 }
$i
Definition: gallery.phtml:31
$element
Definition: element.phtml:12