Recommend this page to a friend! |
Classes of Ravi Kumar | PHP SPL File Find | README.md | Download |
|
DownloadSPL FindThis package provides specialized Iterator classes for finding files and directories.
MethodsIt uses template and fluent design pattern.
extensionThis is used to filter the files on the basis of extensions of the file.
sortThis is used to sort the files. <br> const SORT_BY_NAME = 1 <br> const SORT_BY_NAT_NAME = 2
limitThis is used to limit the output files.
sortByNameFilter files by name
sortByNaturalNameFilter files by natural name
sortByTypeFilter by file or directory
sortByAccessedTimeFilter files by last accessed time
sortByChangedTimeFilter files by last changed time
sortByModifiedTimeFilter files by last modified time
onlyFilesFilter only files
onlyDirectoriesFilter only directories
depthFilter files by depth level
sizeFilter files by size
LicenseReleased under the MIT license<br> Copyright (c) 2014 Ravi Kumar |