コード例 #1
0
ファイル: Items.php プロジェクト: kidaa30/magento2-platformsh
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping
  * @param \Magento\Checkout\Model\Session $checkoutSession
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, \Magento\Checkout\Model\Session $checkoutSession, array $data = [])
 {
     $this->_multishipping = $multishipping;
     $this->_checkoutSession = $checkoutSession;
     parent::__construct($context, $data);
     $this->_isScopePrivate = true;
 }
コード例 #2
0
ファイル: Overview.php プロジェクト: zhangjiachao/magento2
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping
  * @param \Magento\Tax\Helper\Data $taxHelper
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, \Magento\Tax\Helper\Data $taxHelper, array $data = array())
 {
     $this->_taxHelper = $taxHelper;
     $this->_multishipping = $multishipping;
     parent::__construct($context, $data);
     $this->_isScopePrivate = true;
 }
コード例 #3
0
ファイル: Shipment.php プロジェクト: pradeep-wagento/magento2
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Payment\Helper\Data $paymentHelper
  * @param \Magento\Sales\Model\Order\Address\Renderer $addressRenderer
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Payment\Helper\Data $paymentHelper, \Magento\Sales\Model\Order\Address\Renderer $addressRenderer, array $data = [])
 {
     $this->paymentHelper = $paymentHelper;
     $this->coreRegistry = $registry;
     $this->addressRenderer = $addressRenderer;
     parent::__construct($context, $data);
 }
コード例 #4
0
ファイル: Addresses.php プロジェクト: aiesh/magento2
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Framework\Filter\Object\GridFactory $filterGridFactory
  * @param \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping
  * @param \Magento\Customer\Service\V1\CustomerAddressServiceInterface $customerAddressService
  * @param AddressConfig $addressConfig
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Filter\Object\GridFactory $filterGridFactory, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, \Magento\Customer\Service\V1\CustomerAddressServiceInterface $customerAddressService, AddressConfig $addressConfig, array $data = array())
 {
     $this->_filterGridFactory = $filterGridFactory;
     $this->_multishipping = $multishipping;
     $this->_customerAddressService = $customerAddressService;
     $this->_addressConfig = $addressConfig;
     parent::__construct($context, $data);
     $this->_isScopePrivate = true;
 }
コード例 #5
0
ファイル: Shipping.php プロジェクト: zhangjiachao/magento2
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Framework\Filter\Object\GridFactory $filterGridFactory
  * @param \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping
  * @param \Magento\Tax\Helper\Data $taxHelper
  * @param PriceCurrencyInterface $priceCurrency
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Filter\Object\GridFactory $filterGridFactory, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, \Magento\Tax\Helper\Data $taxHelper, PriceCurrencyInterface $priceCurrency, array $data = array())
 {
     $this->priceCurrency = $priceCurrency;
     $this->_taxHelper = $taxHelper;
     $this->_filterGridFactory = $filterGridFactory;
     $this->_multishipping = $multishipping;
     parent::__construct($context, $data);
     $this->_isScopePrivate = true;
 }
コード例 #6
0
ファイル: Overview.php プロジェクト: pradeep-wagento/magento2
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping
  * @param \Magento\Tax\Helper\Data $taxHelper
  * @param PriceCurrencyInterface $priceCurrency
  * @param \Magento\Quote\Model\Quote\TotalsCollector $totalsCollector
  * @param \Magento\Quote\Model\Quote\TotalsReader $totalsReader
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, \Magento\Tax\Helper\Data $taxHelper, PriceCurrencyInterface $priceCurrency, \Magento\Quote\Model\Quote\TotalsCollector $totalsCollector, \Magento\Quote\Model\Quote\TotalsReader $totalsReader, array $data = [])
 {
     $this->_taxHelper = $taxHelper;
     $this->_multishipping = $multishipping;
     $this->priceCurrency = $priceCurrency;
     parent::__construct($context, $data);
     $this->_isScopePrivate = true;
     $this->totalsCollector = $totalsCollector;
     $this->totalsReader = $totalsReader;
 }
コード例 #7
0
 /**
  * Constructor
  *
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Framework\Filter\DataObject\GridFactory $filterGridFactory
  * @param \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping
  * @param \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository
  * @param AddressConfig $addressConfig
  * @param \Magento\Customer\Model\Address\Mapper $addressMapper
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Filter\DataObject\GridFactory $filterGridFactory, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository, AddressConfig $addressConfig, \Magento\Customer\Model\Address\Mapper $addressMapper, array $data = [])
 {
     $this->_filterGridFactory = $filterGridFactory;
     $this->_multishipping = $multishipping;
     $this->customerRepository = $customerRepository;
     $this->_addressConfig = $addressConfig;
     parent::__construct($context, $data);
     $this->addressMapper = $addressMapper;
     $this->_isScopePrivate = true;
 }
コード例 #8
0
ファイル: Shipment.php プロジェクト: aiesh/magento2
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Payment\Helper\Data $paymentHelper
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Payment\Helper\Data $paymentHelper, array $data = array())
 {
     $this->_paymentHelper = $paymentHelper;
     $this->_coreRegistry = $registry;
     parent::__construct($context, $data);
 }
コード例 #9
0
ファイル: Items.php プロジェクト: tingyeeh/magento2
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Registry $registry, array $data = [])
 {
     $this->_coreRegistry = $registry;
     parent::__construct($context, $data);
 }
コード例 #10
0
ファイル: Info.php プロジェクト: aiesh/magento2
 /**
  * @param \Magento\Framework\View\Element\Template\Context $context
  * @param \Magento\Checkout\Model\Session $checkoutSession
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Checkout\Model\Session $checkoutSession, array $data = array())
 {
     $this->_checkoutSession = $checkoutSession;
     parent::__construct($context, $data);
     $this->_isScopePrivate = true;
 }