close [line 240]
extract [line 286]
void extract(
&$writer, [bool
$autoClose = true], [int
$bufferSize = 0], File_Archive_Writer
$writer)
|
|
Sends the whole reader to $writer and close the reader
Parameters:
extractFile [line 332]
void extractFile(
string
$filename,
&$writer, [bool
$autoClose = true], [int
$bufferSize = 0], File_Archive_Writer
$writer)
|
|
Extract only one file (given by the URL)
Parameters:
getData [line 190]
getDataFilename [line 182]
getFileList [line 141]
Returns the list of filenames from the current pos to the end of the source The source will be closed after having called this function This function goes through the whole archive (which may be slow).
If you intend to work on the reader, doing it in one pass would be faster
Overridden in child classes as:
- File_Archive_Reader_ChangeName::getFileList()
getFilename [line 128]
getMime [line 168]
getStandardURL [line 99]
void getStandardURL(
string
$path)
|
|
Returns the standard path
Changes \ to / Removes the .. and . from the URL
Parameters:
getStat [line 162]
makeAppendWriter [line 366]
makeWriterRemove [line 391]
Returns a writer that removes the current file
This is a syntaxic sugar for makeWriterRemoveFiles(new File_Archive_Predicate_Current());
makeWriterRemoveBlocks [line 421]
makeWriterRemoveFiles [line 382]
next [line 48]
remove [line 400]
Removes the current file from the reader
rewind [line 221]
select [line 61]
sendData [line 249]
void sendData(
&$writer, [
$bufferSize = 0])
|
|
Sends the current file to the Writer $writer
The data will be sent by chunks of at most $bufferSize bytes If $bufferSize <= 0 (default), the blockSize option is used
Parameters:
skip [line 201]
tell [line 229]