trait Utils

Methods

void
toByteSize(string $NumberLimit)

Convert from '2MByte' to '2000000Byte'

void
getExt(string $fileToUpload)

Get extension from path info

string
getUploadedFileName()

Get filename of uploaded file

bool
getUploadStatus()

Get uploaded status

void
cleanExifInfo()

Clean exif info modification from https://stackoverflow.com/a/38862429/13322576

Details

at line 21
void toByteSize(string $NumberLimit)

Convert from '2MByte' to '2000000Byte'

Parameters

string $NumberLimit

Return Value

void

at line 46
void toUnitSize($bytes)

at line 82
void getExt(string $fileToUpload)

Get extension from path info

Parameters

string $fileToUpload

Return Value

void

at line 93
string getUploadedFileName()

Get filename of uploaded file

Return Value

string

at line 103
bool getUploadStatus()

Get uploaded status

Return Value

bool

at line 113
void cleanExifInfo()

Clean exif info modification from https://stackoverflow.com/a/38862429/13322576

Return Value

void