Class Swift_Preferences

InheritanceSwift_Preferences

Changes some global preference settings in Swift Mailer.

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

getInstance() public static method

Gets the instance of Preferences.

public static Swift_Preferences getInstance ( )
setCacheType() public method

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

public Swift_Preferences setCacheType ( $type )
$type string
setCharset() public method

Set the default charset used.

public Swift_Preferences setCharset ( $charset )
$charset string
setQPDotEscape() public method

Set the QuotedPrintable dot escaper preference.

public Swift_Preferences setQPDotEscape ( $dotEscape )
$dotEscape bool
setTempDir() public method

Set the directory where temporary files can be saved.

public Swift_Preferences setTempDir ( $dir )
$dir string