• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/tar_gz.php
  • Класс: CArchiver
  • Вызов: CArchiver::extractFiles
public function extractFiles($strPath, $vFileList = false)
{
	$this->_arErrors = [];

	$v_list_detail = [];

	$strExtrType = "complete";
	$arFileList = 0;
	if ($vFileList !== false)
	{
		$arFileList = $this->_parseFileParams($vFileList);
		$strExtrType = "partial";
	}

	if ($v_result = $this->_openRead())
	{
		$v_result = $this->_extractList($strPath, $v_list_detail, $strExtrType, $arFileList, '');
		$this->_close();
	}

	return $v_result;
}