XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
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
30
class
Xoops_Locale_Mailer_Abstract
extends
XoopsMailer
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
}
XoopsMailer
Definition:
xoopsmailer.php:33
Xoops_Locale_Mailer_Abstract
Definition:
Abstract.php:30
$text
$text
Definition:
qrrender.php:27
Xoops_Locale_Mailer_Abstract\encodeSubject
encodeSubject($text)
Definition:
Abstract.php:65
Xoops_Locale_Abstract\getCharset
static getCharset()
Definition:
Abstract.php:52
Xoops_Locale_Mailer_Abstract\__construct
__construct()
Definition:
Abstract.php:37
Xoops_Locale_Mailer_Abstract\encodeFromName
encodeFromName($text)
Definition:
Abstract.php:52
usr64
htdocs
xoops_lib
Xoops
Locale
Mailer
Abstract.php
Generated on Fri May 22 2015 03:07:05 for XOOPS by
1.8.9.1