/** * Constructor * Configures collection * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magefan\\Blog\\Model\\Category', 'Magefan\\Blog\\Model\\ResourceModel\\Category'); $this->_map['fields']['category_id'] = 'main_table.category_id'; $this->_map['fields']['store'] = 'store_table.store_id'; }
/** * Constructor * Configures collection * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\Newsletter\\Model\\Subscriber', 'Magento\\Newsletter\\Model\\ResourceModel\\Subscriber'); $this->_queueLinkTable = $this->getTable('newsletter_queue_link'); $this->_storeTable = $this->getTable('store'); $this->_map['fields']['type'] = $this->getResource()->getConnection()->getCheckSql('main_table.customer_id = 0', 1, 2); $this->_map['fields']['website_id'] = 'store.website_id'; $this->_map['fields']['group_id'] = 'store.group_id'; $this->_map['fields']['store_id'] = 'main_table.store_id'; }
/** * Define resource model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\Widget\\Model\\Layout\\Update', 'Magento\\Widget\\Model\\ResourceModel\\Layout\\Update'); }
/** * {@inheritdoc} */ protected function _construct() { parent::_construct(); $this->_init('Magento\\Sales\\Model\\Order', 'Magento\\Sales\\Model\\ResourceModel\\Order'); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\SalesRule\\Model\\Coupon', 'Magento\\SalesRule\\Model\\ResourceModel\\Coupon'); }
/** * Init collection by setting model and resource model classes */ protected function _construct() { parent::_construct(); $this->_init('Revolve\\RevoSlider\\Model\\Slider', 'Revolve\\RevoSlider\\Model\\ResourceModel\\Slider'); }
/** * Define resource model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\Variable\\Model\\Variable', 'Magento\\Variable\\Model\\ResourceModel\\Variable'); }
/** * @return void * @codeCoverageIgnore */ protected function _construct() { parent::_construct(); $this->_init('Magento\\CatalogRule\\Model\\Rule\\Product\\Price', 'Magento\\CatalogRule\\Model\\ResourceModel\\Rule\\Product\\Price'); }
/** * Define resource model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\Widget\Model\Layout\Link', 'Magento\Widget\Model\ResourceModel\Layout\Link'); }
/** * Init collection by setting model and resource model classes */ protected function _construct() { parent::_construct(); $this->_init('MeetMagentoPL\\AdminGridStarterKit\\Model\\Recipe', 'MeetMagentoPL\\AdminGridStarterKit\\Model\\ResourceModel\\Recipe'); }
/** * Constructor * Configures collection * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magefan\\LoginAsCustomer\\Model\\Login', 'Magefan\\LoginAsCustomer\\Model\\ResourceModel\\Login'); }
/** * Define resource model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('ShipperHQ\\Shipper\\Model\\Synchronize', 'ShipperHQ\\Shipper\\Model\\ResourceModel\\Synchronize'); }
/** * Define resource model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('ShipperHQ\\Logger\\Model\\Log', 'ShipperHQ\\Logger\\Model\\ResourceModel\\Log'); }
protected function _construct() { $this->_init('ISM\\Blog\\Model\\Post', 'ISM\\Blog\\Model\\ResourceModel\\Post'); parent::_construct(); }
/** * Constructor * Configures collection * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magefan\\Blog\\Model\\Author', 'Magefan\\Blog\\Model\\ResourceModel\\Author'); }