Actions

API17

Difference between revisions of "JFolder::files"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (moving preparation)
 
(2 intermediate revisions by one user not shown)
Line 64: Line 64:
 
* '''Since''' {{JVer|11.1 }}
 
* '''Since''' {{JVer|11.1 }}
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JElementModuleLayouts::_getOptions/11.1|JElementModuleLayouts::_getOptions]]
+
** [[API17:JElementModuleLayouts::_getOptions|JElementModuleLayouts::_getOptions]]
** [[JElementComponentLayouts::_getOptions/11.1|JElementComponentLayouts::_getOptions]]
+
** [[API17:JElementComponentLayouts::_getOptions|JElementComponentLayouts::_getOptions]]
** [[JInstallerHelper::detectType/11.1|JInstallerHelper::detectType]]
+
** [[API17:JInstallerHelper::detectType|JInstallerHelper::detectType]]
** [[JInstallerPlugin::discover/11.1|JInstallerPlugin::discover]]
+
** [[API17:JInstallerPlugin::discover|JInstallerPlugin::discover]]
** [[JInstallerLibrary::discover/11.1|JInstallerLibrary::discover]]
+
** [[API17:JInstallerLibrary::discover|JInstallerLibrary::discover]]
** [[JInstaller::findManifest/11.1|JInstaller::findManifest]]
+
** [[API17:JInstaller::findManifest|JInstaller::findManifest]]
** [[JCacheStorageCachelite::getAll/11.1|JCacheStorageCachelite::getAll]]
+
** [[API17:JCacheStorageCachelite::getAll|JCacheStorageCachelite::getAll]]
** [[JFormFieldModuleLayout::getInput/11.1|JFormFieldModuleLayout::getInput]]
+
** [[API17:JFormFieldModuleLayout::getInput|JFormFieldModuleLayout::getInput]]
** [[JFormFieldComponentLayout::getInput/11.1|JFormFieldComponentLayout::getInput]]
+
** [[API17:JFormFieldComponentLayout::getInput|JFormFieldComponentLayout::getInput]]
** [[JFilesystemHelper::getJStreams/11.1|JFilesystemHelper::getJStreams]]
+
** [[API17:JFilesystemHelper::getJStreams|JFilesystemHelper::getJStreams]]
** [[JFormFieldFileList::getOptions/11.1|JFormFieldFileList::getOptions]]
+
** [[API17:JFormFieldFileList::getOptions|JFormFieldFileList::getOptions]]
** [[JSession::getStores/11.1|JSession::getStores]]
+
** [[API17:JSession::getStores|JSession::getStores]]
** [[JCache::getStores/11.1|JCache::getStores]]
+
** [[API17:JCache::getStores|JCache::getStores]]
** [[JHtmlList::images/11.1|JHtmlList::images]]
+
** [[API17:JHtmlList::images|JHtmlList::images]]
** [[JAdapter::loadAllAdapters/11.1|JAdapter::loadAllAdapters]]
+
** [[API17:JAdapter::loadAllAdapters|JAdapter::loadAllAdapters]]
** [[JInstaller::parseSchemaUpdates/11.1|JInstaller::parseSchemaUpdates]]
+
** [[API17:JInstaller::parseSchemaUpdates|JInstaller::parseSchemaUpdates]]
** [[JLanguage::parseXMLLanguageFiles/11.1|JLanguage::parseXMLLanguageFiles]]
+
** [[API17:JLanguage::parseXMLLanguageFiles|JLanguage::parseXMLLanguageFiles]]
** [[JInstaller::setSchemaVersion/11.1|JInstaller::setSchemaVersion]]
+
** [[API17:JInstaller::setSchemaVersion|JInstaller::setSchemaVersion]]
** [[JInstallerPlugin::uninstall/11.1|JInstallerPlugin::uninstall]]
+
** [[API17:JInstallerPlugin::uninstall|JInstallerPlugin::uninstall]]
** [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]]
+
** [[API17:JInstallerLibrary::uninstall|JInstallerLibrary::uninstall]]
** [[JInstallerFile::uninstall/11.1|JInstallerFile::uninstall]]
+
** [[API17:JInstallerFile::uninstall|JInstallerFile::uninstall]]
** [[JInstallerHelper::unpack/11.1|JInstallerHelper::unpack]]
+
** [[API17:JInstallerHelper::unpack|JInstallerHelper::unpack]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JFolder::files source code''' on [[jplatform:filesystem/folder.php#cl-454|BitBucket]]
 
* {{JVer|11.1}} '''JFolder::files source code''' on [[jplatform:filesystem/folder.php#cl-454|BitBucket]]
* {{JVer|11.1}} Class [[JFolder/11.1|JFolder]]
+
* {{JVer|11.1}} Class [[API17:JFolder|JFolder]]
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
* [[JFolder::files|Other versions of JFolder::files]]
+
* [[API17:JFolder::files|Other versions of JFolder::files]]
 
{{SeeAlso:JFolder::files}}
 
{{SeeAlso:JFolder::files}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 106: Line 106:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JFolder]][[Category:JFolder::files]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 20:41, 11 May 2013

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]

public static function 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

See also

SeeAlso:JFolder::files [Edit See Also]

User contributed notes

<CodeExamplesForm />