summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/helpers/file_helper.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/user_guide/helpers/file_helper.html b/user_guide/helpers/file_helper.html
index d51906d99..cbbf810a8 100644
--- a/user_guide/helpers/file_helper.html
+++ b/user_guide/helpers/file_helper.html
@@ -129,6 +129,10 @@ Code Igniter uses a front controller so paths are always relative to the main si
<p class="important"><strong>Note:</strong> The files must be writable or owned by the system in order to be deleted.</p>
+<h2>get_filenames('<var>path/to/directory/</var>')</h2>
+
+<p>Takes a server path as input and returns an array containing the names of all files contained within it. The file path
+can optionally be added to the file names by setting the second parameter to TRUE.</p>
</div>