\SeedDMS_Core_File

Class to represent a user in the document management system

Summary

Methods
Properties
Constants
renameFile()
removeFile()
copyFile()
moveFile()
fileSize()
format_filesize()
parse_filesize()
checksum()
renameDir()
makeDir()
removeDir()
copyDir()
moveDir()
gzcompressfile()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

renameFile()

renameFile( $old,  $new)

Parameters

$old
$new

removeFile()

removeFile( $file)

Parameters

$file

copyFile()

copyFile( $source,  $target)

Parameters

$source
$target

moveFile()

moveFile( $source,  $target)

Parameters

$source
$target

fileSize()

fileSize( $file)

Parameters

$file

format_filesize()

format_filesize( $size,  $sizes)

Parameters

$size
$sizes

parse_filesize()

parse_filesize( $str)

Parameters

$str

checksum()

checksum( $file)

Parameters

$file

renameDir()

renameDir( $old,  $new)

Parameters

$old
$new

makeDir()

makeDir( $path)

Parameters

$path

removeDir()

removeDir( $path)

Parameters

$path

copyDir()

copyDir( $sourcePath,  $targetPath)

Parameters

$sourcePath
$targetPath

moveDir()

moveDir( $sourcePath,  $targetPath)

Parameters

$sourcePath
$targetPath

gzcompressfile()

gzcompressfile( $source,  $level)

Parameters

$source
$level