JFolder::_items
Function to read the files/folders in a folder.
Signature
protected function _items(string
$path,
string
$filter,
mixed
$recurse,
boolean
$full,
array
$exclude,
string
$excludefilter_string,
boolean
$findfiles )
Parameters
-
$path
- The path of the folder to read.
-
$filter
- A filter for file names.
-
$recurse
- True to recursively search into sub-folders, or an integer to specify the maximum depth.
-
$full
- True to return the full path to the file.
-
$exclude
- Array with names of files which should not be shown in the result.
-
$excludefilter_string
- Regexp of files to exclude
-
$findfiles
- True to read the files, false to read the folders
Returns
- array
- Files.