Lines Matching full:file
26 * Open an existing archive file for reading
28 * @param string $file
31 abstract public function open($file); argument
39 * Reopen the file with open() again if you want to do additional operations
49 …* found in the archive file, similar to the --strip-components feature of GNU tar. This is trigger…
60 …* The archive is closed afterwards. Reopen the file with open() again if you want to do additional…
72 * Create a new archive file
74 * If $file is empty, the archive file will be created in memory
76 * @param string $file
78 abstract public function create($file = ''); argument
81 * Add a file to the current archive using an existing file in the filesystem
83 * @param string $file path to the original file
87 abstract public function addFile($file, $fileinfo = ''); argument
90 * Add a file to the current archive using the given $data as content
93 * @param string $data binary content of the file to add
99 * Close the archive, close all file handles
117 * let the library work on the new file directly.
119 * @param string $file
121 abstract public function save($file); argument
124 * Set a callback function to be called whenever a file is added or extracted.