Function __global->afm_delete_directory

Definitions

sources/abstract_file_manager.php

  • Delete 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 deleting
$recursive boolean No No False N/A N/A Whether we should recursively delete any child files and directories

Preview

Code (PHP)

/**
 * Delete a directory over the open AFM connection.
 *
 * @param  PATH $basic_path The path to and of the directory we are deleting
 * @param  boolean $recursive Whether we should recursively delete any child files and directories
 */

function afm_delete_directory(string $basic_path, bool $recursive = false)