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