apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: File_Archive_Writer_Tar

Source Location: /File_Archive-1.5.5/File/Archive/Writer/Tar.php

Class Overview

File_Archive_Writer
   |
   --File_Archive_Writer_Archive
      |
      --File_Archive_Writer_Tar

Write the files as a TAR archive


Variables

Methods


Inherited Variables

Inherited Methods

Class: File_Archive_Writer_Archive

File_Archive_Writer_Archive::File_Archive_Writer_Archive()
File_Archive_Writer_Archive::close()
File_Archive_Writer_Archive::getMime()
File_Archive_Writer_Archive::newFile()

Class: File_Archive_Writer

File_Archive_Writer::close()
Close the writer, eventually flush the data, write the footer...
File_Archive_Writer::newFile()
Create a new file in the writer
File_Archive_Writer::newFileNeedsMIME()
Returns whether the writer newFile function needs the $mime parameter
File_Archive_Writer::newFromTempFile()
Create a new file in the writer with the content of the physical file $filename and then unlink $filename.
File_Archive_Writer::writeData()
Append the specified data to the writer
File_Archive_Writer::writeFile()
Append the content of the physical file $filename to the writer writeFile($filename) must be equivalent to writeData(file_get_contents($filename)) but can be more efficient

Class Details

[line 37]
Write the files as a TAR archive


[ Top ]


Class Variables

$buffer =

[line 39]


Type:   mixed


[ Top ]

$filename =  null

[line 42]


Type:   mixed


[ Top ]

$stats =  null

[line 43]


Type:   mixed


[ Top ]

$useBuffer =

[line 40]


Type:   mixed


[ Top ]



Method Detail

close   [line 187]

void close( )

  • See: File_Archive_Writer::close()

Overrides File_Archive_Writer_Archive::close() (parent method not documented)
[ Top ]

flush   [line 141]

void flush( )


[ Top ]

getMime   [line 225]

void getMime( )

  • See: File_Archive_Writer::getMime()

Overrides File_Archive_Writer_Archive::getMime() (parent method not documented)
[ Top ]

writeData   [line 199]

void writeData( $data)

  • See: File_Archive_Writer::writeData()

Overrides File_Archive_Writer::writeData() (Append the specified data to the writer)

Parameters:

   $data   — 

[ Top ]

writeFile   [line 211]

void writeFile( $filename)

  • See: File_Archive_Writer::writeFile()

Overrides File_Archive_Writer::writeFile() (Append the content of the physical file $filename to the writer writeFile($filename) must be equivalent to writeData(file_get_contents($filename)) but can be more efficient)

Parameters:

   $filename   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:48:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.