/** * @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; }
/** * @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); }
/** * @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); }
/** * @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); }
/** * @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); }