UploadControl
class UploadControl extends BaseControl
Text box and browse button that allow users to select a file to upload to the server.
Constants
VALID |
validation rule |
Methods
__construct(string|object $label = null, bool $multiple = false)
No description
void
loadHttpData()
Loads HTTP data.
string
getHtmlName()
Returns HTML name of control.
bool
isFilled()
Has been any file uploaded?
bool
isOk()
Have been all files succesfully uploaded?
addRule(callable|string $validator, string|object $errorMessage = null, $arg = null)
No description
Details
at line 30
__construct(string|object $label = null, bool $multiple = false)
No description
at line 48
void
loadHttpData()
Loads HTTP data.
at line 57
string
getHtmlName()
Returns HTML name of control.
at line 67
IControl
setValue(mixed $value)
internal |
No description
at line 76
bool
isFilled()
Has been any file uploaded?
at line 87
bool
isOk()
Have been all files succesfully uploaded?
at line 98
BaseControl
addRule(callable|string $validator, string|object $errorMessage = null, $arg = null)
No description