public function getRule() { if ($this->hasRule()) { return $this->getData('rule'); } if ($this->hasRuleId()) { return $this->setRule($this->getRuleId())->getRule(); } return parent::getRule(); }
/** * @return Aoe_FraudManager_Model_Rule_Abstract */ public function getRule() { return parent::getRule(); }