PHP Класс Swift_Preferences, Halite

Автор: Chris Corbyn
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
__construct ( ) Constructor not to be used

Описание методов

getInstance() публичный статический Метод

Gets the instance of Preferences.
public static getInstance ( ) : Swift_Preferences
Результат Swift_Preferences

setCacheType() публичный Метод

Set the type of cache to use (i.e. "disk" or "array").
public setCacheType ( string $type ) : Swift_Preferences
$type string
Результат Swift_Preferences

setCharset() публичный Метод

Set the default charset used.
public setCharset ( string $charset ) : Swift_Preferences
$charset string
Результат Swift_Preferences

setQPDotEscape() публичный Метод

Set the QuotedPrintable dot escaper preference.
public setQPDotEscape ( boolean $dotEscape ) : Swift_Preferences
$dotEscape boolean
Результат Swift_Preferences

setTempDir() публичный Метод

Set the directory where temporary files can be saved.
public setTempDir ( string $dir ) : Swift_Preferences
$dir string
Результат Swift_Preferences