PHP Class Horde_Core_Factory_ShareBase, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael J. Rubinsky ([email protected])
Inheritance: extends Horde_Core_Factory_Base
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_instances array Local cache of created share instances.
$_toCache array Cache of share entries.

Public Methods

Method Description
create ( string $app = null, string $driver = null ) : Horde_Share_Base Returns the share driver instance.
shutdown ( ) Shutdown function.

Method Details

create() public method

Returns the share driver instance.
public create ( string $app = null, string $driver = null ) : Horde_Share_Base
$app string The application scope of the share. If empty, default to current application.
$driver string The storage driver to use. If empty, use the globally configured storage driver.
return Horde_Share_Base The share driver instance.

shutdown() public method

Shutdown function.
public shutdown ( )

Property Details

$_instances protected_oe property

Local cache of created share instances.
protected array $_instances
return array

$_toCache protected_oe property

Cache of share entries.
protected array $_toCache
return array