You are here

public function ArchiveTar::_error in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar::_error()

Parameters

string $p_message:

21 calls to ArchiveTar::_error()
ArchiveTar::addModify in core/lib/Drupal/Core/Archiver/ArchiveTar.php
This method add the files / directories listed in $p_filelist at the end of the existing archive. If the archive does not yet exists it is created. The $p_filelist parameter can be an array of string, each string representing a filename or a directory…
ArchiveTar::createModify in core/lib/Drupal/Core/Archiver/ArchiveTar.php
This method creates the archive file and add the files / directories that are listed in $p_filelist. If the file already exists and is writable, it is replaced by the new tar. It is a create and not an add. If the file exists and is read-only or is a…
ArchiveTar::extractList in core/lib/Drupal/Core/Archiver/ArchiveTar.php
This method extract from the archive only the files indicated in the $p_filelist. These files are extracted in the current directory or in the directory indicated by the optional $p_path parameter. If indicated the $p_remove_path can be used in the…
ArchiveTar::setAttribute in core/lib/Drupal/Core/Archiver/ArchiveTar.php
This method set specific attributes of the archive. It uses a variable list of parameters, in the format attribute code + attribute values : $arch->setAttribute(ARCHIVE_TAR_ATT_SEPARATOR, ',');
ArchiveTar::_addFile in core/lib/Drupal/Core/Archiver/ArchiveTar.php

... See full list

File

core/lib/Drupal/Core/Archiver/ArchiveTar.php, line 781

Class

ArchiveTar

Namespace

Drupal\Core\Archiver

Code

public function _error($p_message) {

  // Drupal change $this->error_object = $this->raiseError($p_message).
  throw new \Exception($p_message);
}