FilesListingController: new controller to list current files
This controller is intended to be used in xmlHttpRequest entry points
to return a JSON document with the URL to a list of files.
For example, to return the URLs to every .txt files in current directory:
$controller = new FilesListingController( get_directory(__DIR__), 'txt' ); $controller->query()->show();