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

Class: File_Archive_Writer_Multi

Source Location: /File_Archive-1.0.0/File/Archive/Writer/Multi.php

Class Overview

File_Archive_Writer
   |
   --File_Archive_Writer_Multi

Write to several writers


Variables

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 38]
Write to several writers


[ Top ]


Class Variables

$b =

[line 44]


Type:   mixed


[ Top ]



Method Detail

File_Archive_Writer_Multi (Constructor)   [line 46]

File_Archive_Writer_Multi File_Archive_Writer_Multi( &$a, &$b)


Parameters:

   &$a   — 
   &$b   — 

[ Top ]

close   [line 103]

void close( )

  • See: File_Archive_Writer::close()

Overrides File_Archive_Writer::close() (Close the writer, eventually flush the data, write the footer...)
[ Top ]

newFile   [line 55]

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

  • See: File_Archive_Writer::newFile()

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

Parameters:

   $filename   — 
   $stat   — 
   $mime   — 

[ Top ]

writeData   [line 71]

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 87]

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 14:21:14 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.