Class

eZCompressionHandler

class eZCompressionHandler extends eZFileHandler

Properties

$Name
$FileName
$Mode
$IsBinary
$IsOpen

Methods

__construct(string|bool $handlerIdentifier = false, string|bool $handlerName = false)

Initializes the handler.

from eZFileHandler
isOpen()

from eZFileHandler
isBinaryMode()

from eZFileHandler
filename()

from eZFileHandler
mode()

from eZFileHandler
name()

from eZFileHandler
identifier()

from eZFileHandler
exists($filename = false)

from eZFileHandler
isDirectory($filename = false)

from eZFileHandler
isExecutable($filename = false)

from eZFileHandler
isFile($filename = false)

from eZFileHandler
isLink($filename = false)

from eZFileHandler
isReadable($filename = false)

from eZFileHandler
isWriteable($filename = false)

from eZFileHandler
statistics($filename = false)

from eZFileHandler
open($filename, $mode, $binaryFile = true)

from eZFileHandler
close()

from eZFileHandler
unlink($filename = false)

from eZFileHandler
rename($destinationFilename, $sourceFilename = false)

from eZFileHandler
read($length = false)

from eZFileHandler
write($data, $length = false)

from eZFileHandler
flush()

from eZFileHandler
seek($offset, $whence = SEEK_SET)

from eZFileHandler
rewind()

from eZFileHandler
tell()

from eZFileHandler
eof()

from eZFileHandler
passtrough($closeFile = true)

from eZFileHandler
doOpen($filename, $mode)

from eZFileHandler
doClose()

from eZFileHandler
doSeek($offset, $whence)

from eZFileHandler
doRewind()

from eZFileHandler
doTell()

from eZFileHandler
doEOF()

from eZFileHandler
doPasstrough($closeFile = true)

from eZFileHandler
doRead($length = false)

from eZFileHandler
doWrite($data, $length = false)

from eZFileHandler
doFlush()

from eZFileHandler
error()

from eZFileHandler
errorString()

from eZFileHandler
errorNumber()

from eZFileHandler
duplicate()

from eZFileHandler
compress($source)

decompress($source)

Details

in eZFileHandler at line 63
public __construct(string|bool $handlerIdentifier = false, string|bool $handlerName = false)

Initializes the handler.

Parameters

string|bool $handlerIdentifier
string|bool $handlerName

in eZFileHandler at line 82
public isOpen()

in eZFileHandler at line 90
public isBinaryMode()

in eZFileHandler at line 98
public filename()

in eZFileHandler at line 106
public mode()

in eZFileHandler at line 115
public name()

in eZFileHandler at line 124
public identifier()

in eZFileHandler at line 414
public exists($filename = false)

Parameters

$filename

in eZFileHandler at line 424
public isDirectory($filename = false)

Parameters

$filename

in eZFileHandler at line 434
public isExecutable($filename = false)

Parameters

$filename

in eZFileHandler at line 444
public isFile($filename = false)

Parameters

$filename

Parameters

$filename

in eZFileHandler at line 464
public isReadable($filename = false)

Parameters

$filename

in eZFileHandler at line 474
public isWriteable($filename = false)

Parameters

$filename

in eZFileHandler at line 484
public statistics($filename = false)

Parameters

$filename

in eZFileHandler at line 500
public open($filename, $mode, $binaryFile = true)

Parameters

$filename
$mode
$binaryFile

in eZFileHandler at line 542
public close()

Parameters

$filename

in eZFileHandler at line 583
public rename($destinationFilename, $sourceFilename = false)

Parameters

$destinationFilename
$sourceFilename

in eZFileHandler at line 607
public read($length = false)

Parameters

$length

in eZFileHandler at line 643
public write($data, $length = false)

Parameters

$data
$length

in eZFileHandler at line 662
public flush()

in eZFileHandler at line 681
public seek($offset, $whence = SEEK_SET)

Parameters

$offset
$whence

in eZFileHandler at line 695
public rewind()

in eZFileHandler at line 709
public tell()

in eZFileHandler at line 722
public eof()

in eZFileHandler at line 737
public passtrough($closeFile = true)

Parameters

$closeFile

in eZFileHandler at line 752
public doOpen($filename, $mode)

Parameters

$filename
$mode

in eZFileHandler at line 763
public doClose()

in eZFileHandler at line 865
public doSeek($offset, $whence)

Parameters

$offset
$whence

in eZFileHandler at line 875
public doRewind()

in eZFileHandler at line 885
public doTell()

in eZFileHandler at line 895
public doEOF()

in eZFileHandler at line 905
public doPasstrough($closeFile = true)

Parameters

$closeFile

in eZFileHandler at line 920
public doRead($length = false)

Parameters

$length

in eZFileHandler at line 930
public doWrite($data, $length = false)

Parameters

$data
$length

in eZFileHandler at line 943
public doFlush()

in eZFileHandler at line 964
public error()

in eZFileHandler at line 974
public errorString()

in eZFileHandler at line 983
public errorNumber()

in eZFileHandler at line 992
public duplicate()

at line 39
public compress($source)

Parameters

$source

at line 47
public decompress($source)

Parameters

$source