Difference between revisions of "JFolder::listFolderTree"

From Joomla! Documentation

(Bulk upload by Doxiki2)
(Layout updates)
Line 50: Line 50:
array Folders in the given folder.
array Folders in the given folder.
===Defined in===
===Defined in===
libraries/joomla/filesystem/folder.php (line 601)
* see source code in [[jplatform:filesystem/folder.php#cl-601|BitBucket]]
===Referenced by===
===Referenced by===
===See also===
===See also===

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::listFolderTree


Lists folder in format suitable for tree display.

Description:JFolder::listFolderTree [Edit Descripton]


Joomla 11.1


public static JFolder::listFolderTree ($path, $filter, $maxLevel=3, $level=0, $parent=0)
Parameter Type Default Description
$path string The path of the folder to read.
$filter string A filter for folder names.
$maxLevel integer 3 The maximum number of levels to recursively read, defaults to three.
$level integer 0 The current level, optional.
$parent integer 0 Unique identifier of the parent folder, if any.


array Folders in the given folder.

Defined in

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

Referenced by

See also

[Edit See Also]



<CodeExamplesForm />