Oihana PHP

FindFileOption uses ConstantsTrait

Enumeration of the option keys accepted by the `findFiles` function.

Use FindFilesOption instead. This class is a thin, value-identical alias kept for backward compatibility: every constant simply mirrors its FindFilesOption counterpart. It will be removed in a future major release.

Tags
author

Marc Alcaraz (ekameleon)

since
1.0.0
see
FindFilesOption

Table of Contents

Constants

FILTER  : string = \oihana\files\enums\FindFilesOption::FILTER
The optional function to filter all files.
FOLLOW_LINKS  : string = \oihana\files\enums\FindFilesOption::FOLLOW_LINKS
Indicates whether symbolic links should be followed.
INCLUDE_DOTS  : string = \oihana\files\enums\FindFilesOption::INCLUDE_DOTS
Indicates if the dot files are included.
MODE  : string = \oihana\files\enums\FindFilesOption::MODE
Filter mode ("files", "dirs" or "both").
ORDER  : string = \oihana\files\enums\FindFilesOption::ORDER
The order of the file sorting : default 'asc' or 'desc'.
PATTERN  : string = \oihana\files\enums\FindFilesOption::PATTERN
A pattern (a regexp, a glob, or a string) or an array of patterns.
RECURSIVE  : string = \oihana\files\enums\FindFilesOption::RECURSIVE
Indicates if all sub-directories are browsed.
SORT  : string = \oihana\files\enums\FindFilesOption::SORT
The optional sort option to sort all files.

Constants

On this page

Search results