PHP Class Horde_Core_Factory_Mail, horde

Since: 2.5.0
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Core_Factory_Base
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Methods

Method Description
create ( array $config = null ) : Horde_Mail_Transport Return the Horde_Mail instance.
getConfig ( ) : array Return the mailer configuration.

Method Details

create() public method

Return the Horde_Mail instance.
public create ( array $config = null ) : Horde_Mail_Transport
$config array If null, use Horde defaults. Otherwise, an array with two keys:
  - params: (array) Configuration parameters.
  - transport: (string) Transport driver.
return Horde_Mail_Transport The singleton instance.

getConfig() public method

Return the mailer configuration.
public getConfig ( ) : array
return array Two-element array: transport driver (string) and configuration parameters (array).