XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
setCacheType ($type) | |
setCharset ($charset) | |
setTempDir ($dir) | |
Static Public Member Functions | |
static | getInstance () |
Private Member Functions | |
__construct () | |
Static Private Attributes | |
static | $_instance = null |
Definition at line 18 of file Preferences.php.
|
private |
Constructor not to be used
Definition at line 25 of file Preferences.php.
|
static |
Get a new instance of Preferences.
Definition at line 31 of file Preferences.php.
Swift_Preferences::setCacheType | ( | $type | ) |
Set the type of cache to use (i.e. "disk" or "array").
string | $type |
Definition at line 69 of file Preferences.php.
References $type, and Swift_DependencyContainer\getInstance().
Swift_Preferences::setCharset | ( | $charset | ) |
Set the default charset used.
string |
Definition at line 45 of file Preferences.php.
References Swift_DependencyContainer\getInstance().
Swift_Preferences::setTempDir | ( | $dir | ) |
Set the directory where temporary files can be saved.
string | $dir |
Definition at line 57 of file Preferences.php.
References $dir, and Swift_DependencyContainer\getInstance().
|
staticprivate |
Singleton instance
Definition at line 22 of file Preferences.php.