[Archive] element index

Package indexes

All elements
a c e l s t _
_
top
Variable $_compress
Variable $_compress_type
Variable $_file
Variable $_separator
Variable $_tarname
Variable $_temp_tarname
Method _addFile
Method _addList
Method _addString
Method _append
Method _Archive_Tar
Method _cleanFile
Method _close
Method _dirCheck
Check if a directory exists and create it (including parent dirs) if not.
Method _error
Method _extractList
Method _jumpBlock
Method _openAppend
Method _openRead
Method _openReadWrite
Method _openWrite
Method _readBlock
Method _readHeader
Method _readLongHeader
Method _translateWinPath
Method _warning
Method _writeBlock
Method _writeFooter
Method _writeHeader
Method _writeHeaderBlock
Method _writeLongHeader
a
top
Method add
This method add the files / directories that are listed in $p_filelist in the archive. If the archive does not exist it is created.
Method addModify
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.
Method addString
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.
Method Archive_Tar
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.
Class Archive_Tar
Archive_Tar in Tar.php
Creates a (compressed) Tar archive
Constant ARCHIVE_TAR_ATT_SEPARATOR
c
top
Method create
This method creates the archive file and add the files / directories that are listed in $p_filelist.
Method createModify
This method creates the archive file and add the files / directories that are listed in $p_filelist.
e
top
Method extract
Method extractInString
This method extract from the archive one file identified by $p_filename.
Method extractList
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.
Method extractModify
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.
l
top
Method listContent
s
top
Method setAttribute
This method set specific attributes of the archive. It uses a variable
t
top
Page Tar.php
Tar.php in Tar.php
a c e l s t _