\Colibri\IO\FileSystemFinder

Класс помогающий искать файлы и директории

Summary

Methods
Properties
Constants
__construct()
Files()
Directories()
Children()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

Конструктор

Files()

Files(string  $path, string  $match = '', boolean  $sortField = false, boolean  $sortType = false) : \Colibri\Collections\ArrayList

Найти файлы

Parameters

string $path

путь к папке

string $match

регулярное выражение

boolean $sortField

поле для сориторовки

boolean $sortType

тип сортировки

Returns

\Colibri\Collections\ArrayList

Directories()

Directories(string  $path, boolean  $sortField = false, boolean  $sortType = false) : \Colibri\Collections\ArrayList

Найти директории

Parameters

string $path

путь к папке

boolean $sortField

поле для сортировки

boolean $sortType

типа сортировки

Returns

\Colibri\Collections\ArrayList

Children()

Children(string  $path) : \Colibri\Collections\ArrayList

Вернуть папки в директории

Parameters

string $path

путь к директории

Returns

\Colibri\Collections\ArrayList