TYPO3  7.6
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
Swift_Preferences Class Reference

Public Member Functions

 setCharset ($charset)
 
 setTempDir ($dir)
 
 setCacheType ($type)
 
 setQPDotEscape ($dotEscape)
 

Static Public Member Functions

static getInstance ()
 

Private Member Functions

 __construct ()
 

Static Private Attributes

static $_instance = null
 

Detailed Description

Changes some global preference settings in Swift Mailer.

Author
Chris Corbyn

Definition at line 16 of file classes/Swift/Preferences.php.

Constructor & Destructor Documentation

__construct ( )
private

Constructor not to be used

Definition at line 22 of file classes/Swift/Preferences.php.

Member Function Documentation

static getInstance ( )
static

Gets the instance of Preferences.

Returns
Swift_Preferences

Definition at line 31 of file classes/Swift/Preferences.php.

setCacheType (   $type)

Set the type of cache to use (i.e. "disk" or "array").

Parameters
string$type
Returns
Swift_Preferences

Definition at line 77 of file classes/Swift/Preferences.php.

References Swift_DependencyContainer\getInstance().

setCharset (   $charset)

Set the default charset used.

Parameters
string$charset
Returns
Swift_Preferences

Definition at line 47 of file classes/Swift/Preferences.php.

References Swift_DependencyContainer\getInstance().

setQPDotEscape (   $dotEscape)

Set the QuotedPrintable dot escaper preference.

Parameters
bool$dotEscape
Returns
Swift_Preferences

Definition at line 92 of file classes/Swift/Preferences.php.

References Swift_DependencyContainer\getInstance().

setTempDir (   $dir)

Set the directory where temporary files can be saved.

Parameters
string$dir
Returns
Swift_Preferences

Definition at line 62 of file classes/Swift/Preferences.php.

References Swift_DependencyContainer\getInstance().

Member Data Documentation

$_instance = null
staticprivate

Singleton instance

Definition at line 19 of file classes/Swift/Preferences.php.