Search for all

  1. Search 9.5.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
archiver_get_extensions function includes/common.inc Returns a string of supported archive extensions.
archiver_get_info function includes/common.inc Retrieves a list of all available archivers.
Archive_Tar class modules/system/system.tar.inc
Archive_Tar::$buffer_length property modules/system/system.tar.inc
Archive_Tar::$error_object property modules/system/system.tar.inc
Archive_Tar::$_compress property modules/system/system.tar.inc
Archive_Tar::$_compress_type property modules/system/system.tar.inc
Archive_Tar::$_file property modules/system/system.tar.inc
Archive_Tar::$_fmt property modules/system/system.tar.inc Format for data extraction
Archive_Tar::$_ignore_regexp property modules/system/system.tar.inc
Archive_Tar::$_separator property modules/system/system.tar.inc
Archive_Tar::$_tarname property modules/system/system.tar.inc
Archive_Tar::$_temp_tarname property modules/system/system.tar.inc
Archive_Tar::add function modules/system/system.tar.inc This method add the files / directories that are listed in $p_filelist in
the archive. If the archive does not exist it is created.
The method return false and a PEAR error text.
The files and directories listed are only added at the end of the…
Archive_Tar::addModify function 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::addString function modules/system/system.tar.inc This method add a single string as a file at the
end of the existing archive. If the archive does not yet exists it
is created.
Archive_Tar::create function modules/system/system.tar.inc This method creates the archive file and add the files / directories
that are listed in $p_filelist.
If a file with the same name exist and is writable, it is replaced
by the new tar.
The method return false and a PEAR error text.
The $p_filelist…
Archive_Tar::createModify function 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::extract function modules/system/system.tar.inc
Archive_Tar::extractInString function modules/system/system.tar.inc This method extract from the archive one file identified by $p_filename.
The return value is a string with the file content, or NULL on error.
Archive_Tar::extractList function 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::extractModify function modules/system/system.tar.inc This method extract all the content of the archive in the directory
indicated by $p_path. When relevant the memorized path of the
files/dir can be modified by removing the $p_remove_path path at the
beginning of the file/dir path.
While extracting a…
Archive_Tar::listContent function modules/system/system.tar.inc
Archive_Tar::loadExtension function modules/system/system.tar.inc OS independent PHP extension load. Remember to take care
on the correct extension name for case sensitive OSes.
Archive_Tar::setAttribute function 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::setIgnoreList function modules/system/system.tar.inc This method sets the regular expression for ignoring all files and directories
matching the filenames in the array list at import, for example:
$arch->setIgnoreList(array('CVS', '.svn', 'bin/tool'));
Archive_Tar::setIgnoreRegexp function modules/system/system.tar.inc This method sets the regular expression for ignoring files and directories
at import, for example:
$arch->setIgnoreRegexp("#CVS|\.svn#");
Archive_Tar::_addFile function modules/system/system.tar.inc
Archive_Tar::_addList function modules/system/system.tar.inc
Archive_Tar::_addString function modules/system/system.tar.inc
Archive_Tar::_append function modules/system/system.tar.inc
Archive_Tar::_cleanFile function modules/system/system.tar.inc
Archive_Tar::_close function modules/system/system.tar.inc
Archive_Tar::_dirCheck function modules/system/system.tar.inc Check if a directory exists and create it (including parent
dirs) if not.
Archive_Tar::_error function modules/system/system.tar.inc
Archive_Tar::_extractInString function modules/system/system.tar.inc This method extract from the archive one file identified by $p_filename.
The return value is a string with the file content, or null on error.
Archive_Tar::_extractList function modules/system/system.tar.inc
Archive_Tar::_isArchive function modules/system/system.tar.inc
Archive_Tar::_isMaliciousFilename function modules/system/system.tar.inc Detect and report a malicious file name
Archive_Tar::_jumpBlock function modules/system/system.tar.inc
Archive_Tar::_openAppend function modules/system/system.tar.inc
Archive_Tar::_openRead function modules/system/system.tar.inc
Archive_Tar::_openReadWrite function modules/system/system.tar.inc
Archive_Tar::_openWrite function modules/system/system.tar.inc
Archive_Tar::_pathReduction function modules/system/system.tar.inc Compress path by changing for example "/dir/foo/../bar" to "/dir/bar",
rand emove double slashes.
Archive_Tar::_readBlock function modules/system/system.tar.inc
Archive_Tar::_readHeader function modules/system/system.tar.inc
Archive_Tar::_readLongHeader function modules/system/system.tar.inc
Archive_Tar::_tarRecToSize function modules/system/system.tar.inc Convert Tar record size to actual size
Archive_Tar::_translateWinPath function modules/system/system.tar.inc

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.