private static function FlmngrServer::reqFileList in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7
1 call to FlmngrServer::reqFileList()
- FlmngrServer::flmngrRequest in vendor/
edsdk/ flmngr-server-php/ src/ FlmngrServer.php
File
- vendor/
edsdk/ flmngr-server-php/ src/ FlmngrServer.php, line 223
Class
Namespace
EdSDK\FlmngrServerCode
private static function reqFileList($config) {
$path = $_POST['d'];
try {
$fileSystem = new FMDiskFileSystem($config);
$files = $fileSystem
->getFiles($path);
return new Response(NULL, $files);
} catch (MessageException $e) {
return new Response($e
->getFailMessage(), NULL);
}
}