Ejemplo n.º 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');
 }
Ejemplo n.º 3
0
 protected function _construct()
 {
     parent::_construct();
     $this->_init('xtento_orderexport/profile');
 }
Ejemplo n.º 4
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('customercredit/creditcode');
 }
Ejemplo n.º 5
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('amacart/rule');
 }
Ejemplo n.º 6
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('advancednewsletter/automanagement');
 }
Ejemplo n.º 7
0
 /**
  * Intialize model
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('enterprise_customersegment/segment');
 }
Ejemplo n.º 8
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('awafptc/rule');
 }
Ejemplo n.º 9
0
 /**
  * Intialize model
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('enterprise_reminder/rule');
 }
Ejemplo n.º 10
0
 protected function _construct()
 {
     parent::_construct();
     $this->_init('bronto_reminder/rule');
 }
Ejemplo n.º 11
0
 protected function _construct()
 {
     parent::_construct();
     $this->_init('Mage_SalesRule_Model_Resource_Rule');
     $this->setIdFieldName('rule_id');
 }
Ejemplo n.º 12
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('customerreward/rule');
     $this->setIdFieldName('rule_id');
 }
Ejemplo n.º 13
0
 public function _construct()
 {
     Mage_Rule_Model_Rule::_construct();
     $this->_init('points/rule');
     $this->setIdFieldName('rule_id');
 }
Ejemplo n.º 14
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('ambanners/rule');
 }
Ejemplo n.º 15
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('affiliateplusprogram/program');
 }
Ejemplo n.º 16
0
 protected function _construct()
 {
     parent::_construct();
     $this->_init('feedexport/rule');
     $this->setIdFieldName('rule_id');
 }
Ejemplo n.º 17
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('amshiprestriction/rule');
 }
Ejemplo n.º 18
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('rewardpointsreferfriends/rewardpointsspecialrefer');
     $this->setIdFieldName('special_refer_id');
 }