FileWrapper
class FileWrapper
Wrapper class for File
Methods
string
getExt(
string $file)
Helper wrapper method for getExt
string
stripExt(
string $file)
Helper wrapper method for stripExt
string
makeSafe(
string $file)
Helper wrapper method for makeSafe
boolean
copy(
string $src,
string $dest,
string $path = null,
boolean $use_streams = false)
Helper wrapper method for copy
boolean
delete(
mixed $file)
Helper wrapper method for delete
boolean
move(
string $src,
string $dest,
string $path = '',
boolean $use_streams = false)
Helper wrapper method for move
mixed
read(
string $filename,
boolean $incpath = false,
integer $amount,
integer $chunksize = 8192,
integer $offset)
Helper wrapper method for read
boolean
write(
string $file,
string $buffer,
boolean $use_streams = false)
Helper wrapper method for write
boolean
upload(
string $src,
string $dest,
boolean $use_streams = false)
Helper wrapper method for upload
boolean
exists(
string $file)
Helper wrapper method for exists
string
getName(
string $file)
Helper wrapper method for getName
Details
boolean
copy(
string $src,
string $dest,
string $path = null,
boolean $use_streams = false)
Helper wrapper method for copy
boolean
move(
string $src,
string $dest,
string $path = '',
boolean $use_streams = false)
Helper wrapper method for move
mixed
read(
string $filename,
boolean $incpath = false,
integer $amount,
integer $chunksize = 8192,
integer $offset)
Helper wrapper method for read
boolean
write(
string $file,
string $buffer,
boolean $use_streams = false)
Helper wrapper method for write