Oihana PHP

FindFileOption uses ConstantsTrait

FileExtension

Enumeration class that defines various options to use in the findFiles function.

Tags
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Constants

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

Constants

FILTER

The optional function to filter all files.

public mixed FILTER = 'filter'

Indicates whether symbolic links should be followed.

public mixed FOLLOW_LINKS = 'followLinks'

INCLUDE_DOTS

Indicates if the dot files are included.

public mixed INCLUDE_DOTS = 'includeDots'

MODE

Filter mode ("files", "dirs" or "both").

public mixed MODE = 'mode'

ORDER

The order of the file sorting : default 'asc' or 'desc'.

public mixed ORDER = 'order'

PATTERN

A pattern (a regexp, a glob, or a string) or an array of patterns.

public mixed PATTERN = 'pattern'

RECURSIVE

Indicates if all sub-directories are browsed.

public mixed RECURSIVE = 'recursive'

SORT

The optional sort option to sort all files.

public mixed SORT = 'sort'

        
On this page

Search results