12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- /**
- * Tax Rate Titles Fieldset
- *
- * @author Magento Core Team <core@magentocommerce.com>
- */
- namespace Magento\Tax\Block\Adminhtml\Rate\Title;
- class Fieldset extends \Magento\Framework\Data\Form\Element\Fieldset
- {
- /**
- * @var \Magento\Tax\Block\Adminhtml\Rate\Title
- */
- protected $_title;
- /**
- * @param \Magento\Framework\Data\Form\Element\Factory $factoryElement
- * @param \Magento\Framework\Data\Form\Element\CollectionFactory $factoryCollection
- * @param \Magento\Framework\Escaper $escaper
- * @param \Magento\Tax\Block\Adminhtml\Rate\Title $title
- * @param array $data
- */
- public function __construct(
- \Magento\Framework\Data\Form\Element\Factory $factoryElement,
- \Magento\Framework\Data\Form\Element\CollectionFactory $factoryCollection,
- \Magento\Framework\Escaper $escaper,
- \Magento\Tax\Block\Adminhtml\Rate\Title $title,
- $data = []
- ) {
- $this->_title = $title;
- parent::__construct($factoryElement, $factoryCollection, $escaper, $data);
- }
- /**
- * @return string
- */
- public function getBasicChildrenHtml()
- {
- return $this->_title->toHtml();
- }
- }
|