Function Commandr_fs->listing
Definitions
sources/commandr_fs.php
- Return a directory and file listing of the current working directory. Equivalent to Unix "ls".
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$dir | ?array | Null | N/A | N/A | An alternate directory in which to perform the action (null: current directory is used) |
Return
- Directories and files in the current working directory
- Type: array
- Set: N/A
- Range: N/A