예제 #1
0
파일: Country.php 프로젝트: aiesh/magento2
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Backend\Model\Url $url
  * @param \Magento\Framework\View\Helper\Js $jsHelper
  * @param \Magento\Core\Helper\Data $coreHelper
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Backend\Model\Url $url, \Magento\Framework\View\Helper\Js $jsHelper, \Magento\Core\Helper\Data $coreHelper, array $data = array())
 {
     parent::__construct($context, $data);
     $this->_url = $url;
     $this->_jsHelper = $jsHelper;
     $this->_coreHelper = $coreHelper;
 }
예제 #2
0
파일: Reset.php 프로젝트: aiesh/magento2
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, array $data = array())
 {
     parent::__construct($context, $data);
 }
예제 #3
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Core\Model\File\Storage $fileStorage
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Core\Model\File\Storage $fileStorage, array $data = array())
 {
     $this->_fileStorage = $fileStorage;
     parent::__construct($context, $data);
 }
예제 #4
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Dhl\Model\Carrier $carrierDhl
  * @param \Magento\Shipping\Helper\Carrier $carrierHelper
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Dhl\Model\Carrier $carrierDhl, \Magento\Shipping\Helper\Carrier $carrierHelper, array $data = array())
 {
     $this->carrierDhl = $carrierDhl;
     $this->_carrierHelper = $carrierHelper;
     parent::__construct($context, $data);
 }
예제 #5
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Directory\Helper\Data $directoryHelper
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Directory\Helper\Data $directoryHelper, array $data = array())
 {
     $this->_directoryHelper = $directoryHelper;
     parent::__construct($context, $data);
 }