XOOPS RMCommon Utilities
2.1.8.91RC
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Encoding.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* This file is part of SwiftMailer.
5
* (c) 2004-2009 Chris Corbyn
6
*
7
* For the full copyright and license information, please view the LICENSE
8
* file that was distributed with this source code.
9
*/
10
11
//@require 'Swift/DependencyContainer.php';
12
20
class
Swift_Encoding
21
{
22
28
public
static
function
get7BitEncoding
()
29
{
30
return
self::_lookup(
'mime.7bitcontentencoder'
);
31
}
32
38
public
static
function
get8BitEncoding
()
39
{
40
return
self::_lookup(
'mime.8bitcontentencoder'
);
41
}
42
48
public
static
function
getQpEncoding
()
49
{
50
return
self::_lookup(
'mime.qpcontentencoder'
);
51
}
52
58
public
static
function
getBase64Encoding
()
59
{
60
return
self::_lookup(
'mime.base64contentencoder'
);
61
}
62
63
// -- Private Static Methods
64
65
private
static
function
_lookup
($key)
66
{
67
return
Swift_DependencyContainer::getInstance
()->lookup($key);
68
}
69
70
}
L:
XOOPS_Allure
SVN_XOOPS2
RMC
rmcommon
trunk
rmcommon
class
swift
classes
Swift
Encoding.php
Generated on Sun Mar 17 2013 20:41:06 for XOOPS RMCommon Utilities by
1.8.3.1