/** * Construct. */ public function _construct() { $this->defaultOptions = $this->rulesType->defaultOptions(); $this->conditionMap = ['eq' => 'neq', 'neq' => 'eq', 'gteq' => 'lteq', 'lteq' => 'gteq', 'gt' => 'lt', 'lt' => 'gt', 'like' => 'nlike', 'nlike' => 'like']; $this->attributeMapForQuote = ['method' => 'method', 'shipping_method' => 'shipping_method', 'country_id' => 'country_id', 'city' => 'city', 'region_id' => 'region_id', 'customer_group_id' => 'main_table.customer_group_id', 'coupon_code' => 'main_table.coupon_code', 'subtotal' => 'main_table.subtotal', 'grand_total' => 'main_table.grand_total', 'items_qty' => 'main_table.items_qty', 'customer_email' => 'main_table.customer_email']; $this->attributeMapForOrder = ['method' => 'method', 'shipping_method' => 'main_table.shipping_method', 'country_id' => 'country_id', 'city' => 'city', 'region_id' => 'region_id', 'customer_group_id' => 'main_table.customer_group_id', 'coupon_code' => 'main_table.coupon_code', 'subtotal' => 'main_table.subtotal', 'grand_total' => 'main_table.grand_total', 'items_qty' => 'items_qty', 'customer_email' => 'main_table.customer_email']; parent::_construct(); $this->_init('Dotdigitalgroup\\Email\\Model\\ResourceModel\\Rules'); }
/** * constructor */ public function _construct() { $this->_objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $this->_defaultOptions = $this->_objectManager->create('Dotdigitalgroup\\Email\\Model\\Adminhtml\\Source\\Rules\\Type')->defaultOptions(); $this->_conditionMap = array('eq' => 'neq', 'neq' => 'eq', 'gteq' => 'lteq', 'lteq' => 'gteq', 'gt' => 'lt', 'lt' => 'gt', 'like' => 'nlike', 'nlike' => 'like'); $this->_attributeMapForQuote = array('method' => 'method', 'shipping_method' => 'shipping_method', 'country_id' => 'country_id', 'city' => 'city', 'region_id' => 'region_id', 'customer_group_id' => 'main_table.customer_group_id', 'coupon_code' => 'main_table.coupon_code', 'subtotal' => 'main_table.subtotal', 'grand_total' => 'main_table.grand_total', 'items_qty' => 'main_table.items_qty', 'customer_email' => 'main_table.customer_email'); $this->_attributeMapForOrder = array('method' => 'method', 'shipping_method' => 'main_table.shipping_method', 'country_id' => 'country_id', 'city' => 'city', 'region_id' => 'region_id', 'customer_group_id' => 'main_table.customer_group_id', 'coupon_code' => 'main_table.coupon_code', 'subtotal' => 'main_table.subtotal', 'grand_total' => 'main_table.grand_total', 'items_qty' => 'items_qty', 'customer_email' => 'main_table.customer_email'); parent::_construct(); $this->_init('Dotdigitalgroup\\Email\\Model\\Resource\\Rules'); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Ebizmarts\\AbandonedCart\\Model\\ResourceModel\\Popup'); }
/** * Resource model initialization. */ protected function _construct() { $this->_init('ISM\\Blog\\Model\\ResourceModel\\Post'); parent::_construct(); }
/** * Initialize resource model * * @return void */ protected function _construct() { $this->_init('Magento\\Bundle\\Model\\Resource\\Selection'); parent::_construct(); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\SalesRule\\Model\\Resource\\Coupon'); }
/** * @return void */ protected function _construct() { $this->_init('Magento\\Catalog\\Model\\Resource\\Product\\Option'); parent::_construct(); }
/** * Initialize resource model * * @return void */ protected function _construct() { $this->_init('Magento\\Sales\\Model\\Resource\\Order\\Payment\\Transaction'); parent::_construct(); }
/** * Define resource model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\Log\\Model\\Resource\\Customer'); }
/** * Initialize resource model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\Newsletter\\Model\\ResourceModel\\Queue'); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Signifyd\\Connect\\Model\\Resource\\Casedata'); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Ebizmarts\\Mandrill\\Model\\ResourceModel\\Unsubscribe'); }
/** * Initialize resource model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\Integration\Model\ResourceModel\Oauth\Consumer'); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Emizentech\\ShopByBrand\\Model\\ResourceModel\\Items'); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('TanDinh\\Banner\\Model\\Resource\\Banners'); }
/** * Enter description here... * * @return void */ protected function _construct() { $this->_init('Magento\\Downloadable\\Model\\ResourceModel\\Link\\Purchased'); parent::_construct(); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Pagseguro\\Magento2\\Model\\Resource\\Items'); }
/** * Constructor. */ public function _construct() { parent::_construct(); $this->_init('Dotdigitalgroup\\Email\\Model\\ResourceModel\\Review'); }
/** * Internal Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\Variable\\Model\\ResourceModel\\Variable'); }
/** * Model construct that should be used for object initialization * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\GoogleOptimizer\\Model\\ResourceModel\\Code'); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Lapisbard\\StoreLocator\\Model\\ResourceModel\\Locations'); }
/** * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\GoogleShopping\\Model\\Resource\\Item'); }
/** * Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Ebizmarts\\Mandrill\\Model\\Resource\\Mailsent'); }
/** * Internal Constructor * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\Widget\\Model\\ResourceModel\\Widget\\Instance'); $this->_layoutHandles = ['anchor_categories' => self::ANCHOR_CATEGORY_LAYOUT_HANDLE, 'notanchor_categories' => self::NOTANCHOR_CATEGORY_LAYOUT_HANDLE, 'all_products' => self::PRODUCT_LAYOUT_HANDLE, 'all_pages' => self::DEFAULT_LAYOUT_HANDLE]; $this->_specificEntitiesLayoutHandles = ['anchor_categories' => self::SINGLE_CATEGORY_LAYOUT_HANDLE, 'notanchor_categories' => self::SINGLE_CATEGORY_LAYOUT_HANDLE, 'all_products' => self::SINGLE_PRODUCT_LAYOUT_HANLDE]; foreach (array_keys($this->_productType->getTypes()) as $typeId) { $layoutHandle = str_replace('{{TYPE}}', $typeId, self::PRODUCT_TYPE_LAYOUT_HANDLE); $this->_layoutHandles[$typeId . '_products'] = $layoutHandle; $this->_specificEntitiesLayoutHandles[$typeId . '_products'] = self::SINGLE_PRODUCT_LAYOUT_HANLDE; } }
/** * Initialize resource * * @return void */ protected function _construct() { $this->_init('Magento\\Downloadable\\Model\\Resource\\Sample'); parent::_construct(); }
/** * Initialize resource model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('Magento\\Integration\\Model\\ResourceModel\\Integration'); }
/** * Initialize resource model * * @return null */ protected function _construct() { $this->_init('Magento\\Paypal\\Model\\Resource\\Payment\\Transaction'); return parent::_construct(); }