Function __global->_get_dir_tree
Definitions
sources/abstract_file_manager.php
- Get a list of files under a directory.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $base | PATH | No | No | required parameter | N/A | N/A | The base directory for the search |
| $at | PATH | No | No | Blank (empty string) | N/A | N/A | The directory where we are searching under |
Returns
- An array of directories found under this recursive level
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a list of files under a directory.
*
* @param PATH $base The base directory for the search
* @param PATH $at The directory where we are searching under
* @return array An array of directories found under this recursive level
*/
function _get_dir_tree(string $base, string $at = '') : array
* Get a list of files under a directory.
*
* @param PATH $base The base directory for the search
* @param PATH $at The directory where we are searching under
* @return array An array of directories found under this recursive level
*/
function _get_dir_tree(string $base, string $at = '') : array

