Documentation

ProcessFileUploadErrorCondition
in package

Table of Contents

Cases

EmptySourceFile
FileMoveFailure
InvalidExtension
InvalidMimeType
InvalidUploadPath
MimeTypeMismatch
MissingSourceFile
SpecialFile

Methods

i18n()  : string
Translate error condition to users' language.

Cases

Methods

i18n()

Translate error condition to users' language.

public i18n(array<string|int, mixed> $lang) : string
Parameters
$lang : array<string|int, mixed>

Language string mapping (i.e. the global $lang var)

Return values
string

The translated version or the conditions' name if not found in the map

On this page

Search results