PHP Class rex_backup_tar, redaxo

Diese Subklasse fixed ein paar Bugs gegenüber der original Implementierung und erhoeht die Performanz
See also: http://www.mkssoftware.com/docs/man4/tar.4.asp
Author: Markus Staab
Inheritance: extends tar
Show file Open project: redaxo/redaxo

Public Methods

Method Description
__construct ( ) constructor to omit warnings
addDirectory ( $dirname ) Add a directory to this tar archive
addFile ( $filename ) Add a file to the tar archive
extractTar ( )
getMessages ( )
openTAR ( $filename ) Open a TAR file
toTar ( $filename, $useGzip ) Saves tar archive to a different file than the current file

Protected Methods

Method Description
__generateTAR ( ) PRIVATE ACCESS FUNCTION
__readTar ( $filename = '' ) PRIVATE ACCESS FUNCTION

Method Details

__construct() public method

constructor to omit warnings
public __construct ( )

__generateTAR() protected method

PRIVATE ACCESS FUNCTION
protected __generateTAR ( )

__readTar() protected method

PRIVATE ACCESS FUNCTION
protected __readTar ( $filename = '' )

addDirectory() public method

Add a directory to this tar archive
public addDirectory ( $dirname )

addFile() public method

Add a file to the tar archive
public addFile ( $filename )

extractTar() public method

public extractTar ( )

getMessages() public method

public getMessages ( )

openTAR() public method

Open a TAR file
public openTAR ( $filename )

toTar() public method

Saves tar archive to a different file than the current file
public toTar ( $filename, $useGzip )