public function __construct(Pap_Features_PerformanceRewards_Rule_Transaction $rule) { parent::__construct($rule); $this->sqlBuilder = new Gpf_SqlBuilder_SelectBuilder(); }
/** * * * @return Pap_Features_PerformanceRewards_Condition */ private function createCondition() { return Pap_Features_PerformanceRewards_Condition::create($this); }
public function __construct(Pap_Features_PerformanceRewards_Rule_Transaction $rule) { parent::__construct($rule); $this->params = new Pap_Stats_Params(); }
private function createConditionsRecordSet() { $recordset = new Gpf_Data_RecordSet(); $recordset->setHeader(array('id', 'name')); foreach(Pap_Features_PerformanceRewards_Condition::getAllConditions() as $code) { try { $recordset->add(array((string)$code, Pap_Features_PerformanceRewards_Condition::toString($code))); } catch (Pap_Features_PerformanceRewards_UnknownRuleException $e) {} } return $recordset; }