Actions

API17

Difference between revisions of "JFolder::folders"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (moving preparation)
 
(2 intermediate revisions by one user not shown)
Line 63: Line 63:
 
* '''Since''' {{JVer|11.1 }}
 
* '''Since''' {{JVer|11.1 }}
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JTableMenu::check/11.1|JTableMenu::check]]
+
** [[API17:JTableMenu::check|JTableMenu::check]]
** [[JInstallerTemplate::discover/11.1|JInstallerTemplate::discover]]
+
** [[API17:JInstallerTemplate::discover|JInstallerTemplate::discover]]
** [[JInstallerPlugin::discover/11.1|JInstallerPlugin::discover]]
+
** [[API17:JInstallerPlugin::discover|JInstallerPlugin::discover]]
** [[JInstallerComponent::discover/11.1|JInstallerComponent::discover]]
+
** [[API17:JInstallerComponent::discover|JInstallerComponent::discover]]
** [[JInstallerModule::discover/11.1|JInstallerModule::discover]]
+
** [[API17:JInstallerModule::discover|JInstallerModule::discover]]
** [[JInstallerLanguage::discover/11.1|JInstallerLanguage::discover]]
+
** [[API17:JInstallerLanguage::discover|JInstallerLanguage::discover]]
** [[JCacheStorageCachelite::getAll/11.1|JCacheStorageCachelite::getAll]]
+
** [[API17:JCacheStorageCachelite::getAll|JCacheStorageCachelite::getAll]]
** [[JDatabase::getConnectors/11.1|JDatabase::getConnectors]]
+
** [[API17:JDatabase::getConnectors|JDatabase::getConnectors]]
** [[JFormFieldFolderList::getOptions/11.1|JFormFieldFolderList::getOptions]]
+
** [[API17:JFormFieldFolderList::getOptions|JFormFieldFolderList::getOptions]]
** [[JLanguage::parseLanguageFiles/11.1|JLanguage::parseLanguageFiles]]
+
** [[API17:JLanguage::parseLanguageFiles|JLanguage::parseLanguageFiles]]
** [[JInstallerHelper::unpack/11.1|JInstallerHelper::unpack]]
+
** [[API17:JInstallerHelper::unpack|JInstallerHelper::unpack]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JFolder::folders source code''' on [[jplatform:filesystem/folder.php#cl-498|BitBucket]]
 
* {{JVer|11.1}} '''JFolder::folders source code''' on [[jplatform:filesystem/folder.php#cl-498|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::folders|Other versions of JFolder::folders]]
+
* [[API17:JFolder::folders|Other versions of JFolder::folders]]
 
{{SeeAlso:JFolder::folders}}
 
{{SeeAlso:JFolder::folders}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 94: Line 94:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JFolder]][[Category:JFolder::folders]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:42, 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::folders

Description

Utility function to read the folders in a folder.

Description:JFolder::folders [Edit Descripton]

public static function folders (
        $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 folder 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 folders.
$exclude array array('.svn', 'CVS','.DS_Store','__MACOSX') Array with names of folders which should not be shown in the result.
$excludefilter array array('^\..*') Array with regular expressions matching folders which should not be shown in the result.

See also

SeeAlso:JFolder::folders [Edit See Also]

User contributed notes

<CodeExamplesForm />