Actions

API17

Difference between revisions of "JFolder::files"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 55: Line 55:
 
array Files in the given folder.
 
array Files in the given folder.
 
===Defined in===
 
===Defined in===
libraries/joomla/filesystem/folder.php
+
libraries/joomla/filesystem/folder.php (line 456)
 +
* see source code in [[jplatform:filesystem/folder.php#cl-456|BitBucket]]
 
===Referenced by===
 
===Referenced by===
* [[JElementModuleLayouts/_getOptions/11.1|JElementModuleLayouts::_getOptions]]
+
* [[JElementModuleLayouts::_getOptions/11.1|JElementModuleLayouts::_getOptions]]
* [[JElementComponentLayouts/_getOptions/11.1|JElementComponentLayouts::_getOptions]]
+
* [[JElementComponentLayouts::_getOptions/11.1|JElementComponentLayouts::_getOptions]]
* [[JInstallerHelper/detectType/11.1|JInstallerHelper::detectType]]
+
* [[JInstallerHelper::detectType/11.1|JInstallerHelper::detectType]]
* [[JInstallerPlugin/discover/11.1|JInstallerPlugin::discover]]
+
* [[JInstallerPlugin::discover/11.1|JInstallerPlugin::discover]]
* [[JInstallerLibrary/discover/11.1|JInstallerLibrary::discover]]
+
* [[JInstallerLibrary::discover/11.1|JInstallerLibrary::discover]]
* [[JInstaller/findManifest/11.1|JInstaller::findManifest]]
+
* [[JInstaller::findManifest/11.1|JInstaller::findManifest]]
* [[JCacheStorageCachelite/getAll/11.1|JCacheStorageCachelite::getAll]]
+
* [[JCacheStorageCachelite::getAll/11.1|JCacheStorageCachelite::getAll]]
* [[JDatabase/getConnectors/11.1|JDatabase::getConnectors]]
+
* [[JDatabase::getConnectors/11.1|JDatabase::getConnectors]]
* [[JFormFieldModuleLayout/getInput/11.1|JFormFieldModuleLayout::getInput]]
+
* [[JFormFieldModuleLayout::getInput/11.1|JFormFieldModuleLayout::getInput]]
* [[JFormFieldComponentLayout/getInput/11.1|JFormFieldComponentLayout::getInput]]
+
* [[JFormFieldComponentLayout::getInput/11.1|JFormFieldComponentLayout::getInput]]
* [[JFilesystemHelper/getJStreams/11.1|JFilesystemHelper::getJStreams]]
+
* [[JFilesystemHelper::getJStreams/11.1|JFilesystemHelper::getJStreams]]
* [[JFormFieldFileList/getOptions/11.1|JFormFieldFileList::getOptions]]
+
* [[JFormFieldFileList::getOptions/11.1|JFormFieldFileList::getOptions]]
* [[JSession/getStores/11.1|JSession::getStores]]
+
* [[JSession::getStores/11.1|JSession::getStores]]
* [[JCache/getStores/11.1|JCache::getStores]]
+
* [[JCache::getStores/11.1|JCache::getStores]]
* [[JHtmlList/images/11.1|JHtmlList::images]]
+
* [[JHtmlList::images/11.1|JHtmlList::images]]
* [[JAdapter/loadAllAdapters/11.1|JAdapter::loadAllAdapters]]
+
* [[JAdapter::loadAllAdapters/11.1|JAdapter::loadAllAdapters]]
* [[JInstaller/parseSchemaUpdates/11.1|JInstaller::parseSchemaUpdates]]
+
* [[JInstaller::parseSchemaUpdates/11.1|JInstaller::parseSchemaUpdates]]
* [[JLanguage/parseXMLLanguageFiles/11.1|JLanguage::parseXMLLanguageFiles]]
+
* [[JLanguage::parseXMLLanguageFiles/11.1|JLanguage::parseXMLLanguageFiles]]
* [[JInstaller/setSchemaVersion/11.1|JInstaller::setSchemaVersion]]
+
* [[JInstaller::setSchemaVersion/11.1|JInstaller::setSchemaVersion]]
* [[JInstallerPlugin/uninstall/11.1|JInstallerPlugin::uninstall]]
+
* [[JInstallerPlugin::uninstall/11.1|JInstallerPlugin::uninstall]]
* [[JInstallerLibrary/uninstall/11.1|JInstallerLibrary::uninstall]]
+
* [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]]
* [[JInstallerFile/uninstall/11.1|JInstallerFile::uninstall]]
+
* [[JInstallerFile::uninstall/11.1|JInstallerFile::uninstall]]
* [[JInstallerHelper/unpack/11.1|JInstallerHelper::unpack]]
+
* [[JInstallerHelper::unpack/11.1|JInstallerHelper::unpack]]
 
===See also===
 
===See also===
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Revision as of 20:32, 23 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JFolder::files

Description

Utility function to read the files in a folder.

Description:JFolder::files [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JFolder::files ($path, $filter= '.', $recurse=false, $full=false, $exclude=array('.svn', 'CVS','.DS_Store','__MACOSX'), $excludefilter=array('^\..*','.*~'))
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.
$full boolean false True to return the full path to the file.
$exclude array array('.svn', 'CVS','.DS_Store','__MACOSX') Array with names of files which should not be shown in the result.
$excludefilter array array('^\..*','.*~') Array of filter to exclude

Returns

array Files in the given folder.

Defined in

libraries/joomla/filesystem/folder.php (line 456)

Referenced by

See also

[Edit See Also]

SeeAlso:JFolder::files

Examples

<CodeExamplesForm />