Difference between revisions of "JFolder::listFolderTree"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (See also: moving preparation)
(2 intermediate revisions by the same user not shown)
Line 55: Line 55:
===See also===
===See also===
* {{JVer|11.1}} '''JFolder::listFolderTree source code''' on [[jplatform:filesystem/folder.php#cl-601|BitBucket]]
* {{JVer|11.1}} '''JFolder::listFolderTree source code''' on [[jplatform:filesystem/folder.php#cl-601|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::listFolderTree|Other versions of JFolder::listFolderTree]]
* [[API17:JFolder::listFolderTree|Other versions of JFolder::listFolderTree]]
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
Line 73: Line 73:
format= ,,,
format= ,,,
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 20: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::listFolderTree


Lists folder in format suitable for tree display.

Description:JFolder::listFolderTree [Edit Descripton]

public static function listFolderTree (
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.
  • Returns array Folders in the given folder.
  • Defined on line 609 of libraries/joomla/filesystem/folder.php
  • Since Joomla 11.1

See also

SeeAlso:JFolder::listFolderTree [Edit See Also]

User contributed notes

<CodeExamplesForm />