public function Archive_Tar::_error in Drupal 7
Parameters
string $p_message:
21 calls to Archive_Tar::_error()
- Archive_Tar::addModify in modules/
system/ system.tar.inc - 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…
- Archive_Tar::createModify in modules/
system/ system.tar.inc - 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…
- Archive_Tar::extractList in modules/
system/ system.tar.inc - 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…
- Archive_Tar::setAttribute in modules/
system/ system.tar.inc - 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, ',');
- Archive_Tar::_addFile in modules/
system/ system.tar.inc
File
- modules/
system/ system.tar.inc, line 803
Class
Code
public function _error($p_message) {
// Drupal change $this->error_object = $this->raiseError($p_message).
throw new Exception($p_message);
}