Swift
[ class tree: Swift ] [ index: Swift ] [ all elements ]

Class: Swift_Preferences

Source Location: /vendors/swift/classes/Swift/Preferences.php

Class Overview


Changes some global preference settings in Swift Mailer.


Author(s):

  • Chris Corbyn

Methods



Class Details

[line 18]
Changes some global preference settings in Swift Mailer.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


static method getInstance [line 31]

static Swift_Preferences getInstance( )

Get a new instance of Preferences.



Tags:

access:  public


[ Top ]

method setCacheType [line 69]

Swift_Preferences setCacheType( string $type)

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



Tags:

access:  public


Parameters:

string   $type  

[ Top ]

method setCharset [line 45]

Swift_Preferences setCharset( string $charset)

Set the default charset used.



Tags:

access:  public


Parameters:

string   $charset  

[ Top ]

method setTempDir [line 57]

Swift_Preferences setTempDir( string $dir)

Set the directory where temporary files can be saved.



Tags:

access:  public


Parameters:

string   $dir  

[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:34:04 -0500 by phpDocumentor 1.4.3