Class CMS_tar_file

Description

Class CMS_archive

This script manages TAR/GZIP/BZIP2/ZIP archives

Based on an original script "TAR/GZIP/BZIP2/ZIP ARCHIVE CLASSES 2.0" from Devin Doucette mentionned in copyright

Located in /automne/classes/files/archive-tar.php (line 34)

CMS_grandFather
   |
   --CMS_archive
      |
      --CMS_tar_file
Direct descendents
Class Description
 class CMS_gzip_file Class CMS_archive
Method Summary
 void CMS_tar_file ( $name, string $name,)
 true create_tar ()
 true extract_files ()
 true open_archive ()
Methods
Constructor CMS_tar_file (line 42)

Constructor

void CMS_tar_file ( $name, string $name,)
  • string $name,: the full filename of the archive
  • $name
create_tar (line 57)

Creates compressed file by compressing raw data contained into $this->CMS_archive

  • return: on success, false on failure
true create_tar ()
extract_files (line 113)

Extract files from the archive

  • return: on success
true extract_files ()
open_archive (line 206)

Opens archive by opening/decompressing file

  • return: on success, false on failure
true open_archive ()

Redefined in descendants as:

Inherited Methods

Inherited From CMS_archive

 CMS_archive::CMS_archive()
 CMS_archive::add_data()
 CMS_archive::add_files()
 CMS_archive::create_archive()
 CMS_archive::download_file()
 CMS_archive::exclude_files()
 CMS_archive::list_files()
 CMS_archive::make_list()
 CMS_archive::parse_dir()
 CMS_archive::set_options()
 CMS_archive::sort_files()
 CMS_archive::store_files()

Inherited From CMS_grandFather

 CMS_grandFather::autoload()
 CMS_grandFather::hasError()
 CMS_grandFather::log()
 CMS_grandFather::PHPErrorHandler()
 CMS_grandFather::raiseError()
 CMS_grandFather::setDebug()
 CMS_grandFather::setLog()
 CMS_grandFather::_raiseError()
 CMS_grandFather::__call()
Class Constants

Documentation generated on Wed, 15 Feb 2012 15:28:15 +0100 by phpDocumentor 1.4.3