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($label = null, $multiple = false)
No description
void
attached($form)
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
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?
Details
at line 28
__construct($label = null, $multiple = false)
No description
at line 45
protected void
attached($form)
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
at line 61
void
loadHttpData()
Loads HTTP data.
at line 74
string
getHtmlName()
Returns HTML name of control.
at line 84
IControl
setValue($value)
internal |
No description
at line 94
bool
isFilled()
Has been any file uploaded?
at line 106
bool
isOk()
Have been all files succesfully uploaded?