SproutCMS

This is the code documentation for the SproutCMS project

function listFiles()

Lists all files and directories in a resource path.

Usage

array Kohana::listFiles ( string $directory [, boolean $recursive [, string $path ]] );

Authors

Arguments

  1. string $directory
    directory to search
  2. boolean $recursive = FALSE
    list all files to the maximum depth?
  3. string $path = FALSE
    full path to search (used for recursion, *never* set this manually)

Return value

  • array
    filenames and directories