PHP Class Horde_Core_Factory_DbPear, 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.
Show file
Open project: horde/horde
Public Methods
Method Details
public create ( string $type = 'rw', string $app = 'horde', mixed $dtype = null ) : DB |
$type |
string |
Either 'read' or 'rw'. |
$app |
string |
The application. |
$dtype |
mixed |
The type. If this is an array, this is used as
the configuration array. |
return |
DB |
The singleton DB instance. |
getConfig()
public method