class CKunenaUpload


Located at : UKNOWVA_ROOT/components/com_kunena/lib/kunena.upload.class.php

Class to handle file uploads and process the uploaded files.

Methods

__construct()

No description

__destruct()

No description

fail($errormsg)

No description

getStatus()

No description

resetStatus()

No description

setAllowedExtensions($imageExts = array(), $fileExts = array())

No description

setImageResize($size, $maxwidth, $maxheight, $quality)

No description

getFileInfo()

No description

checkFileSize($fileSize)

No description

uploaded($input = 'kattachment')

No description

getValidExtension($validExts)

No description

uploadFile($uploadPath, $input = 'kattachment', $filename = '', $ajax = true)

No description

Details

at line 47
__construct()

at line 63
__destruct()

at line 73
fail($errormsg)

Parameters

$errormsg

at line 78
getStatus()

at line 82
resetStatus()

at line 87
setAllowedExtensions($imageExts = array(), $fileExts = array())

Parameters

$imageExts
$fileExts

at line 94
setImageResize($size, $maxwidth, $maxheight, $quality)

Parameters

$size
$maxwidth
$maxheight
$quality

at line 102
getFileInfo()

at line 125
checkFileSize($fileSize)

Parameters

$fileSize

at line 143
uploaded($input = 'kattachment')

Parameters

$input

at line 148
getValidExtension($validExts)

Parameters

$validExts

at line 173
uploadFile($uploadPath, $input = 'kattachment', $filename = '', $ajax = true)

Parameters

$uploadPath
$input
$filename
$ajax