diff options
author | admin <devnull@localhost> | 2006-10-23 22:18:34 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-23 22:18:34 +0200 |
commit | e85c05d6999e07b19d4691b81e0680c4e56973a8 (patch) | |
tree | e4cbc4bad544a59c2d38eb2f09991b9093d3be08 /user_guide/helpers | |
parent | 5725a40301b3aceab1b838e33d003ecaf7ab113e (diff) |
Diffstat (limited to 'user_guide/helpers')
-rw-r--r-- | user_guide/helpers/file_helper.html | 4 |
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>
|