PHP Class Swift_Preferences, Halite

Author: Chris Corbyn
Datei anzeigen Open project: HaliteChallenge/Halite Class Usage Examples

Public Methods

Method Description
getInstance ( ) : Swift_Preferences Gets the instance of Preferences.
setCacheType ( string $type ) : Swift_Preferences Set the type of cache to use (i.e. "disk" or "array").
setCharset ( string $charset ) : Swift_Preferences Set the default charset used.
setQPDotEscape ( boolean $dotEscape ) : Swift_Preferences Set the QuotedPrintable dot escaper preference.
setTempDir ( string $dir ) : Swift_Preferences Set the directory where temporary files can be saved.

Private Methods

Method Description
__construct ( ) Constructor not to be used

Method Details

getInstance() public static method

Gets the instance of Preferences.
public static getInstance ( ) : Swift_Preferences
return Swift_Preferences

setCacheType() public method

Set the type of cache to use (i.e. "disk" or "array").
public setCacheType ( string $type ) : Swift_Preferences
$type string
return Swift_Preferences

setCharset() public method

Set the default charset used.
public setCharset ( string $charset ) : Swift_Preferences
$charset string
return Swift_Preferences

setQPDotEscape() public method

Set the QuotedPrintable dot escaper preference.
public setQPDotEscape ( boolean $dotEscape ) : Swift_Preferences
$dotEscape boolean
return Swift_Preferences

setTempDir() public method

Set the directory where temporary files can be saved.
public setTempDir ( string $dir ) : Swift_Preferences
$dir string
return Swift_Preferences