示例#1
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('rewardpoints/pointrules');
     //('rewardpoints/pointrules')->checkRule($to_validate);
     $this->_types = array(self::RULE_TYPE_CART => Mage::helper('rewardpoints')->__('Cart rule'), self::RULE_TYPE_DATAFLOW => Mage::helper('rewardpoints')->__('Import rule'));
     $this->_action_types = array(self::RULE_ACTION_TYPE_ADD => Mage::helper('rewardpoints')->__('Add / remove points'), self::RULE_ACTION_TYPE_DONTPROCESS => Mage::helper('rewardpoints')->__("Don't process points"));
 }
 /**
  * Init resource model and id field
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('catalogrule/rule');
     $this->setIdFieldName('rule_id');
 }
示例#3
0
 protected function _construct()
 {
     parent::_construct();
     $this->_init('xtento_orderexport/profile');
 }
示例#4
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('customercredit/creditcode');
 }
示例#5
0
文件: Rule.php 项目: rcclaudrey/dev
 public function _construct()
 {
     parent::_construct();
     $this->_init('amacart/rule');
 }
示例#6
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('advancednewsletter/automanagement');
 }
示例#7
0
 /**
  * Intialize model
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('enterprise_customersegment/segment');
 }
 public function _construct()
 {
     parent::_construct();
     $this->_init('awafptc/rule');
 }
示例#9
0
 /**
  * Intialize model
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('enterprise_reminder/rule');
 }
示例#10
0
文件: Rule.php 项目: bevello/bevello
 protected function _construct()
 {
     parent::_construct();
     $this->_init('bronto_reminder/rule');
 }
示例#11
0
文件: Rule.php 项目: relue/magento2
 protected function _construct()
 {
     parent::_construct();
     $this->_init('Mage_SalesRule_Model_Resource_Rule');
     $this->setIdFieldName('rule_id');
 }
示例#12
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('customerreward/rule');
     $this->setIdFieldName('rule_id');
 }
示例#13
0
 public function _construct()
 {
     Mage_Rule_Model_Rule::_construct();
     $this->_init('points/rule');
     $this->setIdFieldName('rule_id');
 }
示例#14
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('ambanners/rule');
 }
示例#15
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('affiliateplusprogram/program');
 }
示例#16
0
 protected function _construct()
 {
     parent::_construct();
     $this->_init('feedexport/rule');
     $this->setIdFieldName('rule_id');
 }
示例#17
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('amshiprestriction/rule');
 }
 public function _construct()
 {
     parent::_construct();
     $this->_init('rewardpointsreferfriends/rewardpointsspecialrefer');
     $this->setIdFieldName('special_refer_id');
 }