Chuyển đến nội dung
Tài liệu

Tra cứu lớp và hàm

FilenameFilter

Danh sách các phương thức công khai của lớp Zittme\Framework\Filters\FilenameFilter. Tài liệu này được tạo tự động từ mã nguồn lõi Zittme.

Nguồn: common/framework/filters/FilenameFilter.php

Phương thức công khai

  • 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.