Documentation

Horde_Core_Factory_Share extends Horde_Core_Factory_Base
in package

A Horde_Injector:: based Horde_Share factory.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Tags
category

Horde

author

Michael J. Rubinsky mrubinsk@horde.org

Table of Contents

Properties

$_injector  : Horde_Injector
The injector.

Methods

__construct()  : mixed
Constructor.
create()  : Horde_Core_Share_Driver
Returns the Horde_Share_Base instance.
_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_Share_Base instance.

public create([string $app = null ][, string $driver = null ]) : Horde_Core_Share_Driver
Parameters
$app : string = null

The application scope to use, if not the current app.

$driver : string = null

The share driver. Either empty (use default driver from $conf) or a driver name.

Tags
throws
Horde_Exception
Return values
Horde_Core_Share_Driver

The Horde_Share 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