Class

eZFileHandler

class eZFileHandler

Properties

$Name
$FileName
$Mode
$IsBinary
$IsOpen

Methods

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

Initializes the handler.

isOpen()

isBinaryMode()

filename()

mode()

name()

identifier()

exists($filename = false)

isDirectory($filename = false)

isExecutable($filename = false)

isFile($filename = false)

isLink($filename = false)

isReadable($filename = false)

isWriteable($filename = false)

statistics($filename = false)

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

close()

unlink($filename = false)

rename($destinationFilename, $sourceFilename = false)

read($length = false)

write($data, $length = false)

flush()

seek($offset, $whence = SEEK_SET)

rewind()

tell()

eof()

passtrough($closeFile = true)

doOpen($filename, $mode)

doClose()

doSeek($offset, $whence)

doRewind()

doTell()

doEOF()

doPasstrough($closeFile = true)

doRead($length = false)

doWrite($data, $length = false)

doFlush()

error()

errorString()

errorNumber()

duplicate()

Details

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

Initializes the handler.

Parameters

string|bool $handlerIdentifier
string|bool $handlerName

at line 82
public isOpen()

at line 90
public isBinaryMode()

at line 98
public filename()

at line 106
public mode()

at line 115
public name()

at line 124
public identifier()

at line 414
public exists($filename = false)

Parameters

$filename

at line 424
public isDirectory($filename = false)

Parameters

$filename

at line 434
public isExecutable($filename = false)

Parameters

$filename

at line 444
public isFile($filename = false)

Parameters

$filename

Parameters

$filename

at line 464
public isReadable($filename = false)

Parameters

$filename

at line 474
public isWriteable($filename = false)

Parameters

$filename

at line 484
public statistics($filename = false)

Parameters

$filename

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

Parameters

$filename
$mode
$binaryFile

at line 542
public close()

Parameters

$filename

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

Parameters

$destinationFilename
$sourceFilename

at line 607
public read($length = false)

Parameters

$length

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

Parameters

$data
$length

at line 662
public flush()

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

Parameters

$offset
$whence

at line 695
public rewind()

at line 709
public tell()

at line 722
public eof()

at line 737
public passtrough($closeFile = true)

Parameters

$closeFile

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

Parameters

$filename
$mode

at line 763
public doClose()

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

Parameters

$offset
$whence

at line 875
public doRewind()

at line 885
public doTell()

at line 895
public doEOF()

at line 905
public doPasstrough($closeFile = true)

Parameters

$closeFile

at line 920
public doRead($length = false)

Parameters

$length

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

Parameters

$data
$length

at line 943
public doFlush()

at line 964
public error()

at line 974
public errorString()

at line 983
public errorNumber()

at line 992
public duplicate()