Function Commandr_fs->_get_current_dir_contents

Definitions

sources/commandr_fs.php

  • Return the contents of the given directory in $this->commandr_fs (i.e. ls without the fancy bits).
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$dir ?array Null N/A N/A Directory (null: current directory is used)
$full_paths boolean False N/A N/A Whether to use full paths

Return

  • Directory contents (false: failure)
  • Type: ~array
  • Set: N/A
  • Range: N/A