Warning | |
---|---|
DEPRECATED - This method will be removed in Akeeba Backup for Joomla 10, Akeeba Backup for WordPress 8, and Akeeba Solo 8. Versions of our software released after September 2023 may no longer include this method even if their major version is below those specified in this message. |
Returns the list of subdirectories and directory information for a requested folder. Used to implement directory browsers, e.g. for the output directory.
Available since API version 340.
String. The absolute folder to list. Empty to list the site's root.
Integer. 1 to process folder variables, e.g. [DEFAULT_OUTPUT], in the folder name.
A JSON object with the following keys:
String. The path to the folder.
String. The path to the folder before replacing folder variables.
String. The path to the folder's parent.
Boolean. Does the folder really exist?
Boolean. Is this folder under the site's root? False means that the folder is above the site's root.
Boolean. Is this folder restricted by open_basedir?
Boolean. Is the folder writable?
Array of String. The names of the folder's subdirectories. Does NOT include the current (.) and parent (..) items.
Array of Array. Breadcrumbs leading to the folder. Each breadcrumb has the following keys:
The breadcrumb part to display (name of the breadcrumb folder).
The absolute path to the folder this breadcrumb points to. You can use that as the folder argument in a follow-up browse API call.