$_params
$_params : array
Hash containing parameters.
Luxor repository implementation for a simple filesystem hierarchy.
$Horde: luxor/lib/Files/plain.php,v 1.18 2006/05/23 02:27:39 selsky Exp $
factory(string $driver, array $params = array()) : mixed
Attempts to return a concrete Luxor_Files instance based on $driver.
string | $driver | The type of concrete Luxor_Files subclass to return. The is based on the repository driver ($driver). The code is dynamically included. |
array | $params | (optional) A hash containing any additional configuration or connection parameters a subclass might need. |
The newly created concrete Luxor_Files instance, or false on an error.
getDir(string $path, $release = '') : array
Returns a directory's content. Backup files are skipped and directories suffixed with a slash.
string | $path | The directory to list. |
$release |
An array containing all directories and files of the directory or PEAR_Error if the directory couldn't be read.