class CFileHelper


Located at : UKNOWVA_ROOT/components/com_community/helpers/file.php

Methods

static True
upload(string $source, string $destination)

Upload a file

static 
getRandomFilename($directory, $filename = '', $extension = '', $length = 11)

No description

Details

at line 18
static True upload(string $source, string $destination)

Upload a file

Parameters

string $source File to upload
string $destination Upload to here

Return Value

True on success

at line 67
static getRandomFilename($directory, $filename = '', $extension = '', $length = 11)

Parameters

$directory
$filename
$extension
$length