[ Index ] |
|
Code source de XOOPS 2.0.17.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 714 lignes (20 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
tar:: (19 méthodes):
tar()
__computeUnsignedChecksum()
__parseNullPaddedString()
__parseTar()
__readTar()
__generateTAR()
openTAR()
appendTar()
getFile()
getDirectory()
containsFile()
containsDirectory()
addDirectory()
addFile()
removeFile()
removeDirectory()
saveTar()
toTar()
toTarOutput()
tar() X-Ref |
Class Constructor -- Does nothing... |
__computeUnsignedChecksum($bytestring) X-Ref |
Computes the unsigned Checksum of a file's header to try to ensure valid file param: string $bytestring |
__parseNullPaddedString($string) X-Ref |
Converts a NULL padded string to a non-NULL padded string param: string $string return: string |
__parseTar() X-Ref |
This function parses the current TAR file return: bool always TRUE |
__readTar($filename='') X-Ref |
Read a non gzipped tar file in for processing. param: string $filename full filename return: bool always TRUE |
__generateTAR() X-Ref |
Generates a TAR file from the processed data return: bool always TRUE |
openTAR($filename) X-Ref |
Open a TAR file param: string $filename return: bool |
appendTar($filename) X-Ref |
Appends a tar file to the end of the currently opened tar file. param: string $filename return: bool |
getFile($filename) X-Ref |
Retrieves information about a file in the current tar archive param: string $filename return: string FALSE on fail |
getDirectory($dirname) X-Ref |
Retrieves information about a directory in the current tar archive param: string $dirname return: string FALSE on fail |
containsFile($filename) X-Ref |
Check if this tar archive contains a specific file param: string $filename return: bool |
containsDirectory($dirname) X-Ref |
Check if this tar archive contains a specific directory param: string $dirname return: bool |
addDirectory($dirname) X-Ref |
Add a directory to this tar archive param: string $dirname return: bool |
addFile($filename, $binary = false) X-Ref |
Add a file to the tar archive param: string $filename param: boolean $binary Binary file? return: bool |
removeFile($filename) X-Ref |
Remove a file from the tar archive param: string $filename return: bool |
removeDirectory($dirname) X-Ref |
Remove a directory from the tar archive param: string $dirname return: bool |
saveTar() X-Ref |
Write the currently loaded tar archive to disk return: bool |
toTar($filename,$useGzip) X-Ref |
Saves tar archive to a different file than the current file param: string $filename param: bool $useGzip Use GZ compression? return: bool |
toTarOutput($filename,$useGzip) X-Ref |
Sends tar archive to stdout param: string $filename param: bool $useGzip Use GZ compression? return: string |
Généré le : Sun Nov 25 11:44:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |