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

Class: File_Archive_Writer_Output

Source Location: /File_Archive-0.2.0/File/Archive/Writer/Output.php

Class Overview

File_Archive_Writer
   |
   --File_Archive_Writer_Output

Writer to the standard output


Methods


Inherited Variables

Inherited Methods

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::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 41]
Writer to the standard output

It will concatenate the files that it receive It may send some headers, but will do so only for the first file



[ Top ]


Method Detail

File_Archive_Writer_Output (Constructor)   [line 54]

File_Archive_Writer_Output File_Archive_Writer_Output( [$sendHeaders $sendHeaders = true])


Parameters:

$sendHeaders   $sendHeaders     see the variable

[ Top ]

newFile   [line 61]

void newFile( mixed $filename, [mixed $stat = array()], [mixed $mime = "application/octet-stream"])

  • See: File_Archive_Writer::newFile()

Overrides File_Archive_Writer::newFile() (Create a new file in the writer)
[ Top ]

writeData   [line 72]

void writeData( mixed $data)

  • See: File_Archive_Writer::writeData()

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

writeFile   [line 76]

void writeFile( mixed $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)
[ Top ]


Documentation generated on Thu, 24 Feb 2005 12:50:20 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.