コード例 #1
0
ファイル: Option.php プロジェクト: pradeep-wagento/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->_init('Magento\\Catalog\\Model\\ResourceModel\\Product\\Option');
     parent::_construct();
 }
コード例 #2
0
 /**
  * Initialize resource model
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_init('Magento\\Sales\\Model\\Resource\\Order\\Payment\\Transaction');
     parent::_construct();
 }
コード例 #3
0
ファイル: Sample.php プロジェクト: pradeep-wagento/magento2
 /**
  * Initialize resource
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_init('Magento\\Downloadable\\Model\\ResourceModel\\Sample');
     parent::_construct();
 }
コード例 #4
0
 /**
  * Initialize resource model
  *
  * @return void
  */
 protected function _construct()
 {
     $this->_init('Magento\\Bundle\\Model\\ResourceModel\\Option');
     parent::_construct();
 }
コード例 #5
0
 /**
  * Constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('Magento\\SalesRule\\Model\\ResourceModel\\Coupon');
 }