File
in package
Around Files
Table of Contents
- getAttToUrl() : string
- Gets all saAtt-Vars as url, needed for Ajax-Tricks
- getExtension() : string
- Get's the extension of jpg, gif, png or webp
- getInput() : string
- Gets a dropzone for the automatic upload and the option to remove it
- renameToRandom() : string
- Get's the extension of jpg, gif or png
Methods
getAttToUrl()
Gets all saAtt-Vars as url, needed for Ajax-Tricks
public
static getAttToUrl( $file, $saAtt, $nPos) : string
Parameters
Return values
string —getExtension()
Get's the extension of jpg, gif, png or webp
public
static getExtension( $file) : string
Parameters
Return values
string —- extension or nothing
getInput()
Gets a dropzone for the automatic upload and the option to remove it
public
static getInput( $strType[, string $strFile = '' ]) : string
Parameters
Return values
string —renameToRandom()
Get's the extension of jpg, gif or png
public
static renameToRandom( $file) : string
Parameters
Return values
string —- extension or nothing