Class Swift_Preferences
Inheritance | Swift_Preferences |
---|
Changes some global preference settings in Swift Mailer.
Public Methods
Method | Description | Defined By |
---|---|---|
getInstance() | Gets the instance of Preferences. | Swift_Preferences |
setCacheType() | Set the type of cache to use (i.e. "disk" or "array"). | Swift_Preferences |
setCharset() | Set the default charset used. | Swift_Preferences |
setQPDotEscape() | Set the QuotedPrintable dot escaper preference. | Swift_Preferences |
setTempDir() | Set the directory where temporary files can be saved. | Swift_Preferences |
Method Details
Gets the instance of Preferences.
public static Swift_Preferences getInstance ( ) |
Set the type of cache to use (i.e. "disk" or "array").
public Swift_Preferences setCacheType ( $type ) | ||
$type | string |
Set the default charset used.
public Swift_Preferences setCharset ( $charset ) | ||
$charset | string |
Set the QuotedPrintable dot escaper preference.
public Swift_Preferences setQPDotEscape ( $dotEscape ) | ||
$dotEscape | bool |
Set the directory where temporary files can be saved.
public Swift_Preferences setTempDir ( $dir ) | ||
$dir | string |