Docs Goabase

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
$file :
$saAtt :
$nPos :
Return values
string

getExtension()

Get's the extension of jpg, gif, png or webp

public static getExtension( $file) : string
Parameters
$file :
  • the file with the path
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
$strType :
  • flyer, profile
$strFile : string = ''
  • the file
Return values
string

renameToRandom()

Get's the extension of jpg, gif or png

public static renameToRandom( $file) : string
Parameters
$file :
  • the file with the path
Return values
string
  • extension or nothing

Search results