Class Luxor_Driver
Luxor_Driver:: defines an API for implementing storage backends for Luxor.
Methods summary
public
mixed
|
#
factory( string $source, array $driver = null, mixed $params = null )
Attempts to return a concrete Luxor_Driver instance based on $driver.
Attempts to return a concrete Luxor_Driver instance based on $driver.
Parameters
- $source
- <p>$driver The type of concrete Luxor_Driver subclass
to return. The is based on the storage
driver ($driver). The code is dynamically
included.</p>
- $driver
- <p>$params (optional) A hash containing any additional
configuration or connection parameters a
subclass might need.</p>
- $params
-
Returns
mixed The newly created concrete Luxor_Driver instance, or
false on an error.
|