private function getEmailFooter() { if (is_null(self::$emailFooterTemplate)) { $file_path = dirname(__FILE__) . "/emailFooter.html"; if (file_exists($file_path)) { $file_content = file_get_contents($file_path); self::$emailFooterTemplate = $file_content; } } $forumsLink = kConf::get('forum_url'); $footer = vsprintf(self::$emailFooterTemplate, array($forumsLink)); return $footer; }
private function getEmailFooter() { if (is_null(self::$emailFooterTemplate)) { $file_path = dirname(__FILE__) . "/emailFooter.html"; if (file_exists($file_path)) { $file_content = file_get_contents($file_path); self::$emailFooterTemplate = $file_content; } } $footer = vsprintf(self::$emailFooterTemplate, array(KBatchBase::$taskConfig->params->forumUrl)); return $footer; }