in file Archive.php, method File_Archive::appender() Create a writer that allows appending new files to an existing archive This function actes as appendToSource with source being the system files $URL can't be null here
appenderFromSource
in file Archive.php, method File_Archive::appenderFromSource() Create a writer that can be used to append files to an archive inside a source
in file MemoryArchive.php, method File_Archive_Writer_MemoryArchive::appendFileData() The subclass must treat the data $data $data is the entire data of the filename $filename $stat is the stat of the file
in file Predicate.php, class File_Archive_Predicate A predicate is an object that can evaluate to true or false depending on the file currently read by a File_Archive_Reader
in file Or.php, class File_Archive_Predicate_Or Evaluates to true iif one at least of the predicates given as constructor parameters evaluate to true
File_Archive_Predicate_TARCompatible
in file Tar.php, class File_Archive_Predicate_TARCompatible A predicate is an object that can evaluate to true or false depending on the file currently read by a File_Archive_Reader
in file Directory.php, method File_Archive_Reader_Directory::File_Archive_Reader_Directory() $directory is the path of the directory that must be read If $maxRecurs is specified, the subdirectories will be read up to a depth of $maxRecurs. In particular, if $maxRecurs == 0, the subdirectories won't be read.
in file Memory.php, method File_Archive_Writer_Memory::getData() Retrieve the concatenated data The value is returned by reference for performance problems, but you should not manually modify it
in file Reader.php, method File_Archive_Reader::getFileList() 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).
in file Gzip.php, method File_Archive_Reader_Gzip::getFilename() Return the name of the single file contained in the archive deduced from the name of the archive (the extension is removed)
in file Bzip2.php, method File_Archive_Reader_Bzip2::getFilename() Return the name of the single file contained in the archive deduced from the name of the archive (the extension is removed)
in file Reader.php, method File_Archive_Reader::getStat() Returns an array of statistics about the file (see the PHP stat function for more information)
in file Archive.php, method File_Archive::isKnownExtension() Check if a file with a specific extension can be read as an archive with File_Archive::read* This function is case sensitive.
in file Reader.php, method File_Archive_Reader::makeAppendWriter() Return a writer that allows appending files to the archive After having called makeAppendWriter, $this is closed and should not be used until the returned writer is closed.
in file Reader.php, method File_Archive_Reader::makeWriterRemoveBlocks() Return a writer that has the same properties as the one returned by makeWriter, but after having removed a block of data from the current file. The writer will append data to the current file no data (other than the block) will be removed
in file Reader.php, method File_Archive_Reader::makeWriterRemoveFiles() Return a writer that has the same properties as the one returned by makeAppendWriter, but after having removed all the files that follow a given predicate.
in file Writer.php, method File_Archive_Writer::newFromTempFile() Create a new file in the writer with the content of the physical file $filename and then unlink $filename.
in file Zip.php, method File_Archive_Reader_Zip::nextWithFolders() Go to next entry in ZIP archive This function may stop on a folder, so it does not comply to the File_Archive_Reader::next specs
in file Archive.php, method File_Archive::predAnd() Predicate that evaluates to the logical AND of the parameters You can add other predicates thanks to the File_Archive_Predicate_And::addPredicate() function
predCustom
in file Archive.php, method File_Archive::predCustom() Custom predicate built by supplying a string expression
predEreg
in file Archive.php, method File_Archive::predEreg() Evaluates to true iif the name of the file follow a given regular expression
predEregi
in file Archive.php, method File_Archive::predEregi() Evaluates to true iif the name of the file follow a given regular expression (case insensitive version)
predExtension
in file Archive.php, method File_Archive::predExtension() Evaluates to true iif the extension of the file is in a given list
in file Archive.php, method File_Archive::predOr() Predicate that evaluates to the logical OR of the parameters You can add other predicates thanks to the File_Archive_Predicate_Or::addPredicate() function
in file Archive.php, method File_Archive::readArchive() Create a reader that will read the single file source $source as a specific archive
readConcat
in file Archive.php, method File_Archive::readConcat() Make the files of a source appear as one large file whose content is the concatenation of the content of all the files
readMemory
in file Archive.php, method File_Archive::readMemory() Contains only one file with data read from a memory buffer
readMulti
in file Archive.php, method File_Archive::readMulti() Contains several other sources. Take care the sources don't have several files with the same filename. The sources are given as a parameter, or can be added thanks to the reader addSource method
in file Archive.php, method File_Archive::removeDuplicatesFromSource() Remove duplicates from a source, keeping the most recent one (or the one that has highest pos in the archive if the files have same date or no date specified)
removeFromSource
in file Archive.php, method File_Archive::removeFromSource() Remove the files that follow a given predicate from the source If URL is null, the files will be removed from the source directly Else, URL must link to a source from which the files will be removed
in file Writer.php, method 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