Actions

API17

Difference between revisions of "JFolder::folders"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 55: Line 55:
 
array Folders in the given folder.
 
array Folders in the given folder.
 
===Defined in===
 
===Defined in===
libraries/joomla/filesystem/folder.php
+
libraries/joomla/filesystem/folder.php (line 499)
 +
* see source code in [[jplatform:filesystem/folder.php#cl-499|BitBucket]]
 
===Referenced by===
 
===Referenced by===
* [[JTableMenu/check/11.1|JTableMenu::check]]
+
* [[JTableMenu::check/11.1|JTableMenu::check]]
* [[JInstallerTemplate/discover/11.1|JInstallerTemplate::discover]]
+
* [[JInstallerTemplate::discover/11.1|JInstallerTemplate::discover]]
* [[JInstallerPlugin/discover/11.1|JInstallerPlugin::discover]]
+
* [[JInstallerPlugin::discover/11.1|JInstallerPlugin::discover]]
* [[JInstallerComponent/discover/11.1|JInstallerComponent::discover]]
+
* [[JInstallerComponent::discover/11.1|JInstallerComponent::discover]]
* [[JInstallerModule/discover/11.1|JInstallerModule::discover]]
+
* [[JInstallerModule::discover/11.1|JInstallerModule::discover]]
* [[JInstallerLanguage/discover/11.1|JInstallerLanguage::discover]]
+
* [[JInstallerLanguage::discover/11.1|JInstallerLanguage::discover]]
* [[JCacheStorageCachelite/getAll/11.1|JCacheStorageCachelite::getAll]]
+
* [[JCacheStorageCachelite::getAll/11.1|JCacheStorageCachelite::getAll]]
* [[JFormFieldFolderList/getOptions/11.1|JFormFieldFolderList::getOptions]]
+
* [[JFormFieldFolderList::getOptions/11.1|JFormFieldFolderList::getOptions]]
* [[JLanguage/parseLanguageFiles/11.1|JLanguage::parseLanguageFiles]]
+
* [[JLanguage::parseLanguageFiles/11.1|JLanguage::parseLanguageFiles]]
* [[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::folders

Description

Utility function to read the folders in a folder.

Description:JFolder::folders [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JFolder::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.

Returns

array Folders in the given folder.

Defined in

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

Referenced by

See also

[Edit See Also]

SeeAlso:JFolder::folders

Examples

<CodeExamplesForm />