package | Default |
---|
__construct(\LimeSurvey\Models\Services\array<string,mixed>|null $post = null, $files = null)
\LimeSurvey\Models\Services\array|null
HTTP File Upload variables. If null, $_FILES is used.
getError(string $fileName,mixed $customMaxSize = null): string|null
string
the name of the posted file
mixed
maximum file upload size
string|null
the error message or null if all checks are ok
redirectOnError(string $fileName,mixed $redirectUrl,mixed $customMaxSize = null)
string
the name of the posted file
mixed
the URL to redirect on failure
mixed
maximum file upload size
renderJsonOnError(string $fileName,array $debugInfo = array(),mixed $customMaxSize = null)
string
the name of the posted file
array
the URL to redirect on failure
mixed
maximum file upload size
post :\LimeSurvey\Models\Services\array<string,mixed>
var | HTTP POST variables |
---|
\LimeSurvey\Models\Services\array
files :\LimeSurvey\Models\Services\array<string,mixed>
var | HTTP File Upload variables |
---|
\LimeSurvey\Models\Services\array