PHP Class Agora_Factory_Driver, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Michael J. Rubinsky ([email protected])
Author: Vilius Ĺ umskas ([email protected])
Show file Open project: horde/horde

Public Methods

Method Description
__construct ( Horde_Injector $injector ) Constructor.
create ( string $scope = 'agora', integer $forum_id ) : Agora_Driver Return the Agora_Driver:: instance.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Injector $injector )
$injector Horde_Injector The injector to use.

create() public method

Return the Agora_Driver:: instance.
public create ( string $scope = 'agora', integer $forum_id ) : Agora_Driver
$scope string Instance scope
$forum_id integer Forum to link to
return Agora_Driver The singleton instance.