42 $this->compressionLevel = $cmpLevel;
45 $this->filename =
$file;
52 private function setup7zCommand(
$file ) {
54 $command .= Shell::escape( (
string)$this->compressionLevel ) .
' ';
68 fclose( $this->handle );
69 proc_close( $this->procOpenResource );
72 $command = $this->setup7zCommand( $this->filename );
wfGetNull()
Get a platform-independent path to the null file, e.g.
__construct( $file, $cmpLevel=4)
closeAndRename( $newname, $open=false)
Close the old file, and move it to a specified name.Use this for the last piece of a file written out...
checkRenameArgCount( $newname)
renameOrException( $newname)
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.