JFolder::files/1.5
From Joomla! Documentation
JFolder::files
Description
Utility function to read the files in a folder.
Description:JFolder::files [Edit Descripton]
public function files ( $path $filter= '.' $recurse=false $fullpath=false $exclude=array('.svn' 'CVS' )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | string | The path of the folder to read. | |
| $filter | string | '.' | A filter for file names. |
| $recurse | mixed | false | True to recursively search into sub-folders, or an integer to specify the maximum depth. |
| $fullpath | boolean | false | True to return the full path to the file. |
| $exclude | array | array('.svn', 'CVS') | Array with names of files which should not be shown in the result. |
- Returns array Files in the given folder.
- Defined on line 409 of libraries/joomla/filesystem/folder.php
- Since
- Referenced by
See also
-
JFolder::files on api.joomla.org
-
JFolder source code on JoomlaCode
-
Class JFolder
-
Subpackage Filesystem
- Other versions of JFolder::files
SeeAlso:JFolder::files [Edit See Also]
User contributed notes
<CodeExamplesForm />