close [line 220]
extract [line 262]
void extract(
&$writer, [bool
$autoClose = true], [int
$bufferSize = 102400], File_Archive_Writer
$writer)
|
|
Sends the whole reader to $writer and close the reader
Parameters:
extractFile [line 307]
void extractFile(
string
$filename,
&$writer, [bool
$autoClose = true], [int
$bufferSize = 8192], File_Archive_Writer
$writer)
|
|
Extract only one file (given by the URL)
Parameters:
getData [line 180]
getDataFilename [line 172]
getFileList [line 131]
getFilename [line 118]
getMime [line 158]
getStandardURL [line 95]
void getStandardURL(
string
$path)
|
|
Returns the standard path
Changes \ to / Removes the .. and . from the URL
Parameters:
getStat [line 152]
makeAppendWriter [line 341]
makeWriterRemove [line 366]
Returns a writer that removes the current file
This is a syntaxic sugar for makeWriterRemoveFiles(new File_Archive_Predicate_Current());
makeWriterRemoveBlocks [line 396]
makeWriterRemoveFiles [line 357]
next [line 48]
remove [line 375]
Removes the current file from the reader
rewind [line 211]
select [line 61]
bool select(
string
$filename, [bool
$close = true])
|
|
Move to the next file whose name is in directory $filename or is exactly $filename
Overridden in child classes as:
- File_Archive_Reader_Uncompress::select()
Parameters:
sendData [line 228]
void sendData(
&$writer, [
$bufferSize = 102400])
|
|
Sends the current file to the Writer $writer
The data will be sent by chunks of at most $bufferSize bytes
Parameters:
skip [line 191]