protected function setVariableValues() { parent::setVariableValues(); $this->setVariable('weekstart', $this->getDayName(Gpf_Settings::get(Pap_Settings::NOTIFICATION_WEEKLY_REPORT_START_DAY))); $this->setVariable('weekend', $this->getDayName(Gpf_Settings::get(Pap_Settings::NOTIFICATION_WEEKLY_REPORT_SENT_ON))); }
public function __construct(Pap_Stats_Params $statsParams = null) { parent::__construct($statsParams); $this->subject = Gpf_Lang::_runtime('Monthly report'); }
private function sendAffReport(Pap_Mail_Reports_Report $report, Pap_Common_User $affiliate) { $report->setUser($affiliate); $report->addRecipient($affiliate->getEmail()); $report->sendNow(); }