Function __global->tar_extract_to_folder

Definitions

sources/tar.php

  • Extract all the files in the specified TAR file to the specified path.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$resource array required parameter N/A N/A The TAR file handle
$path PATH required parameter N/A N/A The path to the folder to extract to, relative to the base directory
$use_afm boolean False N/A N/A Whether to extract via the AFM (assumes AFM has been set up prior to this function call)
$files ?array Null N/A N/A The files to extract (null: all)
$comcode_backups boolean False N/A N/A Whether to take backups of Comcode pages
$report_errors boolean True N/A N/A Whether to report errors