FilenameFilter
List of public methods of the Zittme\Framework\Filters\FilenameFilter class. This document was automatically generated from the Zittme core source.
Source: common/framework/filters/FilenameFilter.php
Public methods
static function clean(string $filename)- Remove illegal and dangerous characters from a filename.
static function cleanPath(string $path)- Clean a path to remove ./, ../, trailing slashes, etc.
static function isDirectDownload(string $filename, bool $include_multimedia = true)- Check if a file has an extension that would allow direct download.