Properties

$_instance

$_instance : 

Type

$dirs_do_not_scanned

$dirs_do_not_scanned : 

Type

$filess_do_not_scanned

$filess_do_not_scanned : 

Type

$info

$info : 

Type

Methods

__construct()

__construct() 

OS_identify()

OS_identify() 

desanitize()

desanitize(  $sanitizedname) 

Parameters

$sanitizedname

sanitize()

sanitize(  $dangerous_filename,   $platform = 'Unix') 

Parameters

$dangerous_filename
$platform

del()

del(  $file) 

Parameters

$file

deltree()

deltree(  $path) 

Parameters

$path

show_human()

show_human(  $a_bytes) 

Parameters

$a_bytes

create_dir_writeable()

create_dir_writeable(  $path,   $perms = "0777") 

Parameters

$path
$perms

create_file()

create_file(  $path,   $contents = NULL, string  $perms = "0777") : boolean

create file

Parameters

$path
$contents
string $perms

Returns

boolean

getRecursiveFiles()

getRecursiveFiles(  $dir,   $fullpath = false) 

Parameters

$dir
$fullpath

get_files_from_dir()

get_files_from_dir(  $workdir,   $files_dont_show_or_extensions = NULL) 

Parameters

$workdir
$files_dont_show_or_extensions

get_dirs_from_dir()

get_dirs_from_dir(  $workdir,   $files_dont_show_or_extensions = NULL) 

Parameters

$workdir
$files_dont_show_or_extensions

smartCopy()

smartCopy(  $source,   $dest,   $options = array('folderPermission' => 511, 'filePermission' => 511)) 

Parameters

$source
$dest
$options

libreOfficePDF()

libreOfficePDF(  $docx, null  $dir = NULL) : string

Parameters

$docx
null $dir

Returns

string —

play with Libreoffice