$_params
$_params : array
Hash containing connection parameters.
Folks_Driver:: defines an API for implementing storage backends for Folks.
Copyright Obala d.o.o. (www.obala.si)
See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
factory(string $driver = null, array $params = null) : \Folks_Driver
Attempts to return a concrete Folks_Driver instance based on $driver.
string | $driver | The type of the concrete Folks_Driver subclas to return. The clas name is based on the storage driver ($driver). The code is dynamically included. |
array | $params | A hash containing any additional configuration or connection parameters a subclas might need. |
The newly created concrete Folks_Driver instance, or false on an error.