Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
File_Archive_Writer_Files Class Reference
Inheritance diagram for File_Archive_Writer_Files:

Public Member Functions

 File_Archive_Writer_Files ($base= '')
 
 getFilename ($filename)
 
 mkdirr ($pathname)
 
 openFile ($filename, $pos=0)
 
 openFileRemoveBlock ($filename, $pos, $blocks)
 
 newFile ($filename, $stat=array(), $mime="application/octet-stream")
 
 writeData ($data)
 
 newFromTempFile ($tmpfile, $filename, $stat=array(), $mime="application/octet-stream")
 
 close ()
 

Data Fields

 $handle = null
 
 $basePath
 
 $stat = array()
 
 $filename
 

Detailed Description

Writer to files

Definition at line 37 of file Files.php.

Member Function Documentation

close ( )
See Also
File_Archive_Writer::close()

Definition at line 221 of file Files.php.

mkdirr (   $pathname)

Ensure that $pathname exists, or create it if it does not private

Definition at line 70 of file Files.php.

newFile (   $filename,
  $stat = array(),
  $mime = "application/octet-stream" 
)
See Also
File_Archive_Writer::newFile()

Definition at line 174 of file Files.php.

newFromTempFile (   $tmpfile,
  $filename,
  $stat = array(),
  $mime = "application/octet-stream" 
)
See Also
File_Archive_Writer::newFromTempFile()

Definition at line 199 of file Files.php.

openFile (   $filename,
  $pos = 0 
)

Open a file for writing from a given position

Parameters
string$filenameThe name of the file to open
int$posthe initial position in the file
$statthe stats of the file

Definition at line 104 of file Files.php.

openFileRemoveBlock (   $filename,
  $pos,
  $blocks 
)

Open a file for appending after having removed a block of data from it See File_Archive_Reader::makeWriterRemoveBlocks

Definition at line 127 of file Files.php.

writeData (   $data)
See Also
File_Archive_Writer::writeData()

Definition at line 195 of file Files.php.


The documentation for this class was generated from the following file: