Hierarchy

Expanded class hierarchy of Archive_Tar

File

core/modules/system/system.tar.inc, line 106

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
Archive_Tar::$buffer_length protected property
Archive_Tar::$error_object public property
Archive_Tar::$_compress public property
Archive_Tar::$_compress_type public property
Archive_Tar::$_file public property
Archive_Tar::$_fmt public property Format for data extraction
Archive_Tar::$_ignore_regexp public property
Archive_Tar::$_separator public property
Archive_Tar::$_tarname public property
Archive_Tar::$_temp_tarname public property
Archive_Tar::add public function 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 public function 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 public function 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 public function 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 public function 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 public function
Archive_Tar::extractInString public function 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 public function 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 public function 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 public function
Archive_Tar::loadExtension public static function OS independent PHP extension load. Remember to take care on the correct extension name for case sensitive OSes.
Archive_Tar::setAttribute public function 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 public function 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 public function This method sets the regular expression for ignoring files and directories at import, for example: $arch->setIgnoreRegexp("#CVS|\.svn#");
Archive_Tar::_addFile public function
Archive_Tar::_addList public function
Archive_Tar::_addString public function
Archive_Tar::_cleanFile public function
Archive_Tar::_close public function
Archive_Tar::_error public function
Archive_Tar::_extractInString private function 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::_isArchive public function
Archive_Tar::_isMaliciousFilename private function Detect and report a malicious file name
Archive_Tar::_jumpBlock public function
Archive_Tar::_openRead public function
Archive_Tar::_openReadWrite public function
Archive_Tar::_openWrite public function
Archive_Tar::_readBlock public function
Archive_Tar::_readHeader public function
Archive_Tar::_readLongHeader public function
Archive_Tar::_tarRecToSize private function Convert Tar record size to actual size
Archive_Tar::_warning public function
Archive_Tar::_writeBlock public function
Archive_Tar::_writeFooter public function
Archive_Tar::_writeHeader public function
Archive_Tar::_writeHeaderBlock public function
Archive_Tar::_writeLongHeader public function
Archive_Tar::__construct public function Archive_Tar Class constructor. This flavour of the constructor only declare a new Archive_Tar object, identifying it by the name of the tar file. If the compress argument is set the tar will be read or created as a gzip or bz2 compressed TAR file.
Archive_Tar::__destruct public function