예제 #1
0
파일: Helper.php 프로젝트: aiesh/magento2
 /**
  * @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);
 }