Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

getFolderContents()

Description

Find the files present in a folder, and sub-folder.

@access public

Parameters

ColumnTypeDefaultDescription
$path string The path to look into.
$recurse boolean true Trigger the recursion, default to True.
$include_hidden boolean false Trigger the listing of hidden files / hidden directories, default to False.

Return

array A list of files present in the inspected folder (paths are relative to the inspected folder path).

This article was last updated 25th November 2020 05:35 Europe/London time based on the source file dated 18th November 2020 08:15 Europe/London time.