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'); }
protected function _construct() { parent::_construct(); $this->_init('xtento_orderexport/profile'); }
public function _construct() { parent::_construct(); $this->_init('customercredit/creditcode'); }
public function _construct() { parent::_construct(); $this->_init('amacart/rule'); }
public function _construct() { parent::_construct(); $this->_init('advancednewsletter/automanagement'); }
/** * Intialize model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('enterprise_customersegment/segment'); }
public function _construct() { parent::_construct(); $this->_init('awafptc/rule'); }
/** * Intialize model * * @return void */ protected function _construct() { parent::_construct(); $this->_init('enterprise_reminder/rule'); }
protected function _construct() { parent::_construct(); $this->_init('bronto_reminder/rule'); }
protected function _construct() { parent::_construct(); $this->_init('Mage_SalesRule_Model_Resource_Rule'); $this->setIdFieldName('rule_id'); }
public function _construct() { parent::_construct(); $this->_init('customerreward/rule'); $this->setIdFieldName('rule_id'); }
public function _construct() { Mage_Rule_Model_Rule::_construct(); $this->_init('points/rule'); $this->setIdFieldName('rule_id'); }
public function _construct() { parent::_construct(); $this->_init('ambanners/rule'); }
public function _construct() { parent::_construct(); $this->_init('affiliateplusprogram/program'); }
protected function _construct() { parent::_construct(); $this->_init('feedexport/rule'); $this->setIdFieldName('rule_id'); }
public function _construct() { parent::_construct(); $this->_init('amshiprestriction/rule'); }
public function _construct() { parent::_construct(); $this->_init('rewardpointsreferfriends/rewardpointsspecialrefer'); $this->setIdFieldName('special_refer_id'); }