Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
12d94c4a
Commit
12d94c4a
authored
Jun 10, 2013
by
Klimov Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc comments at "yii\helpers\base\FileHelper::findFiles()" have been recomposed…
Doc comments at "yii\helpers\base\FileHelper::findFiles()" have been recomposed using markdown format.
parent
3acd77b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
13 deletions
+9
-13
FileHelper.php
framework/yii/helpers/base/FileHelper.php
+9
-13
No files found.
framework/yii/helpers/base/FileHelper.php
View file @
12d94c4a
...
@@ -196,19 +196,15 @@ class FileHelper
...
@@ -196,19 +196,15 @@ class FileHelper
* Returns the files found under the specified directory and subdirectories.
* Returns the files found under the specified directory and subdirectories.
* @param string $dir the directory under which the files will be looked for.
* @param string $dir the directory under which the files will be looked for.
* @param array $options options for file searching. Valid options are:
* @param array $options options for file searching. Valid options are:
* <ul>
* - fileTypes: array, list of file name suffix (without dot). Only files with these suffixes will be returned.
* <li>fileTypes: array, list of file name suffix (without dot). Only files with these suffixes will be returned.</li>
* - exclude: array, list of directory and file exclusions. Each exclusion can be either a name or a path.
* <li>exclude: array, list of directory and file exclusions. Each exclusion can be either a name or a path.
* If a file or directory name or path matches the exclusion, it will not be copied. For example, an exclusion of
* If a file or directory name or path matches the exclusion, it will not be copied. For example, an exclusion of
* '.svn' will exclude all files and directories whose name is '.svn'. And an exclusion of '/a/b' will exclude
* '.svn' will exclude all files and directories whose name is '.svn'. And an exclusion of '/a/b' will exclude
* file or directory '$src/a/b'. Note, that '/' should be used as separator regardless of the value of the DIRECTORY_SEPARATOR constant.
* file or directory '$src/a/b'. Note, that '/' should be used as separator regardless of the value of the DIRECTORY_SEPARATOR constant.
* - level: integer, recursion depth, default=-1.
* </li>
* Level -1 means searching for all directories and files under the directory;
* <li>level: integer, recursion depth, default=-1.
* Level 0 means searching for only the files DIRECTLY under the directory;
* Level -1 means searching for all directories and files under the directory;
* level N means searching for those directories that are within N levels.
* Level 0 means searching for only the files DIRECTLY under the directory;
* level N means searching for those directories that are within N levels.
* </li>
* </ul>
* @return array files found under the directory. The file list is sorted.
* @return array files found under the directory. The file list is sorted.
*/
*/
public
static
function
findFiles
(
$dir
,
array
$options
=
array
())
public
static
function
findFiles
(
$dir
,
array
$options
=
array
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment