public function getFiles($path)
{
//$access = jarvesAcl::check(3, $path, 'read', true);
//if (!$access) return false;
$fs = $this->getAdapter($path);
$path = $this->normalizePath($path);
if ($path == '/trash') {
#return $this->getTrashFiles();
}
$items = $fs->getFiles($path);
if (!is_array($items)) {
return $items;
}
if (count($items) == 0) {
return array();
}
usort($items, function ($a, $b) {
return strnatcasecmp($a ? $a->getPath() : '', $b ? $b->getPath() : '');
});
return $items;
}