Lines Matching defs:file
26 * Open an existing archive file for reading
28 * @param string $file
31 abstract public function open($file);
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 triggered when
60 * The archive is closed afterwards. Reopen the file with open() again if you want to do additional operations
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 = '');
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 = '');
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);
124 * Set a callback function to be called whenever a file is added or extracted.