PHP Class Swift_Preferences, Halite

Author: Chris Corbyn
Afficher le fichier Open project: HaliteChallenge/Halite Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
__construct ( ) Constructor not to be used

Method Details

getInstance() public static méthode

Gets the instance of Preferences.
public static getInstance ( ) : Swift_Preferences
Résultat Swift_Preferences

setCacheType() public méthode

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

setCharset() public méthode

Set the default charset used.
public setCharset ( string $charset ) : Swift_Preferences
$charset string
Résultat Swift_Preferences

setQPDotEscape() public méthode

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

setTempDir() public méthode

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