JFolder::files/1.5

From Joomla! Documentation
Jump to: navigation, search

Joomla 1.5 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.

See also

SeeAlso:JFolder::files [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox