Function __global->afm_make_directory

Definitions

sources/abstract_file_manager.php

  • Make a directory over the open AFM connection.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$basic_path PATH No No required parameter N/A N/A The path to and of the directory we are making
$world_access boolean No No required parameter N/A N/A Whether world access is required
$recursive boolean No No False N/A N/A Whether we should recursively make any directories that are missing in the given path, until we can make the final directory

Preview

Code (PHP)

/**
 * Make a directory over the open AFM connection.
 *
 * @param  PATH $basic_path The path to and of the directory we are making
 * @param  boolean $world_access Whether world access is required
 * @param  boolean $recursive Whether we should recursively make any directories that are missing in the given path, until we can make the final directory
 */

function afm_make_directory(string $basic_path, bool $world_access, bool $recursive = false)