Documentation

Horde_Core_Factory_MailBase extends Horde_Core_Factory_Injector
in package

A Horde_Injector based factory for creating a Horde_Mail_Transport object based on the master Horde mailer configuration.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

Properties

$_injector  : Horde_Injector
The injector.

Methods

__construct()  : mixed
Constructor.
create()  : Horde_Mail_Transport
Returns the Horde_Mail_Transport object for the default Horde mailer configuration.
_getDriverName()  : string
Return the classname of the driver to load.

Properties

$_injector

The injector.

protected Horde_Injector $_injector

Methods

__construct()

Constructor.

public __construct(Horde_Injector $injector) : mixed
Parameters
$injector : Horde_Injector

The injector to use.

create()

Returns the Horde_Mail_Transport object for the default Horde mailer configuration.

public create(Horde_Injector $injector) : Horde_Mail_Transport
Parameters
$injector : Horde_Injector
Tags
throws
Horde_Exception
Return values
Horde_Mail_Transport

The singleton instance.

_getDriverName()

Return the classname of the driver to load.

protected _getDriverName(string $driver, string $base) : string
Parameters
$driver : string

Driver name.

$base : string

The base classname.

Tags
throws
Horde_Exception
Return values
string

Classname.


        
On this page

Search results