Пример #1
0
 /**
  * @param \Magento\Framework\App\Resource $resource
  * @param string $modulePrefix
  */
 public function __construct(\Magento\Framework\App\Resource $resource, $modulePrefix = 'importexport')
 {
     parent::__construct($resource, $modulePrefix);
 }
Пример #2
0
 /**
  * Construct
  *
  * @param \Magento\Framework\App\ResourceConnection $resource
  * @param string $modulePrefix
  * @codeCoverageIgnore
  */
 public function __construct(\Magento\Framework\App\ResourceConnection $resource, $modulePrefix = 'Magento_Eav')
 {
     parent::__construct($resource, $modulePrefix);
 }
Пример #3
0
 /**
  * @param \Magento\Framework\App\Resource $resource
  * @param string $modulePrefix
  * @param \Magento\Framework\Stdlib\DateTime\DateTime $coreDate
  */
 public function __construct(\Magento\Framework\App\Resource $resource, $modulePrefix, \Magento\Framework\Stdlib\DateTime\DateTime $coreDate)
 {
     parent::__construct($resource, $modulePrefix);
     $this->_coreDate = $coreDate;
 }
Пример #4
0
 /**
  * @param \Magento\Framework\App\ResourceConnection $resource
  * @param \Magento\Reports\Model\ResourceModel\Helper $reportsResourceHelper
  * @param string $modulePrefix
  */
 public function __construct(\Magento\Framework\App\ResourceConnection $resource, \Magento\Reports\Model\ResourceModel\Helper $reportsResourceHelper, $modulePrefix = 'sales')
 {
     parent::__construct($resource, $modulePrefix);
     $this->_reportsResourceHelper = $reportsResourceHelper;
 }
Пример #5
0
 /**
  * @param \Magento\Framework\App\Resource $resource
  * @param string $modulePrefix
  */
 public function __construct(\Magento\Framework\App\Resource $resource, $modulePrefix = 'Magento_Search')
 {
     parent::__construct($resource, $modulePrefix);
 }