XOOPS  2.6.0
Abstract.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
29 // Do not change the class name
31 {
37  public function __construct()
38  {
39  parent::__construct();
40  // It is supposed no need to change the charset
41  $this->charSet = strtolower(XoopsLocale::getCharset());
42  // You MUST specify the language code value so that the file exists: XOOPS_ROOT_PAT/class/mail/phpmailer/language/phpmailer.lang-["your-language-code"].php
43  $this->multimailer->SetLanguage('en');
44  }
45 
52  public function encodeFromName($text)
53  {
54  // Activate the following line if needed
55  // $text = "=?{$this->charSet}?B?".base64_encode($text)."?=";
56  return $text;
57  }
58 
65  public function encodeSubject($text)
66  {
67  // Activate the following line if needed
68  // $text = "=?{$this->charSet}?B?".base64_encode($text)."?=";
69  return $text;
70  }
71 }
$text
Definition: qrrender.php:27