Documentation

Swift_Preferences
in package

Changes some global preference settings in Swift Mailer.

Tags
author

Chris Corbyn

Table of Contents

$instance  : mixed
Singleton instance
getInstance()  : self
Gets the instance of Preferences.
setCacheType()  : $this
Set the type of cache to use (i.e. "disk" or "array").
setCharset()  : $this
Set the default charset used.
setQPDotEscape()  : $this
Set the QuotedPrintable dot escaper preference.
setTempDir()  : $this
Set the directory where temporary files can be saved.
__construct()  : mixed
Constructor not to be used

Properties

$instance

Singleton instance

private static mixed $instance = ull

Methods

getInstance()

Gets the instance of Preferences.

public static getInstance() : self
Return values
self

setCacheType()

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

public setCacheType(string $type) : $this
Parameters
$type : string
Return values
$this

setCharset()

Set the default charset used.

public setCharset(string $charset) : $this
Parameters
$charset : string
Return values
$this

setQPDotEscape()

Set the QuotedPrintable dot escaper preference.

public setQPDotEscape(bool $dotEscape) : $this
Parameters
$dotEscape : bool
Return values
$this

setTempDir()

Set the directory where temporary files can be saved.

public setTempDir(string $dir) : $this
Parameters
$dir : string
Return values
$this

__construct()

Constructor not to be used

private __construct() : mixed
Return values
mixed

Search results